phillam
Member
Posted 3 years ago #
Would it be possible to have a setting to open the full size image in a new window instead of the same window? Unless the viewer press the back button, closing the full size image window will cause the viewer to exit the site completely. Please advise on the code changes required to revise this setting.
Have a look at the thickbox.js file, located in ..\wp-content\plugins\nggallery\thickbox\
The code used to generate the 'popup' window is in that file.
Make sure to backup your file before you change anything.
phillam
Member
Posted 3 years ago #
I'm done with the changes. Thanks!
marconipoveda
Member
Posted 3 years ago #
Hi philliam,
Could you give me a had? I've change the line
$("#TB_window").append("<a href='' id='TB_ImageOff' title='Close'><img id='TB_Image' src='"+url+"' width='"+imageWidth+"' height='"+imageHeight+"' alt='"+caption+"'/></a>" + "<div id='TB_caption'>"+caption+"<div id='TB_secondLine'>" + TB_imageCount + " <a href='" + url + "' id='TB_FullSize' title='Full Size' target='_blank'>Full Size</a> " + TB_PrevHTML + TB_NextHTML + "</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div>");
adding as you can see target='_blank' but nothing changed :(
Cheers!
damiano.morosi
Member
Posted 3 years ago #
I have exactly the same problem. it seems that the page doesn't load directly thickbox.js, but instead it loads thickbox_pack.js. Whatever I change in thickbox.js (including links for localization) isn't reflected on the web site.
ericmoreau
Member
Posted 2 years ago #
I'm wondering if this problem is solved yet by anyone. I have a somewhat simular problem. WordPress is displayed in an iframe and when a thumbnail is clicked on I want the image to appear fullsize on my screen. Now it just fills up the smaller iframe.
Anyone?
agatto2@gmail.com
Member
Posted 2 years ago #
Yep i could use the same ---
I might have a go of it if i have the time .
Would be a nice feature for the maker to add into the program though