Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

geyserltd

Pioneers
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • Real Name
    Gareth Richards

geyserltd's Achievements

  1. Not sure if this is unique to our website or not but could do with some help... The way our website is structured is this: 1. Image is stored in 'images/product_images/[product_code]/ so an example of an image patch would be 'images/product_images/2000/image.jpg' 2. The database stores the product code (i.e. '2000') and the image filename (i.e. 'image.jpg') 3. The front end of the website is written to look up the product code, find the correct image in the database and find the correct product code in the 'images/product_images' folder. This is causing problems when scanning for unused images because the database is showing 'image.jpg' but the scanner is looking for a reference to the full path. Is it possible to modify the code to remove the directories and/or sub-directories from the images stored in $serverfiles so the code will just look for a reference in the database to 'image.jpg' no matter what the sub-directories are?
×
×
  • Create New...