metafizx Posted November 4, 2006 Posted November 4, 2006 (edited) Hi, I had working images prior to installing mod 'On the Fly' Auto Thumbnailer using GD Library. Now there are no images displayed. I have non-zero width and height entered in the images settings (100x150 pixels). And I did not put any multipliers as suggested for alternative mod. Here is a sample image path that doesn't display. http://www.allinhawaii.com/catalog/product...;w=96&h=150 I believe the configuration.php settings are correct, since it worked without this mod. Any ideas ? thanks in advance. I'm not sure how to troubleshoot the problem. :blink: Edited November 4, 2006 by metafizx Quote
RFunk82 Posted November 4, 2006 Posted November 4, 2006 Hi, I had working images prior to installing mod 'On the Fly' Auto Thumbnailer using GD Library. Now there are no images displayed. I have non-zero width and height entered in the images settings (100x150 pixels). And I did not put any multipliers as suggested for alternative mod. Here is a sample image path that doesn't display. http://www.allinhawaii.com/catalog/product...;w=96&h=150 I believe the configuration.php settings are correct, since it worked without this mod. Any ideas ? thanks in advance. I'm not sure how to troubleshoot the problem. :blink: hm Quote
metafizx Posted November 4, 2006 Author Posted November 4, 2006 hm not sure if you meant to say more here...? can you elaborate...thx. :D Quote
metafizx Posted November 4, 2006 Author Posted November 4, 2006 I've installed a few other mods successfully, not a total noob here...but I have a BIG question, and hopefully it isn't too dumb. How are you supposed to know what to install in the case of "on the fly" auto thumbnailer mod ? there are so many versions, and updates, I have no idea what to install. I put in Nate's v 1.5 and noticed that a lot of the posts about this mod have nothing to do with that particular version. ie. nothing about server cache, or thumbnails directory. Sorry, but it's confusing to me. Can someone point me in the right direction as to what is the best "mod of this mod" to install ? I think that is half my problem. Other than no brain...thx Quote
metafizx Posted November 4, 2006 Author Posted November 4, 2006 I've checked everything I can think of, -GD support is fully enabled -calc image size is ON -image required is ON -configuration.php image path seems correct, (it works without the mod) define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_IMAGES', './images/'); not getting any errors, just no images. Seems like something to do with GD's output is not being displayed. the image's have this path, which seems correct : "http://www.allinhawaii.com/catalog/product_thumb.php?img=./images/flaglongblk.jpg&w=100&h=132" for a simple test, if I rename an existing jpg (to make it "missing") in the ./images folder, I can see that part of it is working because the image's path gets changed to: "http://www.allinhawaii.com/catalog/images/flaglongblk.jpg" (which is what it was prior to the mod). my hair is falling out on this one... :blink: :blink: Quote
metafizx Posted November 4, 2006 Author Posted November 4, 2006 Ok, FIXED it. Hopefully this will help someone else. Since this is a Windows install (didn't think to mention...) The problem is a syntax issue in product_thumb.php all instances of "function_exists" need to be changed as this example: function_exists(imagecreatetruecolor) to function_exists('imagecreatetruecolor') You need to do this with all 7 instances of function_exists and it will work. I was able to see the errors by pasting the image URL into the browser and it showed the problem. :thumbsup: Quote
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.