• 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 - 61 through 75 (of 84 total)
  • alakhnor,

    Is there any way to display X random posts?

    Sorry, I do not come these forums very often.

    Atm, there is not a simple way to display more than one random post. though it wouldn’t be that difficult to do with a little bit of php (just add a loop).

    I need to update the english readme file but I have done many changes with the new version, the least being I’ve added highslide support (not documented yet though). If you want to check on it: https://www.alakhnor.info/test

    Preferably, I would better give support on my forum https://www.alakhnor.info/forum2/viewforum.php?id=12

    This is very useful for displaying excerpts with image thumbs, which is something I’d hoped for long ago. Check it out in use here: https://www.pursedlips.net/index.php?s=paddington&submit=Search

    The thing is on the plugin page: https://theblemish.com/post-thumbs-plugin/
    You say one use is:
    “Haven’t you ever wanted to list most popular posts by a 50×50 thumbnail instead of just text?”

    I would love to do that, link most popular, most recent, etc. (I’d like most recent in a category too and of course random would be great.)

    So how can that be done? It’s not a part of the code.

    Thanks.

    Nevermind, I went to bed too early. I showed up from Google on the 2nd page.

    I got the code here

    <?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;
    ?>

    Ok it’s almost all good, but what plugin will this work with to show most popular posts as links, like in the example?

    Ok now I’m having the same error with no default thumbnail or no thumbnail at all, actually.

    I have it on a different weblog working and they’re both set up exactly the same way. And they’re both subfolders of the same domain.

    Ah nevermind, I had a typo.

    I can’t get actual thumbnails to show – only the default. Argh. And I can’t figure out how to download from your forum or even register!

    Single Quotes on Mac/Safari???

    I am having a rather unusual issue with this plugin. On my versions of IE and Firefox on Winxp I have no problems with this plugin. I am working with someone who is posting their content on a Mac using Safari. For some reason in the code view of a post, the img src tag displays single quotes. When this user saves the post the post-thumb plugin does not work. When I view the code editor I see double quotes. when I save/edit the post it works. The Mac browser’s rendering of the single quotes is busting the plugin. What is going on here? Is there a code solution?

    do you think is possible crop an image that is in a external server ?

    Excellent plugin, and thanks for adding the ‘video’ detection function.

    Is there any way an admin can specify exactly which thumbnails to show up?

    If i use this:


    <?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;
    ?>

    Only the thumbs shows up, but i can’t click on it. How do i do this?

    WPChina

    (@wordpresschina)

    Ok I have had this working fine on one blog for a few months, but I just did a new blog on an identical webhosting account and I can’t get the images to show. It seems to only show the ALT tags and not the img src. This is what I’m seeing when I view HTML source:

    <a title="This is the title of the post" href="https://www.domain.com/category/here/" class="thumbs"><img src="" alt="This is the title of the post"></a>

    You see how the src is blank? I also checked my server and no thumbnails were being generated. I changed the permissions from 755 to 777 but still no luck. I had great success with this plugin before, but now I’m not getting anything.

    By the way, all my blogs are using the new WP2.2.

    You have any idea how I can start to generate those thumbnails?

    WPChina

    (@wordpresschina)

    Any idea why the images are not being created? Everything seems perfect except those images are just not showing up…

    All my setting are correct (I think), since I already have those successfully operating on another blog under the same environment. My folder permissions are fine (I tried both 777 and 755). I know I am very very close to a solution, just can’t find the needle in the haystack.

    Ok i’m tryin to do somethin and i’m pretty new to those things so i’m gonna try to be clear :

    Actually i have a (left) sidebar, and there is a category list. So you can click on one of the listed categories and the post appears (at the right)… no surprise ok.

    Now what i would like is when you click on one categories you have a list of thumbnails that appear at the right (where the posts appeared previsouly). Then you click on one of the thumbs – each one representing one post – and then ‘bang’ you have your post.

    I have no idea how to achieve this, it look like PTR could do this but i have installed it and try to put some code i got from the forum here in my sidebar.php just after : <?php wp_list_categories('title_li=<h2>' . __('mot-cl√?s.') . '</h2>' ) ?>

    but it doesn’t seem to work and thumbs are not created anyway in the server

    any help ?

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