Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

images in sub folders


azziman

Recommended Posts

Posted

how can i put the images in sub folder i.e. images/hdd/westerndigi.jpg

 

i tried to do this via admin but it says no file is uplaoded. - in the product image field.

no1.jpg
Posted

How did you try to do this via the admin? When you create a new product, it just gives you a browser window and you select the image and it puts in into the images directory.

 

the image directory is set in the configure.php file in the includes directory. If you are going to put all the images in different subdirectories you may need to modify some code. Is there a reason you are doing this?

If I was crafty, this would be a funny signature.

Posted

u know like the fresh install with unreal tournament it refers to the image as: gt_interactive/unreal_tournament.gif

 

what i cant do is set this up for say hard drives? coz it does make maintenace easier

no1.jpg
Posted

another easy way to do it, is to ftp the images to the spots where you need them. when adding the product, just type in the path name, ie foldername/image.whatever

Posted

I use EasyPopulate 2.74 to define image paths. You need to upload your images to the right place then refresh the image paths in the database with EP 2.74. Not an easy method but works for me.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...