Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] oscThumb


Guest

Recommended Posts

Hello everybody!

 

I just installed this contribution which I believe is great! :thumbsup:

 

It all works 100% except for the image watermark feature: despite I actually enabled "image watermark in pop-up images", no image watermark shows up inside the pop-up image.

All other features, including graphic watermark work fine, without any error messages.

 

Anybody has any idea of what could be wrong with my installation?

 

Thanks a lot and keep up the good work!

 

Mendoh

 

--------------------------------------------------------------------------------------------------------

100% WORKING METHOD ON HOW TO DISPLAY GRAPHIC WATERMARK OVER THE IMAGE:

 

MODIFY \includes\classes\oscThumb.php line 232 like this:

 

$params .= "&fltr[]=wmi|/phpThumb/watermarks/".WATERMARK_IMAGE."|".WATERMARK_IMAGE_POSITION."|".WATERMARK_IMAGE_OPACITY."|".WATERMARK_IMAGE_MARGIN;

--------------------------------------------------------------------------------------------------------

Link to comment
Share on other sites

  • Replies 443
  • Created
  • Last Reply

Top Posters In This Topic

Jorge, I would like to say my heartfelt THANK YOU! :lol:

 

You are definitely right: your suggestion is 100% working! :thumbsup:

 

I modified the code line just as you suggested and right now it is working PERFECTLY on my site!

 

Once again, thank you. :lol:

 

Mendoh

Link to comment
Share on other sites

Hi all,

 

I have a serious problem with PHP OsThumb. I have migrated my os site from a shared server to a a dedicated one, but the products images no longer appear, i only see this message :

 

phpThumb () v1.7.7.....

/home/httpd/vhosts/mydomain.com/httpdocs//images/product012.jpg doesn't exist

Please tell me what do do ??? It's really urgent

Best regards.

 

Celina, it really seems you have one more slash than what is actually needed in your image path on your server. You ought to remove it and see what happens: please check your configure.php (both catalog and admin) files for actual path; it should read ...../mydomain.com/httpdocs/images/product012.jpg, and not ...../mydomain.com/httpdocs//images/product012.jpg

 

Cheers,

 

Mendoh

Link to comment
Share on other sites

I'm slowly getting this to work...

 

but my drop down list to set the image watermark does not list any images. Can someone tell me what all the fields in a database entry (table: configuration record: configuration_id = 190) looks like so I can input it manually?

 

Thanks.

osCommerce is GREAT. When it works...

Link to comment
Share on other sites

Hi again,

 

Now I have another small problem.

 

oscThumb is working great, but when I install the greatlooking contrib Fancy Lightbox Popup

 

http://addons.oscommerce.com/info/5532

 

the watermarking is not working on the popup-image anymore. I guess that has something to do with the

call to the tep_image function. Does anyone have a clue how to include the oscThumb function instead?

I really want to use the watermarks again.

 

clasf

 

 

Same... I'm trying to get them to work together but I honestly haven't a clue where to start with javascript...

 

Anyone know how to make the watermark appear within the lightbox?

osCommerce is GREAT. When it works...

Link to comment
Share on other sites

I have been using this mod for some time and absolutely love it! But I have one question, and maybe I am just missing something here in the setup.

 

I have landscape photos and portrait photos, if I put a portrait picture in the store, without rotating to landscape first, it comes out squashed, is there a way to display portrait photos as portrait size and landscape as landscape size?

 

I would appreciate any assistance with this. Over all, it is an awesome mod!

Link to comment
Share on other sites

I have been using this mod for some time and absolutely love it! But I have one question, and maybe I am just missing something here in the setup.

 

I have landscape photos and portrait photos, if I put a portrait picture in the store, without rotating to landscape first, it comes out squashed, is there a way to display portrait photos as portrait size and landscape as landscape size?

 

I would appreciate any assistance with this. Over all, it is an awesome mod!

 

I have portrait and landscape images... they don't get squashed, the image is resized but keeps the aspect ratio. I can't think why you should find anything else happening, but maybe it's to do with the image size setting? Mine is a square size... perhaps you should try setting yours to a square? Or try turning off features like buttonize etc just in case they're having an effect.

 

