Community Add-Ons

Maintainers: serendipityretail
Add file to this package
Top » Images

Add more Images with html
for osCommerce Online Merchant v2.2

This isn't a package just a simple solution for adding images to a product description without changing any files. This is simply adding html into your product description. This way you can add as many pictures you like, whatever size you like, simply and easily without changing any of your files.

All you need to do is add

<img src="www.yourdomain.com/location of your image.gif">

into your description text at the place where you would like your image to appear in the description.

Position your picture in the center of the description by adding <p align="center"></p>

ie <p align="center"><img src="www.yourdomain.com/location of your image.gif"></p>

you could change "center" to left or right for desired position

Add <br> for each line you would like to add before or after your picture.

Resize your pictures simply by changing the height and width values (the numbers represent pixels, remember if you want to resize you need to keep the ratio of width and height, ie in the code below to half the size of the picture the height would be 100 and the width 200).

ie

<img src="images/creditcards.gif" width="400" height="200">



Legend:  Download   Report

Expand All / Collapse All

clickable image (open in new window) donny84 31 Jan 2008  

This is a much nicer way of doing it. This way the person can click the thumbnail and the pic will open in a new window. and is also better for search engine rating :-)

<a href="http://yourdomain.com/picturelocation/picture.jpg" target="_blank"><img src="thumbnail_location/picture.jpg" width="100" height="100" /></a>

W3c standard and SEO cjbloodwyn 12 May 2007  
Add more Images with html serendipityretail 19 Oct 2006