Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

can't get "on the file thumbnails" working?


Guest

Recommended Posts

Hi, i can't seem to get this contribution working.

 

I've created a sub-directory in /images and admin/images/ called 'thumbnails'

 

Uploaded both product_thumb.php files to correct folders.

 

Inserted code onto both html_output.php output files

 

changed code on admin configure.php

 

And it hasn't made any difference to the thumbnails on the site! (theres no change in thumnail file size, or change of link filenames to thumbnails)

 

The only change ive seen is in the admin page, where i go to edit the products, - the thumnail for each product does not show up, however the filename changes to for example: "

 

product_thumb.php?img=../images/24234.jpg&w=120&h=120"

 

Am i doing something really dumb here?

 

I assume the thumbnail php file converts all my existing images into smaller thumbnails (in terms of filesize) but it aint working!

 

any help would be greatly appreciated

 

many thanks

Link to comment
Share on other sites

I take it that you didn't have the thumbnail contribution installed before. The thumbnailer is triggered in the admin-section, because you wrote down the url of product_thumb which does the thumbnailing. I suggest you get that to work before you try and fix the frontpage of your store (which is still showing pictures) ;)

 

Now see if we can find out what's wrong. Is the image that you gave as an example really there? Type https://www.yourdomain.com/catalog/admin/../images/24234.jpg into your browser and see if it displays the entire picture. If it shows, try the next url:

https://www.yourdomain.com/catalog/admin/pr...jpg&w=120&h=120

If it doesn't show a picture, try clearing your browser-cache and hit Ctrl-F5 within browser afterwards. Still no picture? Disable $tn_browser_cache and $tn_server_cache and see if that makes a difference.

Link to comment
Share on other sites

I hope you read the entire readme, because there's also some instructions that you should edit (or at least verify) your store configuration. Hopefully you've done all that...

 

But it's getting late, so I guess I'll read about that in the morning :D

Edited by mloeffen
Link to comment
Share on other sites

Arrrrrgh, I just woke up when suddenly it hit me. You may have been using version 2.0.0 which contains a bug. Please update to version 2.0.1 if that is the case, or better yet, update to version 2.1.1 which also supports browser-caching of thumbnails and saves you bandwidth and pageloading times.

 

I think this will fix it. Sorry for not thinking about this sooner :blush:

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