Jump to content

Want to make a gallery


MadFly
 Share

Recommended Posts

I want to add a gallery to certain pages, on the page the pictures should be in a thumbnail gallery, and then you must be able to click on a picture to view it in full size...How do i go about making a thumbnailed gallery?i have heard that i must add a table and then add thumbnails to the table... and i have figured it out somewhat... i have added a table, and added a normal 800x600 images in one of the cells, but that is not what i want to do, and that wont work, hoe do i create thumbnails and and one thumbnail in a cell and the next thumbnail in the next cell etc etc and then what do i do to make them open in full size when you click on one of them?

Link to comment
Share on other sites

  • 4 weeks later...
<script type="text/javascript">	function view(image) {		window.open(image);	}</script><table>	<tr>		<td><a onclick="view('image1.jpg')"><img src="image1.jpg" width="40" height="30" /></a></td>		<td><a onclick="view('image2.jpg')"><img src="image2.jpg" width="40" height="30" /></a></td>	</tr>	<tr>		<td><a onclick="view('image3.jpg')"><img src="image3.jpg" width="40" height="30" /></a></td>		<td><a onclick="view('image4.jpg')"><img src="image4.jpg" width="40" height="30" /></a></td>	</tr>	<!-- Etc... --></table>

Try thatEdit: On your website you seem to have a functioning gallery anyway... what is wrong with that one?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...