ThemeShaper Forums » Thematic


Anybody else having trouble with Get The Image Plugin?

(4 posts)
  • Started 11 years ago by helgatheviking
  • Latest reply from helgatheviking
  • This topic is resolved


  1. I know this is not really the place for it, but I know that several of you are also using this plugin. I just tried to implement the Get the Image in a theme I am working on:

    And it keeps returning the same image as a thumbnail w/o enabling image_scan and even on post w/o any images. you will see the creepy smiley-face picture is the thumbnail for almost all the posts on the home page, but if you click on some of the later ones that image is not in the content of the posts.... nor is it attached.

    i can't imagine a plugin that is much easier to implement... i mean you just drop get_the_image() into the loop! but it is not behaving as expected and so i am just wondering if this is a problem unique to me.

    the modifications i'd like to make (like adding timthumb resizing to display scanned images at the same size as the post_thumbnail and default category images à la Easy Peasy) will be much easier done modding get_the_image versus modding easy peasy.

    Posted 11 years ago #
  2. plugin works as it should. i had custom_fields in my dummy data that i didn't know where there. since get_the_image checks the custom_field first (for backwards compatibility) i was getting smiley faces everywhere!

    Posted 11 years ago #
  3. Now that you've pointed out this interesting plug-in, would you be willing to share some snippets for the functions.php file to add this to the category and tags pages?

    Posted 11 years ago #
  4. the plugin is exceptionally easy to call... so you can drop its function into any loop.


    or better still


    the readme is pretty thorough. to get stuff into your loop... create a


    function childtheme_override_category_loop() {
    		while (have_posts()) : the_post(); 
    				thematic_abovepost(); ?>
    				<div id="post-<?php the_ID(); ?>" class="<?php thematic_post_class(); ?>">
    	    			<?php thematic_postheader(); ?>
    					<div class="entry-content">
    <?php //add the most basic thumbnail
    <?php thematic_content(); ?>
    					</div><!-- .entry-content -->
    					<?php thematic_postfooter(); ?>
    				</div><!-- #post -->

    although it does have shortcomings of not resizing things... so images are just smushed to the defined weights/widths and look strange... especially if you are using the image_scan feature. the resizing shortcoming is addressed here by making it play nice w/ timthumb... though i found a shortcoming of the [link] key not existing in the array. but still...

    Posted 11 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.