Social Gallery for WordPress
Results 1 to 6 of 6

Thread: Lightbox disappears

  1. #1
    Junior Member
    Join Date
    Jan 2014
    Posts
    3

    Lightbox disappears

    Hi, I am developing my Wordpress 3.8 site on localhost. I just bought your most recent plugin. Of course I get the ”unreachable error” which means that Facebook cannot grab the image, which is normal on localhost.
    But... after a few seconds, when you see the plugin lightbox search for the image, the lightbox quits. On codecanyon I asked your team if the quitting is normal on localhost. I was told it should not disappear, so it seems I have a problem. I did change and resetted my permalinks as you described in other posts but that did not help. You have any idea? On Google I find nothing about a disappearing lightbox.

    For your info: I am using the Sahifa theme and have not installed any lightbox plugin. I also use qtranslate. (I cannot disable qtranslate for debugging because its already so integrated that my site will not display without it).

    Regards, Moonbird

  2. #2
    Administrator mikemayhem3030's Avatar
    Join Date
    Dec 2012
    Location
    UK
    Posts
    967
    Hi

    Check what your image is linking to, I can't see since you're on local host but consider the following examples

    <a href = "page.html"><img src = "imagesmall.jpg"/></a> <--- this will try to open then fail since you're linking to another page not another image

    <a href = "large.jpg"><img src = "imagesmall.jpg"></a> <-- this will work

    IF both fail, try switching to theme twenty twelve and disabling other plugins, however I suspect it's the first point (that your image doesn't link to an image, it links to a page and therefore the lightbox doesn't work since it is a photo viewer and won't open a HTML page)

    Cheers

  3. #3
    Junior Member
    Join Date
    Jan 2014
    Posts
    3
    Hi,

    Thx, you were right, that did the trick.
    I also made a gallery with your shortcode. With that, the image on the thumbnails is not cut off in the center, but its rendered from the upper left corner.
    With the native wordpress short code the images are centered in the thumbnail.
    I alreay found a way to use the native gallery shorcode and link the images correctly to get displayed in Social Gallery lightbox, so I dont have a problem.
    But I am interested to hear if there is a way with socialgallery shortcode to get the images on thumbnails centered or fully scaled. I did not see a setting for it in the panel.

    Thanks again for yor comment,
    Cheers!

  4. #4
    Administrator mikemayhem3030's Avatar
    Join Date
    Dec 2012
    Location
    UK
    Posts
    967
    Hi

    I'll add it to the list of development for the shortcodes plugin here

    http://goo.gl/KVdVrY

  5. #5
    Junior Member
    Join Date
    Jan 2014
    Posts
    3
    Hi,

    I could not find a shortcode on the list which handles the centering or scaling of images which are displayed as thumbnail.
    This is the uRL your link led me to: http://codecanyon.net/item/social-ga...ef=epicplugins.
    Thx!

  6. #6
    Administrator mikemayhem3030's Avatar
    Join Date
    Dec 2012
    Location
    UK
    Posts
    967
    Social Gallery is a lightbox so it doesnt'display images on your site, it just views them - for display use something like Justified Image Grid

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •