WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
[resolved] [closed] [NextGen Gallery] Open album in lightbox (75 posts)

  1. finkdb
    Member
    Posted 1 year ago #

    Take the raw code for functions.php and paste it in your theme's functions.php file. Make sure you scroll down and get all of the code when you copy it. I don't understand your statement, "I get the code at the head of my page as well as across the top of wp admin". What code are you seeing? It may be better for us to take this off of this board. Please email me directly at [ redacted, support is offered via the forum and not email ]

  2. mvandemar
    Member
    Posted 1 year ago #

    Getting the raw code displaying in the pages means that you pasted it outside of the <?php ?> tags. If your functions.php ends with a closing ?> then the code must be pasted in there before (ie. above) that tag.

  3. markali
    Member
    Posted 1 year ago #

    mvandemar, that is exactly what was wrong! All is working great now! Thanks for all your help (and Dave's too!)

  4. markali
    Member
    Posted 1 year ago #

    ok, I have a question that I am almost embarrassed to ask but it just goes to show that I have a bit to learn.

    I'd like my 2 albums to display on the same line as in the dentist page (http://www.simivalleysdentist.com/photo-gallery/ ex porcelain veneers). How do I do that? My page is http://sheldrakeyc.org/gallery/ and the 2 albums I'd like on the same line are Racing and Whalers Race.

  5. dk9
    Member
    Posted 1 year ago #

    hey dude, just wanted to thank you :) works like a chram...

  6. rocketero
    Member
    Posted 1 year ago #

    I think I figured it out.

    Change mvandemar's album-lightbox.php file to reflect the following changes.
    1) Change Line 22: replace ngg-album-compact with ngg-album
    2) Change Line 23: replace ngg-album-compactbox with ngg-album

    This worked for me. Now I have an album in extended view that displays a thumbnail of each gallery. When each thumbnail is clicked, the respective gallery opens in Lightbox.

    I've been looking for that file "album-lightbox.php" in nggallery and prettyphoto-media folders and I cannot find it anywhere. where exactly did you get that file ??

  7. rocketero
    Member
    Posted 1 year ago #

    never mind, I hadn't read the intro, now I see where 'album-lightbox.php' came from.

  8. seiferflo
    Member
    Posted 1 year ago #

    @mvandemar
    Thanks a lot for your help, this is exactly what I was looking for. It's brilliant.
    However I'm not a big fan of prettyphoto, I tried to change its visual appearance but my knowledge in web is too low.
    So I wanted to use Fancybox. By changing the effect in NextGen I am able to make it work, however I think there is a conflict somewhere with lightbox or something, no idea. Basically everything settings I try to change for fancybox does not reflect, yet the fancybox is actually loaded instead of prettyphoto.
    Could you please tell me what to change in the code you provided to use fancybox instead? I'd really appreciate.
    Thanks in advance.

  9. 7billionbuddhas
    Member
    Posted 11 months ago #

    Hi, I got this to work like a charm! Thank you! I can't believe this needs to be hacked like this. Anyhow, you mentioned this earlier:

    One thing I did not mention in the above description was that I had to de-link the name of the gallery in the text link below the thumbnails, or it added the first image in twice to the album, once at the beginning for the thumbnail link and once for the text link.

    I'm still trying to figure that one out. How to remove the links on the gallery names?
    Thanks!

  10. 7billionbuddhas
    Member
    Posted 11 months ago #

    Oh sorry, never mind. I just figured it out. I edited the code in the album-lightbox.php.
    I always seem to answer my own questions 5 minutes after posting in these forums.

  11. marco_nunez
    Member
    Posted 11 months ago #

    Thanks
    just what I needed.
    Very good tips

  12. silencespeaker
    Member
    Posted 11 months ago #

    Hi @mvandemar! I really want to thank you for this solution - but I'm wondering if you can help me figure out what I'm doing wrong. I had used your solution on my site a few months ago and everything worked great - but now something updated and I can't figure out how to get it working again. Any ideas? I was trying to use this solution here: http://brooklyncrab.com/catering-and-events/eventsgallery/. Any advice would be welcome! Thanks so much.

  13. Ethangm
    Member
    Posted 11 months ago #

    Thanks SO MUCH @mvandemar I've been looking for this solution for a week and I was starting to despair. I have two questions though:

    1. How can I style the thumbnail image and gallery title as they appear prior to opening the lightbox. Is that all in the album-lightbox.php or a separate stylesheet or inline?
    2. Do you have any suggestions for an alternate script for iOS? When I load my site on an iPhone there is an error message in place of the entire gallery.
  14. Ethangm
    Member
    Posted 11 months ago #

    I got the slideshow working more or less exactly as I had hoped for my desktop version, but when I load the page on an iPhone it just spits our lines of error code, specifically "Fatal error: Call to undefined function ngggetgallery()"

    I would be enormously grateful if someone could help me to configure the NextGen Photoswipe Plugin (http://wordpress.org/plugins/photoswipe-for-nextgen-gallery/) on my site. I would be willing to pay a reasonable fee for help with this, especially in the next 48 hours... Currently that plugin doesn't seem to play nice with the existing installation.

    My slideshow is running at this site under the "About" tab.

    Thank you!

  15. WPyogi
    Volunteer Moderator
    Posted 11 months ago #

    @Ethangm - if you want to hire someone, we suggest posting a listing here: http://jobs.wordpress.net/

    But per the forum rules, offering to pay, means we have to close the thread - sorry. Feel free to open a new thread if you want more help on these forums.

    Please also next time, start a new thread - rather than posting in old, already resolved ones - see:

    http://codex.wordpress.org/Forum_Welcome#Where_To_Post

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic