WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
NextGen Carousel (15 posts)

  1. Rhand
    Member
    Posted 3 years ago #

    I would like to use the NextGen Carousel: http://nextgen-gallery.com/templates/carousel/ in a template to display images. Is there a widget for this type of display or can this only be done using short tags?
    If it can be hard coded or added as a widget I would still need images related to one post so maybe I will add in the post. The other things I wonder about is how I could show a description under each selected main image like http://yfrog.com/13resortimagecarouselj . Anyone?

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

  2. Rhand
    Member
    Posted 3 years ago #

    I can add one carousel gallery per post. I only wonder if I could add a specific one as a custom field so I can load it where it should appear. Other thing I wonder about how to load a description field under every gallery image (main large image)

  3. Rhand
    Member
    Posted 3 years ago #

    Well, going to make my own custom NGG theme based on NGG Carousel them to achieve what I need.

  4. Alex Rabe
    Member
    Posted 3 years ago #

    yes this would be the best...

  5. Rhand
    Member
    Posted 3 years ago #

    <?php /* NG Gallery Custom Field Rotating Images  */
    	$gallery = get_post_meta($post->ID, 'nggid', true);
    	$gal = $gallery;
    	$gal = apply_filters('the_content', '[gallery='.$gal.']' );
    	echo $gal;
    	?>

    works. But

    <?php /* NG Gallery Custom Field Rotating Images  */
    	$gallery = get_post_meta($post->ID, 'nggid', true);
    	$gal = $gallery;
    	$gal = apply_filters('the_content', '[gallery='.$gal.'template=carousel images=5]' );
    	echo $gal;
    	?>

    Does not. Neither am I able to load a carousel using short tags like this [gallery=1 template=carousel images=5] Is this because I use a child theme? Actually I want to load gallery-resort.php from child-them/nggallery/gallery-resort.php, but somehow that does not seem to work either. It is driving me crazy..

  6. Rhand
    Member
    Posted 3 years ago #

    Hmm shorttag [nggallery id=1 template=carousel images=5] does work inside post now. Let me see if I can adjust the custom field code. This:

    <?php /* NG Gallery Custom Field Rotating Images  */
        $gallery = get_post_meta($post->ID, 'nggid', true);
        $gal = $gallery;
        $gal = apply_filters('the_content', '[nggallery id='.$gal. 'template=carousel images=5 ]' );
        echo $gal;
     ?>

    Results in a gallery not found..

  7. Rhand
    Member
    Posted 3 years ago #

    Got it working. Now I just need the carousel not to go up to the top of the page when a thumbnails is clicked and for a bottom description bar to load the caption.

  8. Rhand
    Member
    Posted 3 years ago #

    When I click a thumbnail using the NextGen carousel it automatically goes to the top of the page when it has loaded the picture of choice. Still trying to figure out how it could focus on the center of the chosen main image.
    Second issue is that the arrows are not shown.

  9. Rhand
    Member
    Posted 3 years ago #

    Scrap the arrow issues. Probably need more images to show an arrow to go to hidden thumbnails. The issues on going to top of page when thumbnail is clicked still remains though..

  10. Danny Albeck
    Member
    Posted 3 years ago #

    Rhand,

    I need your help. I am looking to accomplish pretty much what you achieved. I have NextGen Gallery in place, I want to use the custom field to pick the gallery id I want to display, and I want it to use the: http://nextgen-gallery.com/templates/galleryview/ (GallerView template). How would I link this template in the PHP code? I would greatly appreciate your help with this!

    Thank you!!!

  11. daskaloff
    Member
    Posted 3 years ago #

    Rhand i had the same problem about going on the top of the page. My solution is pretty simple, just add before the image and add #target in the end of the prev/next and thumbnail links.

    But i have another problem, I want to change the next/prev link. By default they show the prev/next thumbnail page, but I want it more simlpe - just to show prev/next image. Does anyone has a solution for that ?

  12. Rhand
    Member
    Posted 3 years ago #

  13. daskaloff
    Member
    Posted 3 years ago #

    no, i want the thumbnails :). I found a solution but i have to show all the thumbnails. Maybe i'll write a JS for them

  14. bexvlad
    Member
    Posted 3 years ago #

    @daskaloff Please would you be more specific about your #target solution? Where would you place this for a Carousel (and which .php file)?

    Thanks for the tip.

  15. red_A
    Member
    Posted 3 years ago #

    Is there been a solution for this? I want to have a link under the main image as well, but i'm using the carousel gallery instead, anyone?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.