Looks nice. Do you think it’s also possible to add an option to open the full size image in a new file instead of pointing to the jpeg? For instance a popupwindow or a picture.php file of some sort in which the jpg will be placed so that I can add some kind of markup and style to how that full-size image is displayed?
Thread Starter
fredcz
(@fredcz)
Yes, you can edit JavaScript function getTheCode(imgid) as you want. For example you can change Link to thumb:
<code> htmlCode = "<a href="" + imgid.abs_path.value + imgid.relpath.value + imgid.thumbprefix.value + imgid.file.value + """ + imgtitle + ">"+imgid.thumbprefix.value + imgid.file.value +"</a>";
to someting like this:
<code>htmlCode = "<a href="picture.php?myimg=" + imgid.abs_path.value + imgid.relpath.value + imgid.thumbprefix.value + imgid.file.value + """ + imgtitle + ">"+imgid.thumbprefix.value + imgid.file.value +"</a>";
Maybe that I’ll add something like this in the future version, but it is not too easy combine PHP and JS:o(