Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (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 by metafizx
Posted
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

Posted

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

Posted

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:

Posted

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:

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.

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...