• 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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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.

    Thread Starter phillam

    (@phillam)

    I’m done with the changes. Thanks!

    marconipoveda

    (@marconipoveda)

    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 + "&nbsp;&nbsp;<a href='" + url + "' id='TB_FullSize' title='Full Size' target='_blank'>Full Size</a>&nbsp;&nbsp;" + 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!

    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.

    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?

    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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: NextGEN Gallery] Opening full size image in a new window’ is closed to new replies.