Forums

Firefox downloads images instead of lightbox (4 posts)

  1. tomchen
    Member
    Posted 1 year ago #

    when using firefox for kpicasa plugin and lightbox as the method to display images, if the thumbnails havent finished loading you get a download prompt instead of lightbox when you click on the thumbnails.

    Ive also posted in http://wordpress.org/support/topic/147260?replies=3
    looks like there was a solution but wasnt posted.

    Did anyone else experience this? Any help is appreciated. Thanks.

  2. kag
    Member
    Posted 1 year ago #

    This issue has been discussed on the kPicasa website. I'm writing this so other people who are having the same issue won't be completely left alone.

    This is how Lightbox works, as far as I know, there's nothing I can do about it. I suggest you switch to Highslide.

  3. callmehippy
    Member
    Posted 1 year ago #

    Think i resolved this issue...

    Might be a problem with other classes loaded by the gallery or by Google.

    Had the same problem with AJAX pagination script vs lightbox. And i found this solution on a forum.

    You have to add this part of code to kpg.class.php at line 319 and 324.

    onclick='myLightbox.start(this); return false;'

    Will look like print <a href='$fullURL' onclick='myLightbox.start(this); return false;' rel='lightbox[kpicasa_gallery]'></a>

    Works for me

  4. Cuco
    Member
    Posted 1 year ago #

    Adding the lines

    <script type=\"text/javascript\" src=\"".$lightbox_path."builder.js\"></script>
    <script type=\"text/javascript\" src=\"".$lightbox_path."effects.js\"></script>

    to lightbox2.php did the trick for me. You can use the built in editor in WordPress to edit the lightbox2 plugin, just find the spot where the other .js files are included.

Topic Closed

This topic has been closed to new replies.

About this Topic