Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Could use help with html code for images in EZ_Pages

Could use help with html code for images in EZ_Pages

Locked

Views: 834

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
17 Jul 2009, 7:42 PM
#1
btolly avatar

btolly

New Zenner

Join Date:
May 2009
Posts:
59
Plugin Contributions:
0

Could use help with html code for images in EZ_Pages

HI-
Hoping for some help from any html guru's! I created some html code to view an image and listing information within an EZ-Page- works fine with my "localhost" site (see attached image) off of my PC -here is the Code:

<left><a href="http://www.segd.org" target="_blank"><img src="http://localhost/test/images/EZ_Pages_links_logos/SEGD.gif" width="175" height="100" alt="SEGD Logo"></a></left><br /><br />
<a href="http://www.segd.org" target="_blank">SEGD | Society for Environmental Graphic Design</a></div>
<div id="paraB">SEGD is the global community for people who work at the intersection of communication design and the built environment.<br /><br />

But when I take it to my host site the image does not view- just the alt tag. Obviously it has to do with the path which I changed to:

img src="http://www.egresource.com/test/images/EZ_Pages_links_logos/SEGD.gif"

I have tried quite a few options with no success. Let me know if you have any ideas- I would assume it is simple- I just don't know what the correct path should be.

Site Link:
http://www.egresource.com/test/index.php?main_page=page&id=17&chapter=1

Thanks-

17 Jul 2009, 7:46 PM
#2
btolly avatar

btolly

New Zenner

Join Date:
May 2009
Posts:
59
Plugin Contributions:
0

Re: Could use help with html code for images in EZ_Pages

Here's the attachment I mentioned previously..

17 Jul 2009, 11:59 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Could use help with html code for images in EZ_Pages

Your <img src> tag must reference the path properly. That is, the path to where th image resides.

All the while your in dev mode on a local machine, the path will refer to a folder i your hard drive, and the html will compose that bit of script.

Now you take you site live. The html for the ezpage goes with it - and still references the c:drive path - which is a nonsense on a web server.

So... decide where you want to put your images. Then make sure the path leads to them...

18 Jul 2009, 12:01 AM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Could use help with html code for images in EZ_Pages

... and of course... did yo remember to FTP the actual image file to that location... ? (And did you FTP in the correct mode - binary - and is the filenameon the server exactly the same as that in the path... ?

Everything must match up...

18 Jul 2009, 2:59 PM
#5
btolly avatar

btolly

New Zenner

Join Date:
May 2009
Posts:
59
Plugin Contributions:
0

Re: Could use help with html code for images in EZ_Pages

Thanks for the reminders- I had everything right except I had some problems in the path with U/L case. Once I corrected that obviously everything worked as planned.

Thanks again.