Actually, if you have "allow thumbnails larger than original" turned on set it to false. It seems logical that this may be squashing your images if it's enlarging the width but not the height.

 

I can't claim I know much about it, but I figured a reply from someone is better than no reply, right?

Edited by seb1188

osCommerce is GREAT. When it works...

Link to comment
Share on other sites

I have portrait and landscape images... they don't get squashed, the image is resized but keeps the aspect ratio. I can't think why you should find anything else happening, but maybe it's to do with the image size setting? Mine is a square size... perhaps you should try setting yours to a square? Or try turning off features like buttonize etc just in case they're having an effect.

 

Actually, if you have "allow thumbnails larger than original" turned on set it to false. It seems logical that this may be squashing your images if it's enlarging the width but not the height.

 

I can't claim I know much about it, but I figured a reply from someone is better than no reply, right?

 

Thanks! I just over looked that aspect after installing oscThumb, yes, now image size is set to square, and the portrait and landscape thumbs look much better! Much appreciated assistance!

Link to comment
Share on other sites

  • 1 month later...

Can anyone help me, just installed this great contrib putted the tile watermark and cannot change it, if I put center or anything else I get the same tiled watermark, I have changed the fonts, colors and nothing the watermark remains tiled.

 

Thanks a lot

Link to comment
Share on other sites

I was testing locally and oscThumb was working great! the URL for a thumb is

http://localhost/osc/catalog/oscthumb.php?...e389f998a683c6a

this URL will still show me a thumbnail of the image

 

I just deployed it to the web and the URL for a thumb is

http://sub.domain.com/oscthumb.php?src=lMz...e389f998a683c6a

And it will not show a thumbnail but this:

 

**Headers already sent in file "" on line "0", dumping error message as text:**

phpThumb() v1.7.7-200612252156

Headers already sent (phpThumb.php line 431)

 

what did I do wrong with the migration? Does oscThumb have dependencies in the paths in includes/configure.php? :blink:

Link to comment
Share on other sites

I have been using the oscThumbs contrib now for a few months without issue.

Now that I have switched to another hosting server (new provider), the contrib no longer does its stuff. All images are displayed as before adding oscThumb.

I havn't switched on watermarking, so I don't know if it is affected, but the images are no longer compressed before being sent, nor are the filenames modified.

 

The transfer from the old site to the new one was a straight file copy, only I copied the cache files too. So I though maybe clear the cache out, and see if it helps. Nothing has been re-created in the cache since doing this though. The cache permissions are 777. All the .htaccess files seem to be there too.

Other than this, there seems to be no other errors loading any of the site's pages.

 

If anyone can offer some advice, I would be most grateful.

 

The site is www.maxabears.com

 

Thanks,

Hardy.

Link to comment
Share on other sites

I have been using the oscThumbs contrib now for a few months without issue.

Now that I have switched to another hosting server (new provider), the contrib no longer does its stuff. All images are displayed as before adding oscThumb.

I havn't switched on watermarking, so I don't know if it is affected, but the images are no longer compressed before being sent, nor are the filenames modified.

 

The transfer from the old site to the new one was a straight file copy, only I copied the cache files too. So I though maybe clear the cache out, and see if it helps. Nothing has been re-created in the cache since doing this though. The cache permissions are 777. All the .htaccess files seem to be there too.

Other than this, there seems to be no other errors loading any of the site's pages.

 

If anyone can offer some advice, I would be most grateful.

 

The site is www.maxabears.com

 

Thanks,

Hardy.

 

 

OK - Its fixed.

Seems that it must have been a file copy issue during the transfer. I did it again with all BIN mode copies and it seems fine now.

 

Thanks for the great contrib.

Link to comment
Share on other sites

  • 3 weeks later...

Hello everyone I have installed oscthumb and I am very well with this great contribution, but I will validate the site according to the standard w3c and not This contribution will allow me because it adds the character & images, I have tried to replace it with & but doing so you do n't see the images...

Someone has any idea?? Maybe an integration with Ultimate SEO URLs?

Thanks to all :rolleyes:

Antonello

Link to comment
Share on other sites

