Forums

Get The Image Plug-in... trouble getting started. (2 posts)

  1. jderosa3
    Member
    Posted 1 year ago #

    I downloaded this plug-in to help me setup the featured image of my posts... I want to be able to have this plugin locate any image that might be in a post and set the featured image to that. I seem to be having issues getting started.

    I have downloaded and activated the plugin. I have also added the:

    <?php get_the_image(); ?>

    Into the post loop... however it may be wrong. I know that the code above is for the default usage. Will the default usage grab an attached image in the post and just set it to be the post thumbnail/featured image?

    Thanks for any help!

  2. jderosa3
    Member
    Posted 1 year ago #

    I have tried using this code as well:

    <?php get_the_image( array( 'image_scan' => true, 'meta_key' => 'feature_img', 'size' => 'medium', 'width' => '200', 'height' => '200', 'image_class' => 'feature' ) ); ?>

    I placed this just below the following code on my page.php file:

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    Saved and uploaded the edited file... refreshed the page and nothing shows up - doesn't look like anything on the page changed.

    So I am somewhat lost with this. I know this plug in must work it has been downloaded a ton of times and has a five star rating.

    I am frustrated, but don't want to give up just yet! Thanks for any help!

Topic Closed

This topic has been closed to new replies.

About this Topic