Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

sample image galley


edmond1815

Recommended Posts

Hello,

I want to implement a sample image gallery in my osccomerce store.

I have a section box (clone after shipping box), where a customer enter, and on main page see pictures from the factory.

Now these pictures are big one by one width (main width).

I want to put a few rows with thumbs, and if an user click it on it diplay under these row big picture.

I tried to implement these code, but every clik the page are reloaded again, and i have a flash banner, wich is reloaded, reloaded and this is a problem.

How can i do that in simple way :-), without reload the page.

Click - display.

 

Thank you very much

 

THE CODE:

 

<?php

 

$poza=$_REQUEST['poza'];

if ($poza=='') {

$poza='cora.jpg';

}

?>

 

 

<td rowspan="2" valign="top"><a href="centre.php?poza=cora.jpg"><img src="images/mici/cora.jpg" alt="cora.jpg" width="166" height="131" border="0" /></a></td>

<td></td>

<td rowspan="2" valign="top"><a href="centre.php?poza=cora2.jpg"><img src="images/mici/cora2.jpg" alt="cora2.jpg" width="166" height="131" border="0" /></a></td>

<td></td>

<td rowspan="2" valign="top"><a href="centre.php?poza=cora3.jpg"><img src="images/mici/cora3.jpg" alt="cora3.jpg" width="166" height="131" border="0" /></a></td>

<td></td>

<input type="image" name="imageField" id="imageField" src="

 

<?php

echo 'images/'.$poza;

?>

"/>

</label></td>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...