green1
Jan 10 2008, 09:50 PM
Hello,
I want to add an image to my content section of my homepage. I am new to php and not completely familiar with the code.
Here is the code that I have so far: define('TEXT_MAIN', '<img src="images/homepageimage.jpg">
What else do I need to add to make the image appear?
Note: The image file is placed in the oscommerce/catalog/images folder with the default images.
Thanks
Arctic Fox
Jan 10 2008, 10:07 PM
define('TEXT_MAIN', '<img src="images/homepageimage.jpg">');
If you want an image directly on the index.php page, can't you just put it there without PHP? That's what I've done on a few pages.
digipete
Jan 10 2008, 10:19 PM
Mike,
There should be an 'images' directory under your 'english' directory.
In other words: 'catalog/includes/languages/english/images'
Put your graphic files there in order for that image tag to work.
Good luck.
Pete
green1
Jan 11 2008, 02:22 PM
thanks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.