mloeffen Posted August 19, 2005 Posted August 19, 2005 Just started this thread to have a page that I can link to in the updated readme. If you want to ask questions or have suggestions for 'On The Fly' Auto Thumbnailer using GD Library, then please do it here. If you are looking for a previous support thread, you can look here. Another thread, which is actually located in the contribution anouncements, you can find here. Cheers, Martijn. Quote
Cancacti Posted August 19, 2005 Posted August 19, 2005 Hoi, Doesn't work with me, it fails to show images. My problem is that I have the site on the root, not in /catalog/. Ive made a catalog/images/thumbnails aswell but that didn't help either. Do I have to make thumbs myself first?. Ive tried to chance the product_thumb but no luck either. I have GD Library 1.60 on my hoster. Any advice? Nathalie Quote
mloeffen Posted August 19, 2005 Author Posted August 19, 2005 (edited) Hoi, Doesn't work with me, it fails to show images. My problem is that I have the site on the root, not in /catalog/. Ive made a catalog/images/thumbnails aswell but that didn't help either. Do I have to make thumbs myself first?. Ive tried to chance the product_thumb but no luck either. I have GD Library 1.60 on my hoster. Any advice? Nathalie <{POST_SNAPBACK}> Thanks for your feedback. As for your problem: it should work, but only since version 2.0 an aditional thumbnail-directory is supported. If you use version 2.1.2 the completely rewritten readme shows two sites where the contribution works for, and at least one store is located within root. This readme is also easier to follow when installing than the readme.txt that was included. Why not use that one? Use the newer contribution-version and give me a link to your site (PM me if you want) and I'll help you out. Edited August 19, 2005 by mloeffen Quote
mloeffen Posted August 19, 2005 Author Posted August 19, 2005 As for your other question: no need to make the thumbnails yourself. After all it is called an auto-thumbnailer ;) Quote
diz Posted August 19, 2005 Posted August 19, 2005 I'm wondering if wouldn't it be better if URLs to images would be outputted as normal links. I mean, not as product_thumb?image.jpg&w=80&h=80 but already to resized image like images/image.jpg.thumb_80x80.jpg. Thumbnails in this case would need to be generated a little bit sooner (when page is requested instead of when image itself is requested) but it has one advantage that I can think of - we would not need to mess with headers, browser and server would take care of it. Quote
Geordiedan Posted August 19, 2005 Posted August 19, 2005 Hi, I've just installed your thumbnailer and it works great for JPEG images - however it refuses to parse my GIFs at all :( The URL for the thumbed images returns a blank box, but it does refer to a valid image. I've tried setting JPEG as GIFs to on, but this generates an error. Do you have any ideas? Dan Quote
Geordiedan Posted August 19, 2005 Posted August 19, 2005 Hi, I've just installed your thumbnailer and it works great for JPEG images - however it refuses to parse my GIFs at all :( The URL for the thumbed images returns a blank box, but it does refer to a valid image. I've tried setting JPEG as GIFs to on, but this generates an error. Do you have any ideas? Dan <{POST_SNAPBACK}> I am such an idiot - folks, make sure you have a thumbnails folder in any subdirectories in your images folder!! :blush: :blush: :blush: Quote
Guest Posted August 21, 2005 Posted August 21, 2005 The thumbnails are the same size as in product_info. Even click enlarge is still the same size. What happen to the original picture. Thanks and sorry for being stupid. Kevin Quote
mloeffen Posted August 21, 2005 Author Posted August 21, 2005 Have you read the installation-section in the readme.html? I noticed a few things: when using http://www.simplyvcd.com/product_thumb.php....jpg&w=90&h=100 it gives the error that the thumbnail could not be displayed cause it contains errors. If you are using a gd-library version < 2.0.1 you should set $use_resampling to false (it's default set to true) in product_thumb.php. In the same file, set $use_truecolor to false (default set to true) for the same reason as above. Did you also edit /catalog/includes/functions/html_output.php according to the readme? Quote
amd64lover Posted August 21, 2005 Posted August 21, 2005 (edited) I have installed this following the instructions in the Read Me file exactly... It still doesnt work for me... In Step 3 it says ..."Note: check this configuration file to make sure the path is set correctly for both your catalog directory *and* your images directory. With this installation-example, the DIR_WS_HTTP_CATALOG value should be '/catalog/' and the DIR_WS_IMAGES value, 'images/'. Notice that it doesn't have a leading '/')!"... When I take out the leading '/', no pictures are displayed on our homepage (www.dasaexoticart.com/osCommerce). When I leave it in there, pictures are displayed, but they are not in the correct proportions. It looks like they are in the proportions set in the Configuration -> My Store -> Images... I am not sure what I am doing wrong, but it doesnt look like any thumbnails are being created... Please Help! Edited August 21, 2005 by amd64lover Quote
mloeffen Posted August 24, 2005 Author Posted August 24, 2005 4 amd64lover his configure.php was fixed and the product_thumb.php was re-uploaded. All works well now. Quote
Rayzak Posted August 26, 2005 Posted August 26, 2005 It is very cool, thank you! One question: how about adding the possibility to create a watermark with whatever image I want? It would be a great feature Quote
aeps Posted August 29, 2005 Posted August 29, 2005 oscommerce-2.2ms2 If you have issues with the admin section and in /catalog/admin/includes/configure.php you have this line here: define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); change it to: define('DIR_WS_CATALOG_IMAGES', '../images/'); then it works with the admin section too. A must have contrib B) Quote
receptiveit Posted August 29, 2005 Posted August 29, 2005 I have just installed auto-thumbnailer and it seems to work terrifically. One thing that I noticed is, in the admin section, whilst editing existing products, osCommerce is complaining about the image not being uploaded, even though it is and a thumbnail is being generated. This sounds like osCommerce is checking for a file which doesn't exist. I am using php5 aF Quote
Guest Posted August 30, 2005 Posted August 30, 2005 Hi, Just installed this and it works only if I change $tn_server_cache = false; If I swicth caching then it wont work (broken thumbnail). My shop is in root without catalog. I have followed the instruction. Can someone show me what other settings I need to change? Thank you. Quote
boxtel Posted August 31, 2005 Posted August 31, 2005 Hi, Just installed this and it works only if I change $tn_server_cache = false; If I swicth caching then it wont work (broken thumbnail). My shop is in root without catalog. I have followed the instruction. Can someone show me what other settings I need to change? Thank you. <{POST_SNAPBACK}> I was struggling with that too. it seems that the thumbnail directory has to be put under the root. So if your images are in "www.site.com/images" and your thumbnail directory is set to "thumb/" then you need to create a subdirectory in the root called "thumb/images". one strange thing I cannot get is that in IE when looking at the properties of the thumbnail I always get : http://www.site.com/product_thumb.php? no parameters are shown there and I believe no browser caching is done whereas in FF it does show the parameters but then with : http://www.site.com/product_thumb.php?img=...es/theimage..... in other words without the thumbnail directory in the reference. Quote Treasurer MFC
boxtel Posted August 31, 2005 Posted August 31, 2005 I was struggling with that too. it seems that the thumbnail directory has to be put under the root. So if your images are in "www.site.com/images" and your thumbnail directory is set to "thumb/" then you need to create a subdirectory in the root called "thumb/images". one strange thing I cannot get is that in IE when looking at the properties of the thumbnail I always get : http://www.site.com/product_thumb.php? no parameters are shown there and I believe no browser caching is done whereas in FF it does show the parameters but then with : http://www.site.com/product_thumb.php?img=...es/theimage..... in other words without the thumbnail directory in the reference. <{POST_SNAPBACK}> it seems that if I use this : $lastModifiedHttpFormat = gmdate('D, d M Y H:i:s',$lastModified ) . ' GMT'; IE seems to cache ok and gives 304 headers, in the original, I could not get rid of the 200 responses. Quote Treasurer MFC
boxtel Posted August 31, 2005 Posted August 31, 2005 it seems that if I use this : $lastModifiedHttpFormat = gmdate('D, d M Y H:i:s',$lastModified ) . ' GMT'; IE seems to cache ok and gives 304 headers, in the original, I could not get rid of the 200 responses. <{POST_SNAPBACK}> the original outputs (in my case) local taipei time and I suspect that IE does not accept any other time but the Gates Microsoft Time. Quote Treasurer MFC
sowens Posted September 1, 2005 Posted September 1, 2005 Having an issue with this great contribution. If I have an image name that has spaces in it and this translates to an image name with%20 in it the thumbnailer creates the error image. eg beleek china mug.jpg is in image src beleek%20china%mug.jpg Any idea of a quick way to get by this apart from renaming all the files and updating all the products, which is not quick. Thank you Regards Sean Quote Sean Owens
sowens Posted September 8, 2005 Posted September 8, 2005 Hi great contribution. One thing I noticed was when I am displaying images that have a space in their name I get the error image showing. They are jpgs and when you look at them in the popup they have %20's in the name. So is there a way by this. Example on this page http://mcevoys.ie/index.php?cPath=83_152&o...533287db89f19b9 Any ideas ? Cheers Sean Quote Sean Owens
xearoth Posted September 12, 2005 Posted September 12, 2005 Hey guys, Just curious if anybody else has this problem. I am using the STS product_info page and so i am using the set of variables they give you to use. I currently have $imagesmall for the image to show up, but then how do you get the hyperlink to work so that the View Larger image link I created, getting it to work anybody know how to do? Quote
Guest Posted September 13, 2005 Posted September 13, 2005 I am looking for a good auto-thumbnail generator and thought that this one might be a good one to try. These two most recent concerns about spaces in the filename and using the STS product_info page are not good. Can anyone provide any insight into these issues? I'm hesitant to use the contribution until these issues are addressed. I would have a tough time explaining these problems to clients. Quote
aarondwyer Posted September 14, 2005 Posted September 14, 2005 I'm getting ERROR where my images are meant to be. Is there anyway of debugging easily to find out what is going on. Previous version <2.0.0 was working ok. Thanks Aaron Quote Aaron Dwyer
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.