• Hi everyone,

    I made a new plugin called Post Thumbs to share. It has barely been tested, so if anyone tries it and has some problems hopefully I’ll know what’s wrong. It works on my site fine.

    What it does is scan a post for an included image and convert that image into a thumbnail to be used in The Loop. You could use this to show a list of posts as thumbnail links if you wanted. It will only work for images that reside on your server. No support for cross domain images as of yet.

    The documentation is shoddy, but it’ll have to do for now. If anyone has any suggestions, feel free to reply. The plugin is here.

Viewing 15 replies - 46 through 60 (of 84 total)
  • I have gotten this plugin to work, well kind of. The only thing that wont work is the resizing and cropping.

    I am running a local webserver, and have the following settings:
    Domain name: localhost
    default image: https://localhost/wordpress/images/default.jpg
    full domain: https://localhost/wordpress
    base path: c:/htdocs/

    please help, I seem to have the same issues as soswiss.

    Thread Starter callmeforsox

    (@sunscream)

    @macromail

    Might have to redo a new loop for cat=3

    @beku76

    Not sure if previous link and next link are defined through the loop. Right now only works as posts generated in the loop. If that makes sense at all. There probably is a way to hack it to work. Might want to look more into php using a for i loop.

    @soswiss

    <?php
    $posts = get_posts(‘numberposts=6&offset=9&order=DESC’);
    foreach($posts as $post) :
    setup_postdata($post);
    $post_link = tb_post_thumb(true,$post->post_title);
    if ( !empty($post_link) ) {
    echo $post_link; }
    endforeach;
    ?>

    If you want to do it that way, use false instead of true.

    @jonnyargh
    Can you paste your loop code?

    No need, its exactly the same as what you have posted above, except I dont pass anything to get_posts().
    I get the default thumbnail for all posts, and I am unable to resize it.

    Hi,

    any idea on how to display the thumbs in a random way?

    I would like to show a set of random thumbs-posts

    thanks

    looks good! thank you!

    Hi,

    Is this plugin compatible with WP 2.1? Because i can’t seem to get it to create any thumbnails, i looked in my uploads folder and no “pthumbs” directory was created. I can only get it to display the default image everytime it is called in the loop.

    Thanks,
    David

    is it possible have two different size thumbs for the same entry ? For example i would an image 60 x 60 px, and another for the same entry 100 x 100…

    does it works for separate categories?
    and if can do pagination?…

    Wonder if it works on 2.1

    Congratulations on this plugin, can’t wait to finish upgrading to 2.1 to start using it ??

    Thread Starter callmeforsox

    (@sunscream)

    Not sure what you mean by separate categories. Not sure about pagination, shouldn’t be too hard to add couple lines of code for it.

    This works with 2.1. I’ve been using it with it without any problems. Server runs suphp.

    I couldn’t manage to get it works ??

    here’s what I’ve done

    Domain name: blog1.domain.com
    Default image: I don’t use default image
    Full domain name: https://blog1.domain.com
    Base path: don’t understand about this option (do I have to create a directory to store thumbnails?)

    The instructions are not quite clear so hope someone can give us a very detail how to set it up.

    Note: All videos on my blogs are youtube

    There’s no error but it shows a square X box

    Base path is the path to the actual folder of your blog on your server. It’s not your url.

    Usually, it’s something like: /blabla/yourdomainname/www.

    You might see it clearly when you get a php error. Or ask your host if you can’t find it.

    I couldn’t reach Victor, but I’ve changed some features in the plugin:
    – url link
    – video stream & video (separately)
    – possibility to generate several thumb sets (different size & name)
    – option to generate a random image
    – option to have a text box below image with post title
    – few other things (like urls handle differently: can be used locally now ;))

    It is available here: https://www.alakhnor.info/blog2/extensions/plugin-post-thumbs-pour-wordpress/

    Example of what it does here: https://www.alakhnor.info/jandelaryn/

    It should work with WP2.1.

    alakhnor, I get a 404 Error when trying the download link on your page: https://www.alakhnor.info/ftp/post-thumb%20revisited%201.0.zip

    Sorry. It should work now.

    alakhnor, i started using your version.

    if i put an ending slash on the base dir path, it works but the images use this path:

    /home/patineta/patineta.cl//wp-content/uploads/pthumbs/th-file_20072169021.jpg

    If i remove the ending slash for the base path, making it “/home/patineta.cl” it displays the default images, as it cant find the post images i guess.

    So there must be an extra / somewhere in your code.

    thanks for this update.

Viewing 15 replies - 46 through 60 (of 84 total)
  • The topic ‘New plugin: Post Thumbs’ is closed to new replies.