Thickbox in Image Gallery Reloaded Plugin Not Working in Safari (2 posts)

  1. Trozdol
    Posted 5 years ago #


    I think this would go here. I'm using the Image Gallery Reloaded plugin. Seems even before I modified it, the thickbox does not work in webkit based browsers and as far as I know, IE. Works perfectly in Firefox

    I managed to get it to work in Chrome by removing the Closing anchor tags around the image in wp-includes/thickbox/thickbox.js line 135. Now it's...

    jQuery("#TB_window").append("<img id='TB_Image' src='"+url+"' width='"+imageWidth+"' height='"+imageHeight+"' alt='"+caption+"'/>" + "<div id='TB_caption'>"+caption+"<div id='TB_secondLine'>" + TB_imageCount + TB_PrevHTML + TB_NextHTML + "</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='"+thickboxL10n.close+"'><img src='" + tb_closeImage + "' /></a></div>");

    I've been trying everything I can think of to fix this. In Safari the Enlarge button just opens the image in a blank page.

    If anyone could give me some direction that would be much appreciated.


    Plugin Page: http://wordpress.org/extend/plugins/image-gallery-reloaded/

    Site: http://www.phs4j.com/projects/kenco-yard-management-system/

  2. weirdrubikscube
    Posted 5 years ago #

    Hi Trozdol,

    did you manage to fix the bug ?

Topic Closed

This topic has been closed to new replies.

About this Topic