Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / question about define_main_page

question about define_main_page

Views: 789

Results 1 to 10 of 10
24 May 2011, 3:10 PM
#1
sergiojg avatar

sergiojg

New Zenner

Join Date:
Oct 2004
Posts:
43
Plugin Contributions:
0

question about define_main_page

I want to add an image to the define_main_page.

I tried to add an image like this: <img src=http://www.antiques-expo.com/images/cheques.jpg>

But check the site: https://www.antiques-expo.com

you'll see that i doesn't show the image, it shows the link.

Any idea of how to add an image there ?

24 May 2011, 3:56 PM
#2
coolcarpartsonline avatar

coolcarpartsonline

Totally Zenned

Join Date:
Feb 2008
Posts:
1,386
Plugin Contributions:
0

Re: question about define_main_page

The issue is the link format.

This is the proper way

<img src="http://www.antiques-expo.com/images/cheques.jpg" /> 
24 May 2011, 4:06 PM
#3
sergiojg avatar

sergiojg

New Zenner

Join Date:
Oct 2004
Posts:
43
Plugin Contributions:
0

Re: question about define_main_page

i did but is the same, take a look again on the site.

https://www.antiques-expo.com

24 May 2011, 11:38 PM
#4
sergiojg avatar

sergiojg

New Zenner

Join Date:
Oct 2004
Posts:
43
Plugin Contributions:
0

Re: question about define_main_page

Please somebody help me with this matter. Thanks in advance

24 May 2011, 11:47 PM
#5
haredo avatar

haredo

Totally Zenned

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

Re: question about define_main_page

Try this:

<img src="images/cheques.jpg">

Make sure you have uploaded the cheques.jpg image to the images folder

25 May 2011, 12:43 AM
#6
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: question about define_main_page

The HTML output of your page shows the HTML characters are being written in ASCII. (i.e. < is & lt; and > is & gt; - in the forum a space is needed after the & else the ASCII will not display)

How are adding the image? Are you inputting the HTML using the Text Editor within Zen Cart.

25 May 2011, 3:03 AM
#7
sergiojg avatar

sergiojg

New Zenner

Join Date:
Oct 2004
Posts:
43
Plugin Contributions:
0

Re: question about define_main_page

I tried with the html and text editor but is not working. The Image file is in the right place but is not working.

I don't know what to do.

25 May 2011, 3:11 AM
#8
coolcarpartsonline avatar

coolcarpartsonline

Totally Zenned

Join Date:
Feb 2008
Posts:
1,386
Plugin Contributions:
0

Re: question about define_main_page

Website Rob:

The HTML output of your page shows the HTML characters are being written in ASCII. (i.e. < is & lt; and > is & gt; - in the forum a space is needed after the & else the ASCII will not display)

How are adding the image? Are you inputting the HTML using the Text Editor within Zen Cart.
He has a lot of characters that are encoding wrong in his source file. The has to be something related to the template and the setting in the html_header for passing the page to the browsers.

I have no experience in multilingual websites so I am out.

25 May 2011, 4:36 AM
#9
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: question about define_main_page

CoolCarPartsOnline:

He has a lot of characters that are** encoding wrong** in his source file. The has to be something related to the template and the setting in the html_header for passing the page to the browsers.

I have no experience in multilingual websites so I am out.

The wrong encoding is caused by some misconfiguration in the Spanish language pack he is using.

@sergiojg

Try installing the much improved editor **ckeditor** from the Free Software Add Ons section. Then use the html source to edit the define_main_page

26 May 2011, 1:52 PM
#10
sergiojg avatar

sergiojg

New Zenner

Join Date:
Oct 2004
Posts:
43
Plugin Contributions:
0

Re: question about define_main_page

i installed the new editor but when i add the image on the editor is ok but in the main page show all the html codes, it dosn't show the image.

any other idea ??