iNko Posted April 15, 2012 Share Posted April 15, 2012 Hi, idk what to write in google for this, so ill try to explain it here so that maybe someone would point me in the right direction on what i should look for.. so i have two image folders, 1st folder with thumbnails, 2nd with original sized images. basically what i want is : Load thumbnails on page -> click on thumbnail = popup new window with original sized image i have done the 'load thumbnails from folder' part, but i cant even click on them (nothing happens when i hover with mouse on thumbnail). i was thinking adding smth like "<a href=""></a>" to this: echo "<img style='border:thin solid #FFF;margin-top:10px;margin-left:10px;margin-right:10px' src='{$images[$i]}'alt='{$images[$i]}' />"; then i somehow link the 'href' to original sized images folders, but ofc i failed badly.. so yeah, any suggestions on what i should look for would be great, thx in advance. Quote Link to comment Share on other sites More sharing options...
haku Posted April 15, 2012 Share Posted April 15, 2012 <a href="path/to/large/image.jpg"><img src="path/to/small/image.jpg" /></a> Quote Link to comment Share on other sites More sharing options...
iNko Posted April 15, 2012 Author Share Posted April 15, 2012 wow thx, everything works Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.