WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
NextGen Gallery and Featured Image (4 posts)

  1. Meginoz
    Member
    Posted 1 year ago #

    I'm using themes from Elegant Themes in conjunction with NextGen Gallery, and want to be able to use an image from NextGen Gallery as my featured image, rather than have to upload it again separately. But, this does not work.

    I have found a number of threads on the topic, including:
    http://wordpress.org/support/topic/featured-image-not-working-with-nextgen-gallery?replies=10
    http://wordpress.org/support/topic/plugin-nextgen-gallery-featured-image-problems?replies=10

    - but the explanations all seem long and convoluted, and the themes I am using don't contain anything remotely resembling the code that those threads instruct to change. They are also from quite a while ago, so I'm hoping something has happened in the meantime to make this not so hard :-)

    If it helps, this is the code that pulls the post thumbnail for one of the themes I am trying to use:

    <?php if (get_option('magnificent_blog_thumbnails') == 'on') { ?>
    
    						<?php $thumb = '';
    						$width = 218;
    						$height = 218;
    						$classtext = '';
    						$titletext = get_the_title();
    
    						$thumbnail = get_thumbnail($width,$height,$classtext,$titletext,$titletext);
    						$thumb = $thumbnail["thumb"]; ?>
    
    						<?php if($thumb <> '') { ?>
    							<div class="thumbnail">
    								<?php print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext, $width, $height, $classtext); ?>
    								<span class="overlay"></span>

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

  2. bitterer
    Member
    Posted 1 year ago #

    bump

    I"m having the exact same problem. I also found similar posts (related to GraphPaperPress), but since I'm also using ElegantThemes, those won't help.

    Anyone?

  3. radcastro
    Member
    Posted 1 year ago #

  4. nonchiedercilaparola
    Member
    Posted 1 year ago #

    hi i'm try to use nextgen gallery image as featured image in simple press elegant theme.
    With template gallery page (page-gallery.php) in simple press there is a loop that display posts by thumbnail:

    example: http://www.dalveneziano.it/gallery/

    in this post there is a nextgen gallery so i would like use one of nextgen images as featured image. I know that simple press use two function to display the thumbnail:
    get_thumbnail(),
    print_thumbnail()

    the support doesn't offer any aid. how can i apply the above trick (http://lazytechguys.com/featured/fix-wordpress-featured-image-nextgen-gallery) ?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic