MadFly Posted June 28, 2007 Share Posted June 28, 2007 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 More sharing options...
Synook Posted July 26, 2007 Share Posted July 26, 2007 <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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.