Before you ask please READ THIS

social icons on the left-top of image shown in lightbox in gallery

edited August 2014 in Fame Posts: 7
Hi, I saw that there are some social icons on the left-top of image shown in lightbox in gallery in your demo site.
http://fame.theme.apollo13.eu/gallery/baking/
But I don't see those social icons in my own created gallery image lightbox.
So I want to ask how could I add those social icons in image lightbox?
Thank you so much!

Comments

  • AirAir
    Posts: 10,970
    Hello

    You should have it by default. Can you show live link to your gallery?

    With regards.
  • hi, this is my testsite gallery.
    http://testsite.misscattitude.com/gallery/沖繩名護沙灘/

    And I do have social icon images in my website ftp
    wp-content/themes/fame/js/jackbox/img/graphics/social

    Please help to think is there any possible reason.
    Thank you so much~

  • AirAir
    Posts: 10,970
    Hello

    I see in console that while opening lightbox there is such error produced
    "NetworkError: 404 Not Found - http://testsite.misscattitude.com/wp-content/themes/fame/js/jackbox/modules/jackbox_social.php?url=http%3A%2F%2Ftestsite.misscattitude.com%2Fgallery%2F%25E6%25B2%2596%25E7%25B9%25A9%25E5%2590%258D%25E8%25AD%25B7%25E6%25B2%2599%25E7%2581%2598&poster=http%3A%2F%2Ftestsiteimage.misscattitude.com%2F%2Fblog%2F2014%2F20140401_okinawa_nago_beach%2F20140401_okinawa_nago_beach_03.jpg&title=SONY%2520DSC"

    I suspect that this is cause of what is after ?url= mainly your language chars encoded. It looks like it breaks script. When I change above 404 link to http://testsite.misscattitude.com/wp-content/themes/fame/js/jackbox/modules/jackbox_social.php?url=testsiteimage.misscattitude.com//blog/2014/20140401_okinawa_nago_beach/20140401_okinawa_nago_beach_02.jpg it loads ok.

    So my solution would be to not use non english chars in title or rather in URL.

    Hope that
  • I see. Thank you!!
  • Sorry, I found that changing the gallery url to english is not working.

    http://testsite.misscattitude.com/gallery/okinawa-nago-beach/

    I've change the gallery title and url.
    But the social icons still not shown.

    I also changed the WPLANG in wp-config.php to the following code.
    define ('WPLANG', '');
    But it still not working.

    Could you think of any possible root cause?
    Thank you!
  • AirAir
    Posts: 10,970
    My bad, it looks like non english chars have nothing to do with it, I just got mislead while testing.

    I suspect that your server don't allow such calls when in parameter of URL is whole absolute link with http:// - I unfortunately don't know professional name for this. However some servers are configured that way and block such calls.

    For example, this normal link produces 404 error:
    http://testsite.misscattitude.com/wp-content/themes/fame/js/jackbox/modules/jackbox_social.php?url=http%3A%2F%2Ftestsite.misscattitude.com%2Fgallery%2Fokinawa-nago-beach&poster=http%3A%2F%2Ftestsiteimage.misscattitude.com%2F%2Fblog%2F2014%2F20140401_okinawa_nago_beach%2F20140401_okinawa_nago_beach_03.jpg&title=SONY%2520DSC

    But when I remove http:// after ?url= and &poster= it works ok(cause now it is not absolute link) :
    http://testsite.misscattitude.com/wp-content/themes/fame/js/jackbox/modules/jackbox_social.php?url=testsite.misscattitude.com%2Fgallery%2Fokinawa-nago-beach&poster=testsiteimage.misscattitude.com%2F%2Fblog%2F2014%2F20140401_okinawa_nago_beach%2F20140401_okinawa_nago_beach_03.jpg&title=SONY%2520DSC

    Please show this topic to your server provider - maybe they will now what to do to turn off this security thing in your case.

    With regards.
  • I see. Thank you!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!