Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Database & images


Guest

Recommended Posts

Posted

I have almost 4,000 products (ex. 4,000 thumbs & 4,000 big), and have them split into their own directories to hopefully make them load faster when called. I plan to upload the paths to each directly in the dbase instead of trying to do each individually.

 

How do I get osc to recognize the paths and images? Do I have to change the paths in the the database fields before I upload them? Ex. catalog/images\candles\candles_tb.jpg?

 

Or do I just out the normal path: candles/candles_tb.jpg

 

I can't seem to get it to work to recognize either other than going into admin and manually doing each one.

Posted

It's not a bad idea to separate them for management purposes but I don't see how that would make for faster load times.

 

Just adding the complete path to the segregated images should work.

 

Wouldn't it be candles_th/candles_1.jpg though?

 

Experiment, you'll get it.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted

Hi Alan,

 

It wouldn't speed up the load time since it wouldn't have to search 8000 images to get the right one?

 

I tried putting the images in through just the database, but it doesn't pick them up. Is there a trick to it? Like I said, it seems that the only way to get it to pick them up is to do each one manually through Admin after they are already ftp'd to the site and after they are already put in the database.

 

Suggestions?

Archived

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

×
×
  • Create New...