I wish to display an image on the home page.
I have put the path into the Define Pages Editor, define-main-page.php, and it shows on the preview.
However, on the live shop, all that displays is the html link, not the picture.
What am i doing wrong?
I wish to display an image on the home page.
I have put the path into the Define Pages Editor, define-main-page.php, and it shows on the preview.
However, on the live shop, all that displays is the html link, not the picture.
What am i doing wrong?
kevin_a
A link to the store so we can see the problem would be helpful...
heres the page
https://enterprise.terrassl.net/~cal...php?main_page=
kevin_a
Try using an relative link as opposed to an absolute one.
If you look at my store: https://sicassracing.com/store
I placed the photo with this code:The photo would then be placed in the main images folder inside your store directory.Code:<img src="images/mainlogo.gif" alt="sicassracing.com" width="564" height="492" align="middle" />
Last edited by mikestaps; 15 Oct 2010 at 07:53 PM. Reason: Add where to place photo
I have put the image into the folder 'public_html/images',
and the following in Define Pages Editor, define-main-page.php
<img src="images/index.jpg" width="564" height="492" />
but still no joy
kevin_a
Sorry man that was the extent of the help I could give you... It may be because you are using a shared SSL. I had a ton of issues during setup while using a shared SSL. Plus your own SSL offers customers the security of your URL in the address bar...
Possibly try putting the file in your "store"/images directory.
This is the directory for my image:
/public_html/store/images
with /public_html/store/ being the directory where all of my store files are.
I do not have an intermediate folder on my server files, its just public_html/images
kevin_a
OK
For anyone else struggling with this!..
the image IS called for in define-main-pages.php, but the link did NOT work when i put it in using the Stockroom Define Pages Editor .
However, when I edited the define-main-pages.php locally, using the SAME code that failed in the Stockroom editor, and uploaded the define-main-pages.php to the server (preferably in an override folder) as in
includes/languages/english/html_includes/mytemplate/define_main_page.php
the image display then worked fine.
Theres something a bit fishy about the Stockroom Define Pages Editor that I do not understand, but I that will have to remain a mystery to me, unless anyone picks this up and can explain it.
kevin_a