Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Where to place picture files?

Where to place picture files?

Locked

Views: 960

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
31 Oct 2009, 7:47 PM
#1
jasonhoward64 avatar

jasonhoward64

New Zenner

Join Date:
Jun 2009
Location:
Saskatchewan, CDN
Posts:
68
Plugin Contributions:
0

Where to place picture files?

Hi everyone,

I'm extremely new to zen cart, but I'm learning more and more each day. I've read the official zen cart manual and looked in the FAQs section and can't seem to figure something out.

I've inserted a bunch of html code in includes\languages\english\html_includes\classic\define_main_page.php. My pictures are not showing up on the main page though. They appear as broken links.

An example of some of the code in my define_main_page.php file is <img src="top.jpg">. Can I place top.jpg in a particular folder so that my picture shows up or do I have to change all image sources so that they look images/top.jpg for example?

Thanks for the help!

31 Oct 2009, 7:51 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Where to place picture files?

To do that would mean you'd have to put your images in your main zen cart folder ... which means you'll end up cluttering that folder needlessly.
It would be better to put them into the /images/ folder or your /includes/templates/YOUR_TEMPLATE_NAME/images folder, and update your IMG tags accordingly.

31 Oct 2009, 8:08 PM
#3
jasonhoward64 avatar

jasonhoward64

New Zenner

Join Date:
Jun 2009
Location:
Saskatchewan, CDN
Posts:
68
Plugin Contributions:
0

Re: Where to place picture files?

Awesome, thanks for the help! You're a god!!!