loading graphics

greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread

I would like to add some new graphics to my website for each product listed. I currently have books.gif for my books among other files for software, videos, etc. How do I get into the application to see what graphics I already have(books.gif)? Thx, Derek

-- Derek Wilson (gambler@goldinc.com), August 17, 1999



First in your "smart.cfg" file find this line and set to "1" to use "smartadmin.cgi".

$useadmin = 1;

Then show the path to the "demo.db" file.

$resourcedb = "demo.db";

Then set the path for product images.

# Where are the product images? $imageurl = "http://www.foo.com/images";

Then in your "demo.db" file list your items in the order below.

These item should be pipe delimtited. i.e.



-- James L. Farmer (jim@team-blankets.com), August 17, 1999.

Moderation questions? read the FAQ