WordPress.org

Ready to get started?Download WordPress

Forums

Gallery
[resolved] Lightbox effect not working (66 posts)

  1. athenaweb1
    Member
    Posted 1 year ago #

    Hi I have installed the plugin, however I am having trouble with the images as when clicked on they just appear on another web page with no lightbox effect?

    http://wordpress.org/extend/plugins/gallery-plugin/

  2. bestwebsoft
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    please provide URL of the website so we will be able to analyze this issue and fix it, because there could be several variants:
    - you have conflicts between scripts and theme scripts or other plugins;
    - not updated template.

    Regards,
    Oksana

  3. jasonDMSQD
    Member
    Posted 1 year ago #

    Hi Guys,

    I seem to be having the same problem as athenaweb1 is having. I know that it is conflicting with the WP Anything Slider as when I turn this off the plugin works again.

    The url for the page is http://wp7.dmsqd.com/fourth-post/ & the plugin which it is conflicting with can be found on the home page http://wp7.dmsqd.com .

    Any help on this would be greatly appreciated.

    Regards,

    Jason

  4. jasonDMSQD
    Member
    Posted 1 year ago #

    For anyone else that is having this problem double check your source code on the problematic page as jquery was being called into the page twice.

    Hope this helps.

  5. bestwebsoft
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    Considering that our plugin is using jquery, it is possible that it has a conflict with other plugins or even with the theme. It is necessary to check and analyze each website separately, in order to provide detailed instructions.

    Best regards,
    Oksana

  6. rastavhino
    Member
    Posted 1 year ago #

    Hello,

    I'm having the same problem and I can't figure out what went wrong.

    This is the page where the gallery is located:

    http://www.rastavhino.com/?page_id=248

    Any help would be appreciated.

    Thanks.

  7. bestwebsoft
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    Lightbox is running till the moment when the toolbar uploading is completed. When this toolbar uploading is completed it removes all previous stated scripts and lightbox stops working. We are not able to help you with such issue.

    Regards,
    Oksana

  8. Kyleriffic
    Member
    Posted 1 year ago #

    I am having this same issue... any help would be greatly appreciated!

    Gallery page link is: http://freelance.kyleriffic.com/?portfolio=foodies-tv-show-season-3-on-set

    thanks!

  9. bestwebsoft
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    You have a connection for the additional jquery file in your theme:

    http://freelance.kyleriffic.com/wp-content/themes/clientmachine_12/js/jquery-1.3.2.min.js

    Directly in the header.

    It is incorrect and troubling WordPress's scripts work and our plugin too (because we are using WordPress jquery file).

    It is necessary to comment or remove current string from header. If you need jquery then it is necessary to connect it correctly.
    Here is instructions.

    <?php wp_enqueue_script("jquery"); ?>
    
    <?php wp_head(); ?>

    Best regards,
    Oksana

  10. evankumar
    Member
    Posted 1 year ago #

    I am running the plugin on my website without any issues (www.evankumar.com), but I am having an issue with my friends site. http://sramjit.com/wordpress/?page_id=101

  11. bestwebsoft
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    Our plugin is using embedded Wordpres's jquery, your theme is connecting the third-part script for the jquery after uploaded all necessary for the plugin's work scripts:

    http://sramjit.com/wordpress/wp-content/themes/Video/library/js/jquery.min.js

    That is why all our scripts stop working. Please remove the call of current file in the header.php and instead of it you can write such kind of string:

    wp_enqueue_script( 'jquery' );

    Or, if you need it as a php code, then see the string below:

    <?php wp_enqueue_script( 'jquery' ); ?>

    It will allow you to connect jquery script of the WordPress nuclei in your theme and avoid conflicts between plugins.

    Best regards,
    Oksana

  12. evankumar
    Member
    Posted 1 year ago #

    That's awesome, thank you it worked.

  13. Uberbucket
    Member
    Posted 1 year ago #

    Hi,

    I recently installed your Gallery Plugin, however I am not able to make it work. I created the main Gallery page and several galleries, however this is the error message I get when I try to view the page:

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/53/10068353/html/wp-content/themes/theme_5661/gallery-template.php:7) in /home/content/53/10068353/html/wp-content/themes/theme_5661/header.php on line 15

    When I tried to use the shortcode to display a single gallery in an existing page, it works half-way. I see the thumbnails, however when I try to open full size image, I get the following error:

    "The requested content cannot be loaded. Please try again later."

    Here is the link to that page: http://dev.californiarhythms.com/#!/portfolio-view/testing

    From reading earlier posts I can see that the issue is with the way the template is calling JQuery, however I am not able to correct the issue on my own.
    The header.php has the following code with line 15 in bold:

    <?php
        $webSiteUrl = get_bloginfo( 'url' )."/";
        $pageURL = 'http';
        if ($_SERVER["HTTPS"] == "on") {
            $pageURL .= "s";
        }
        $pageURL .= "://";
        if ($_SERVER["SERVER_PORT"] != "80") {
            $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
        } else {
            $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
        }
        if($webSiteUrl!=$pageURL){
            $pageHash = substr($pageURL, strlen($webSiteUrl), strlen($pageURL));
            <strong>header("Location: ".$webSiteUrl."#!/".$pageHash."");</strong>
            exit;
        }
     ?>

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your posted code may now have been permanently damaged/corrupted by the forum's parser.]

    Can you please help me resolve the issue?

    Thank you!

  14. bestwebsoft
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    the link includes # as well as url to the image, so you get
    #!/wp-content/uploads/2012/11/aliya_protto_20120425_112514300550b15c7c1b2b8.jpg

    instead of http://dev.californiarhythms.com/#!/wp-content/uploads/2012/11/aliya_protto_20120425_112514300550b15c7c1b2b8.jpg

    Change #! to a word.

    Best Regards!

  15. Fauntelroy
    Member
    Posted 1 year ago #

    Hello,

    As some before me, it seems that I've another plugin wich conflicts with gallery: I've Nivo Slider for my first page, and except if I desactivate it, the slider doesn't work as you can see here: http://manialingerie.com/collections/spring-summer-13-2/

    What can I do to fix it?

    Thank you!

  16. bestwebsoft
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    there is the following line either in the theme or in any plugin

    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>

    and it leads to the conflict of scripts and it does not allow the plugin to work correctly. Please delete it.

    Best Regards.

  17. Fauntelroy
    Member
    Posted 1 year ago #

    Yes, found and deleted and it now works, thanks a lot !

  18. Uberbucket
    Member
    Posted 1 year ago #

    Hi,

    I tried replacing #! with a word, but apparently header is not the only place where that string is generated, because it had absolutely no effect.

  19. Uberbucket
    Member
    Posted 1 year ago #

    It seems that the URL for the thumb is being generated correctly, however the link itself is truncated and the domain name gets replaced with #!.
    Anyway I can correct it within the plugin?

  20. bestwebsoft
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    the link generates dynamically depending on the settings on the page p-admin/options-general.php WordPress address and Site address. You will not be able to display the images properly without changing these parameters.

    Regards!

  21. Angua
    Member
    Posted 1 year ago #

    Hello,

    I have <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.2.min.js"></script> in my source code and I'm using it for background slideshow. But the js file seems to be conflicting with this plugin. Is there anyway to fix this problem without having to delete or comment it out?
    http://www.miraimongolia.com/gallery/gallery02/

  22. bestwebsoft
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Angua,

    You have a error in the header of page:

    $( '.mailto' ).click( function() {
    var a = $( this ).attr( 'href' );
    e = a.replace( '#', '' ).replace( '|', '@' ) + '.com';
    document.location = 'ma' + 'il' + 'to:' + e + "?subject=[Vegas] I'd like to hire you!";
    e.preventDefault;
    return false;
    });ß

    Please remove ß in the end of your code, because this symbol is causing the error, and then everything will be working.

    Kind regards.

  23. Angua
    Member
    Posted 1 year ago #

    I removed it and lightbox is still not working.

  24. bestwebsoft
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Angua,

    Please find a sting in the theme
    http://code.jquery.com/jquery-1.5.2.min.js
    and delete it.
    Then instead of it write:
    <?php wp_enqueue_script( 'jquery' ); ?>

    Best regards,
    Valeria.

  25. cebroth
    Member
    Posted 1 year ago #

    Hello. I have the same lightbox problem. I installed the plugin and everything works except the pop up window.
    here the site gallery:
    http://www.impressionistarttattoo.it/#!/?page_id=164
    I have no extra plugins installed.

    Any help would be appreciated.

    Thanks in advance.

  26. bestwebsoft
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Cebroth,

    Taking into account that you have a website also in the lightbox, so it will be problematic to add another one.
    They have a conflict with each other.

    King regards,
    Valeria.

  27. cebroth
    Member
    Posted 1 year ago #

    thanks Valeria
    that's the problem... so, no way out?
    maybe you know a way of building a simple gallery in a template like this?
    thankyou very much for the quick answer

  28. bestwebsoft
    Member
    Plugin Author

    Posted 1 year ago #

    Cebroth,

    Unfortunately we can't help you with this, because we just don't know.
    Please try to find something in plugins of WordPress.

    Kind regards,
    Valeria.

  29. cebroth
    Member
    Posted 1 year ago #

    thanks a lot anyway!

  30. sam250240
    Member
    Posted 1 year ago #

    Hi Bestwebsoft,

    I just installed your Gallery plugin and I don't know if my theme has any conflict with the plugin, but the lightbox isn't working.
    Here's the page that I'd like Gallery installed: http://www.blasianproductions.com/behind-the-scenes/

    Thanks in advance for your help!

    Sam

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic