Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

on the fly auto thumbnailer addon - thumbnails not visible


yogeshnaik

Recommended Posts

Hi People, got some issues implementing the thumbnail addon.

 

I'm using this addon ('On The Fly' Auto Thumbnailer using GD Library for v2.3.1):

 

http://addons.oscommerce.com/info/8104/v,23

 

 

 

I followed all the instructions, replaced the tep_image() function as told...

 

Thing is my thumbnails are getting generated in thumbnails folder, but its not visible in my site. I know this will be some path issue, but I'm unable to figure it out...

 

I guess this function displays the image

 

function tep_image()

 

and particularly this line

 

$image = '<img src="product_thumb.php?img=' . $src . '&w=' .

 

I inspected this in firebug and its saying failed to load url...

 

Actually this addon is creating thumbnails with same file name plus the extension.

 

Its like say if I have a file name abc of jpg type in images directory.....it creates thumbnail abc.jpg.thumb_93x130 in images/thumbnails

 

That last number is random.... I guess width and height.

 

any idea what i need to add in this line.. in function tep_image()

 

$image = '<img src="product_thumb.php?img=' . $src . '&w=' .

A man is great by Deeds, not by Birth....

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