• Ciao
    This plugin looks very nice. I just wonder if it can do what I hope:
    Generate a thumbnail from an image (placed in a post, below a more tag) and display that thumbnail in the post list. The thumbnail should be clickable – to open the post its pulled from.
    OK – I have this functionality here now – but the plugin used isn’t maintained anymore…
    It also looks like this plugin will generate the thumbnail not when I upload a new image but “on the fly” after the code above is inserted in the appropriate template. If so: Brilliant.
    Thanks,
    Kjetil

    http://wordpress.org/extend/plugins/wp-smart-image/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Kjetil,

    WP Smart Image does what you comment, but generate thumbnails; this part is made by WordPress. I already saw dolcevita.no, that is exactly the work of this plugin 😉

    Place the code just above the_content and change the parameters as you wish. Your will show the thumbnails.

    However, I assume you have been uploaded images through editor (instead -for example- custom field). If this is true, the first image en “gallery” menu will be shown as thumbnail. Clickable thumbs are set as default.

    Thread Starter Kjetil

    (@kjetilgf)

    Sounds great!!!
    I’ll just have to set up a 2.7/2.8 site (since I’ve been stuck on 2.6) – and I’ll be back
    I hope the way I’ve uploaded the images won’t cause any problems. I’ve just inserted the images using the Add media button – yes, in the WP editor. I’m not sure what you mean with the “gallery” though, but I’m sure I’ll figure it out. (I can’t anything in 2.6 about galleries)
    Thanks for helping me on!
    Kjetil

    Thread Starter Kjetil

    (@kjetilgf)

    Almost there!
    It works great – but only for the first post. I would believe (wish) it should work for all of them.
    I’ve inserted the code in its simplest form in the index.php file (of the default theme – for testing) like this:
    …`<div class=”entry”>
    <?php wp_smart_image(); ?>
    <?php the_content(‘Read the rest of this entry »’); ?>
    `…(just to show the code just before and after)
    Some silly misunderstanding?
    Gracias
    Kjetil
    – have a look at http://www.dolcevita.no/marked/
    (there should have been a thumb also under the Hostels post)

    Hello Kjetil,

    You must to place the tag into the loop. See the screenshot #3:

    http://s.wordpress.org/extend/plugins/wp-smart-image/screenshot-3.png?r=137736

    —–

    Edited:

    Ok I saw your page. The function works, but it don’t act in the posts where you don’t have an image, for example:

    <a href="http://www.dolcevita.no/marked/knalltilbud/"><img src="" alt="" title="" /></a>

    If you wish to show default images, you must to fill the textfields in your panel. Also there is a way to fill it with default values throught “Add/Restore data” button. If you still having problems let me know.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: WP Smart Image] Works as a thumbnail generator?’ is closed to new replies.