Hello everyone I have installed oscthumb and I am very well with this great contribution, but I will validate the site according to the standard w3c and not This contribution will allow me because it adds the character & images, I have tried to replace it with & but doing so you do n't see the images...

Someone has any idea?? Maybe an integration with Ultimate SEO URLs?

Thanks to all :rolleyes:

Antonello

OK, I have resolved by putting nooffsitelink_enabled on false. Now I have noticed that the images in PNG not maintain the transparency on versions lower than IE7, while I have seen this contribution that can do: http://addons.oscommerce.com/info/2226! Could you not integrate?

Link to comment
Share on other sites

  • 2 weeks later...

Hi.

 

I need to uninstall the admin side of this contrib - I ran the sql code and had image magic installed too and they show up toggether in admin, messed up. So, i need to uninstall both from admin and install oscThumb again (image magic didn't work, hopefully this contribution will).

 

So, how do I uninstall it? I guess I do it from phpMyAdmin, but how?

 

Thank you.

Link to comment
Share on other sites

Hi again - I managed to uninstal the admin side and installed oscThumb correctly.

Now ... it's not working properly. It doesn't work for any of the images, except one - not a product image, but one fetched to the index page from the coppermine gallery and that with an error: "Error: Invalid hash", showing this path: "http://www.muccelmic.com/oscthumb.php?src=lMTUw-".

All the other images appear very large - the actual size and the path is the original one: http://www.muccelmic.com/images/WAMPOL/Triton_Blue_1.jpg.

 

The same thing was happening with Image Magic - it didn't work except for that one image.

 

What could be wrong? I really like this contrib and I need it...

Link to comment
Share on other sites

  • 2 weeks later...

I installed this and it worked fine. The only thumbs its not working on are the ones in the "What's New" Box & the "New Products for August" Page.

 

Dose any one know how to get it to work with these pages.??

Link to comment
Share on other sites

  • 3 weeks later...

Also got a little Problem....

I have hardcoded images in my descriptions. To thumbnail them too i tried to call them like this

src="http://www.domain.com/oscthumb.php?src=

I put this code into description with str_replace by replacing the original <img src=" with above code.

Unfortunetaly it doenst work because of the hash!

 

anyone has any solution on how to thumb this images without having an hash?

or any other way?

Edited by Sir.K.O.
Link to comment
Share on other sites

  • 1 month later...

After installing osxcthumb, pictures were still distorted a bit. Still checking if the edits were applied correctly, I restored ny DB and removed the three files. But still in admin -> configuration -> thumbnails is still there. Did look in myPhpAdmin. There isn't at table for thumbnails.

 

So am asking if anyone knows why it still resides there?

 

Thank you.

 

blr044

Link to comment
Share on other sites

After installing osxcthumb, pictures were still distorted a bit. Still checking if the edits were applied correctly, I restored ny DB and removed the three files. But still in admin -> configuration -> thumbnails is still there. Did look in myPhpAdmin. There isn't at table for thumbnails.

 

So am asking if anyone knows why it still resides there?

 

Thank you.

 

blr044

 

This has been solved.

Link to comment
Share on other sites

well I installed this contrib. and I see everything is where it should be in the admin panel - turned the master switch on... but I don't know if it's even working. I wanted to install something that would help the image distortion in the thumbs... but as far as I can tell everything looks the same.

 

http://www.themancaveoutletstore.com/store

Yeah Yeah I am learning as I go... lol

Link to comment
Share on other sites

well I installed this contrib. and I see everything is where it should be in the admin panel - turned the master switch on... but I don't know if it's even working. I wanted to install something that would help the image distortion in the thumbs... but as far as I can tell everything looks the same.

 

http://www.themancaveoutletstore.com/store

 

 

just to be clear - I don't want to use the watermark feature - any of the features really... I was simply on a mission to get rid of the distortion... I do like the cache features... maybe I have downloaded the wrong contrib.

 

also to boot I am a newbie lol... well to php anyways.

Yeah Yeah I am learning as I go... lol

Link to comment
Share on other sites

  • 3 weeks later...

Hm, works fine so far :blink: - except the watermarks <_< . I can't select the image file or the watermark font on the config page. Any ideas what could have happened? The watermarks- an cache directory is set to 777. Other ideas to fix the problem? I don't have...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...