Forums / Templates, Stylesheets, Page Layout / How to add image on main page?

How to add image on main page?

Locked

Views: 2,604

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
19 Mar 2008, 5:01 PM
#1
sfklaas avatar

sfklaas

Zen Follower

Join Date:
Mar 2008
Posts:
219
Plugin Contributions:
0

How to add image on main page?

This being my first post and new to zen cart, I have a question that may be simple for most of you. I attempted to add an image on my main page, .../define_main_page.php. I think I add the correct code

<IMG SRC="image.jpg" WIDTH="41" HEIGHT="41" BORDER="0">

But it doesn't display the image (just the no image icon). Which folder do I need to upload the image so it can find the source. Also, do I need to add anything to the code like typing where the source file is? Or is there a much easier way than all of this.

Thanks,
Steve

19 Mar 2008, 5:14 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,187
Plugin Contributions:
0

Re: How to add image on main page?

Sf,
When adding images to your pages outside of admin panel, you half to do this

  1. use your ftp program
  2. upload your image to the following folder
  3. includes/ images
  4. :smile:
  5. all lower case, with no spaces
  6. EX: image.jpg
    EX: image_house_001.gif

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

19 Mar 2008, 5:20 PM
#3
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: How to add image on main page?

haredo:

Sf,
When adding images to your pages outside of admin panel, you half to do this

  1. use your ftp program
  2. upload your image to the following folder
  3. includes/ images
  4. :smile:
  5. all lower case, with no spaces
  6. EX: image.jpg
    EX: image_house_001.gif

Once you have your image uploaded to your images folder using the steps above, simply use a link such as this..

<IMG SRC="http://www.yourdomain.com/images/image.jpg" WIDTH="41" HEIGHT="41" BORDER="0">
19 Mar 2008, 6:05 PM
#5
sfklaas avatar

sfklaas

Zen Follower

Join Date:
Mar 2008
Posts:
219
Plugin Contributions:
0

Re: How to add image on main page?

Thanks guys, big help! I figured it out!

19 Mar 2008, 7:36 PM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,187
Plugin Contributions:
0

Re: How to add image on main page?

Sf,
You are most welcome, and thanks for the reply back that your problem was fixed.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

28 Jun 2008, 1:40 PM
#7
shakur96 avatar

shakur96

New Zenner

Join Date:
Jan 2008
Posts:
36
Plugin Contributions:
0

Re: How to add image on main page?

Just need to resuurect this thread to ask a quick question. Ive added a image to my main page by adding a line to define_main_page.php.

I just need that iamge centered, What is the easiest way of doing this?

Please help! this ones driving me nuts!