Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

On the Fly Auto Thumbnailer - lost admin images


dianne

Recommended Posts

I'm using the On the Fly auto thumbnailers with GD. It is working perfectly in the "client" side of the site, but in admin the photos are not showing. Can anyone assist me in identifying the problem.

 

I enabled the admin thumbnailing options (steps 11-13), and I'm assuming that is where my problem is. Since most information is simply copied I suspect my problem is with the admin/includes/configure.php. Unfortunately the web interface show the "no image" image beautifully (after I changed the html_output.php file to look at ../images and not images.) I therefore can't tell where its attempting to find the real images.

 

In the configure.php file (admin) we are told to change

 

Find this (25):

 

define('DIR_WS_CATALOG_IMAGES', 'images/');

 

Replace it with this:

 

define('DIR_WS_CATALOG_IMAGES', '../images/');

 

Firstly mine was actually on line 15 and it was:

 

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

So I tried changing 'images/' to '../images', leaving in DIR_WS_CATALOG

Then I copied his line exactly

Since I would like the admin pages to view the thumbnails, I also tried 'images/thumbnails' and '../images/thumbnails'

 

All I get is the "no image.jpg".

 

The Add-on works so beautifully on the client pages, I'd really like to get it to work on admin. Does anyone have any ideas of where I can look for the problem. I'm working on a fresh installation of osCommerce, so I don't think it can be conflicting with anything else.

Link to comment
Share on other sites

Hi Diane, I just figured it out, having the same problem you were.

 

Upload over your admin/product_thumb.php with the one from the catalog side.

 

I just did that and it worked like a charm! Pics all where they should be.

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