Jump to content

Loading images from 2 folders (need help on how to form a right question)


iNko

Recommended Posts

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.

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.