WordPress.org

Ready to get started?Download WordPress

Forums

Problem with calling thumbnail image (3 posts)

  1. waterworks2
    Member
    Posted 1 year ago #

    I'm using a theme from Theme Forest called Immersion:
    http://themeforest.net/item/immersion-responsive-fullscreen-wp-theme/2346010

    I'm using a portfolio plugin called Nimble:
    http://themeforest.net/item/immersion-responsive-fullscreen-wp-theme/2346010

    In the portfolio plugin, everything seems to be working except one thing. The thumbnails on the front-end are not showing up. I am trying to fix the problem myself but not sure what to do. The plugin is quite simple and only has a few files, so I thought it might be an easy fix.

    Can anyone here help me out?

    Here is the code from template.php

    <div class="nimble-portfolio-holder">
                                <?php $src = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), array(303, 203), false, ''); ?>
                                <div class="nimble-portfolio-item" style="background: url(<?php echo $src[0]; ?>) !important;">
                                    <a href="<?php echo nimble_portfolio_get_meta('nimble-portfolio'); ?>" rel="lightbox[nimble_portfolio_gal]" >
                                        <div class="nimble-portfolio-rollerbg"></div>
                                    </a>
                                </div>
                                <div class="nimble-portfolio-title">
                                    <a href="<?php the_permalink(); ?>" class="button-fixed">
                                        <?php _e('Read More →', 'framework') ?>
                                    </a> <a href="<?php echo nimble_portfolio_get_meta('nimble-portfolio-url'); ?>" class="button-fixed">
                                        <?php _e('View Project →', 'framework') ?>
                                    </a>
                                </div>

    and here is the output code from browser. You'll notice the background URL () is blank for some reason and I'm not sure why?

    <div class="nimble-portfolio-holder">
                                                            <div style="background: url( ) !important;" class="nimble-portfolio-item">
                                    <a rel="lightbox[nimble_portfolio_gal]" href="http://66.147.255.218/~test/wp-content/uploads/2012/06/Ad1.png">
                                        <div class="nimble-portfolio-rollerbg"></div>
                                    </a>
                                </div>
                                <div class="nimble-portfolio-title">
                                    <a class="button-fixed" href="http://66.147.255.218/~test/wp-content/portfolio/Ad1/">
                                        Read More →                                </a> <a class="button-fixed" href="http://66.147.255.218/~test/wp-content/uploads/2012/06/Ad1.png">
                                        View Project →                                </a>
                                </div>
                            </div>
  2. Japh
    Member
    Posted 1 year ago #

    Hey Waterworks2,

    Your best option for help with a ThemeForest theme is to contact the author directly. You can contact the author of Immersion through the contact form on their profile page here: http://themeforest.net/user/PixelBook

    That should get you on your way :)

  3. 123webdesignme
    Member
    Posted 1 year ago #

    to the right lower part of the menu you need to use "set featured image" for it to show as covers . you do that for each one

Topic Closed

This topic has been closed to new replies.

About this Topic