I have uploaded the latest beta build, Beta 2 of WP Post Thumbnail 0.2 to the website. You can download the plugin here.
Beta 2 contains mainly bugfixes, error handling and compatibility updates for WordPress 2.8 (currently in beta 2) which should be released soon.
I’ve also created a dedicated page for WP Post Thumbnail plugin. It’s something which I should have done earlier.

Hi! Excelent plugin…
But still shows the message “Loading…” after choose a image to crop.
Hi Again… (now my name is correct)
When i click in a image to crop, Firebug returns to me this error:
PHP Warning: Division by zero in [dirs]\wp-content\plugins\wp-post-thumbnail\wppt
.php on line 828
PHP Warning: Division by zero in [dirs]\wp-content\plugins\wp-post-thumbnail\wppt
.php on line 829
Thanks!
BAM! I think we have a winner with beta 2. Everything appears to be working with my initial tests.
Hi Stanley,
I am having a problem when saving images every so often. It often gets stuck on the ‘Saving …’ message. If I save a draft the image has been uploaded. Something is causing the ‘Saving …’ message to stay on screen which means I can’t upload other images on the other presets.
Hopefully you’ll know whats wrong so i can fix it on this site.
Cheers for the great plugin.
Andy.
@christopher @Stanley
I think others plugins are affecting the WP Post Thumbnail. It´s possible? In writing page i am using “TinyMCE Advanced”, do you know?
Its still returning error in JS and cant continue (when i select my pincture to crop). See above.
lol… I feel like I heading in the wrong direction here. While beta 1 would not recognise my media library, beta 2 is just failing to install properly. I upload the files, activate the plugin but then I get nothing either under settings or on a post.
Its a shame because potentially this is a really useful plugin.
@Paul
Make sure you set your ftp program to upload in Binary mode for all the files, I had the same issue with Beta 1 with the settings page not showing up.
Great Job, this new version now work !!
Thank you man
My site is also hanging on the “Loading…” after the image selection. All permissions and settings are correct.
I’m running WP 2.7.1
IIS 6.0
It’s possible to integrate the button CROP FROM THIS UPLOAD, how in version 1.8?
I would have the possibility to crop from one image that i upload, don’t saved after crop.
Using images taken from media gallery, i must delete the picture every time after the crop if i don’t want use this into my post.
I hope that you will understand me. Ty in advance
Excelent plugin , very nice admin UI. One Issue: You may have noticed this already; but if you upload an image that needs to be resize to fit the cropping area (ref: line 827 wppt.php) then when you crop a section of this resized picture the resulted thumbnail show a different section; because the thumbnail is done from the original attached image not the resized.
just like beta 1 release, plugin can not find the media library images.
Hi there!
Even though the plugin installed properly and I can choose an image as thumb,
the installation seems to be corrupt:
when I disable the if ( function_exists( ‘get_post_thumbnail’ ) call in my theme,
I get “Call to undefined function get_post_thumbnail() ”
Very Sad!
Kind regards,
mtness
All we are with difficulty… in many diferent situations. In my case, i can’t see the crop area. (JS error, wppt.php line 828 and 829).
What´s the solution?
For whatever reason, I’m also unable to call this function from my theme file. The installation and admin area works fine, but when I do tests on the “if(function_exists…” line, I see no output. Any help would be appreciated.
Stanley: I slipped up with the themer’s instructions. It should be
$Wppt->get_post_thumbnail()instead of onlyget_post_thumbnail().Though Beta 1 was working great with WP 2.7, I upgraded to 2.8 and beta 2 no longer works as it should.
When I simply overwrote the existing beta 1 with beta 2, the only aspect that wasn’t working was the actual creation of the thumbnails. For some reason or another, it was simply not writing them.
After I disabled the plugin, deleted the wppt_ tables from the mysql database and reinstalled the plugin from scratch it no longer works at all: What happens is, in the admin interface, I’m no longer able to edit any of the “Custom thumbnail settings”. The plugin does nothing when you press ‘resize’ or ‘assign’. The three preset tabs are no longer functioning.
The ‘cache’ directory is chmodded to 777.
One interesting thing I noticed right now while experimenting is that earlier, the folder (for me, images/wp-post-thumbnail) WPPT stored the thumbnails in was chmodded 755, but now that I allowed it to recreate the folder it’s now 777.
Yes, im in the same case Solomon, the admin interface cannot resize or assing and presets not functioning. I am suspecting that it can’t write to the database?!? The page loaded with error saying expected identifier,sting,number…. Can anyone help?
One minor change I wouldn’t mind seeing are larger thumbnails when selecting images. On high res monitors those things are tiny. I could dig through the code and change this myself but I thought I’d throw the idea out and see what other opinions are.
@Daniel Accorsi
I haven’t noticed any issues with other plug-ins but I run very few plug-ins myself.
argh…I used wp-thumbnail 0.1.8 with success…and upgrade WP into 2.8…and then big crash…I try to install wp-thumbnail 0.2 as you suggest, and I ve got a strange thing, the plugin is install correctly but I can’t access to the setings ! idem in the post page, the wp-thumbnail doesn’t work…what can I do to activate it ???
thank’s a lot !
Hi.
There seems to be some compability problems with WP 2.8. When the plugin is activated collapse/show stop working, everywhere. Also I can’t save any configurations, the buttons doesn’t respond. It worked great with earlier versions of WP.
Just a note, the problems only occur when trying to change settings (button Resize and Assign doesn’t work, Save Options work) and when editing a post.
Hi,
Just likes Andrew Yates and Michael said, I can’t see the image crop result on editing or writing my post. Its seem the image crop has been save to “/wp-content/plugins/wp-post-thumbnail/cache” but NOT to “upload_path” and database. I’m using WordPress 2.7.1 and run under Linux.
Mujie
To chime in with some extra padding, I only experienced Michael’s issue with WP 2.8 and WPPT 0.2 beta 1.
It’s not letting me save a thumbnail. I click the Save Thumbnail button and it looks like it is saving but then nothing shows up in the thumbnail preview box.
Any suggestions?
Hi.
I have the same problem as Paul Boag
The settings page doesn’t appear after activating the plugin.
I tried the fix sugested by Mark and uploaded the file using binary mode on filezilla, but still i can´t get it to work . . .
Does anyone know other solution? What am i doing wrong?
Thanks in advance
any idea to make this fabulous plugin working with the last WP update ?…
Agree that it is an excellent plugin – but would be amazing if it could work for ‘pages’. This is just what wordpress needs I think.
If you need it to work for ‘pages’ then add extra lines at 544 of wppt.php
and then 205, 210, 227, 232 add extra optionals i.e.
|| $pagenow == ‘page.php’ || $pagenow == ‘page-new.php’
I trid the previous hack changing line 218 (around 544) in the new one and adapted a couple of lines around
everything working beautifully except for one thing — i can only change the size of preset 1. it looks like it’s changing 2 and 3, but when i get done, it’s only changed 1 with whatever the last thing i did was.
also — anyway to get more custom presets? i’d kinda like about 6.
It is possible to add more presets. Just a little bit SQL tweeking….
Wonderful plugin! However it doesn’t seem to work correctly.
After selecting an image in “Step 2: Select photo to crop” I get the message “Loading…”. However my image never seems to load.
How can I fix this?
Thanks
Yeah. I’m personally in a bad spot since I’m in a live environment :[
How can I add more presets, or better yet rename them ?
Mine i just on loading…. With firebug i get this message.
{“attachID”:”1622″,”warning_smallSrcImg”:”The source image is smaller than thumbnail’s preset width or
height.\n\nTherefore, the thumbnail generated from this image will contain enlarged pixels.\n\nNo minimum
crop size restrain will be set.”,”abspath”:”G:\\xxxxx\/wp-content\/uploads\/2009\/07\/7.jpg”,”0″:”http
:\/\/www2.stureplan.se\/wp-content\/uploads\/2009\/07\/7.jpg”,”1″:3968,”2″:2232,”3″:false,”scaleRatio”
:0.189516129032,”resizedImgUrl”:”http:\/\/www.xxxxxxx.xxx\/G:\\xxxxxx\\wp-content\\plugins\\wp-post-thumbnail
\\cache\/7-752×423.jpg”}
I have done a small mod to your older 0.1.8 plugin to make the thumbnails link to the main post. This feature would be handy.
Check: http://www.shamasis.net/2009/07/adding-links-to-wp-post-thumbnail-plugin/
I getting “Loading…” when I choose an image and unable to proceed to the next step of cropping.
I see that a lot of you have the same problem, anyone have any idea?
Great plug in, but without cropping I’m unable to use it.
Thanks
Anyone got the plugin to work with latest WP release? I can’t upgrade until it works :/
Hey there: I just implemented your fabulous plugin in a website I’m developing. Everything seems to work fine but for the problems with get_post_meta and the loop, but i’m afraid nobody can do anything about that except mr Wordpress…
The only thing i want to change is that when you write an article, it auto scrolls to the plugin. Where should I change the code?
Thanks for the great work.
not work on WordPress 2.8.2, please update your plugin…
thanks
Hi,
Anyone, ideas?
I’m unable to call the function from my theme file, and I don’t have any idea what’s the problem (my php skills are lousy). I have installed the code “if ( function_exists etc…” inside the loop and replaced “thumbnail-custom-key-name” with the correct name but there is no output. Is there something else I should do? Installation went well and admin panel is working great. If I call the custom key in “normal” way it shows it, but I’d prefer this function because it would also show title, alt and so on (and simply nothing if there is no thumbnail, I presume?).
is there a way to have the thumbnails show up on the sidebar of random posts? instead of just on a entry?
This is an excellent plugin but I just spent an hour trying to get it working on Wordpress Multiuser, only to then find this page and see there is a newer version.
Please update the page on the official wordpress site.
Can’t get it to work on Wordpress 2.8.2 on localhost. It finds the images in my media library but when I choose one, it just says “loading…” forever. Shame as this has potential to be one of the best plugins.
Think I’ll just stick with the older version which I managed to get working on WPMU anyway.
For some reason mine started working again after I updated to 2.8.2., but now I’m getting the plugin force the thumbnail into my posts.
For the time being, I’ve simply hidden the thumbnail from the WPPT css, but I’d rather hear how to disable this automatic annoyance! I thought I was supposed to inject this into my theme where I wanted myself, not be forced to cope with it.
While using Beta 2 with 2.8.2 there is a warning shown as below on step 1
1 Select thumbnail:
Warning: Invalid argument supplied for foreach() in /home7/adzguruc/public_html/photorush.net/wp-content/plugins/wp-post-thumbnail/wppt.php on line 774
I suppose the argument in the foreach() statement are the issue…
foreach ( $this->wppt_preset as $thumbnail )
And the Tabs aren’t loaded on the interface..
Any workarounds ?
@Archiect: If you need any info about the presets post.entypo (at) gmail.com
I love this plugin, but i suggest you three things:
- Save the options in the db, each time i disable the plugin for an update i must modify every time the wp-post-thumbnail settings
- The possibility to disable the .css load in the header of wp-post-thumbnail, i’m not using it but i have it called in each page, for only two class, i could add them in my general stylesheet if necessary
- The possibility to load external images, for example i could use an image it’s not in the wp galleries.
Thanks!!
Is this great looking plugin 2.8.4 compatible ?
PLEASE – HAS ANYONE WORKED A WAY ROUND THE STUCK ON “LOADING” ISSUE???
it’s broken
also the work flow is annoying
1.8 was a great plugin but you’ve lost the plot
keep it simple and go back to the streamline mechanism from 1.8
stick to what works
Author:
Hi, I understand you had to use a less effective method after WP 2.8 due to the way they changed how post_id works.
Luckly, WP2.8 auto save after u enter something into the title and tab away, so you can hook the js function “autosave_update_slug” to get the post id, instead of saving draft manually.
hopes this helps
Will, I don’t know this version (which I can’t make it work on my localmachine) but as for the 0.18 what I do is to remove the wppt_* values on wp_options table (there are 3 of them) and then refresh the Edit Post page. That does the trick.
Another tip for uploading images no bigger than 2MB is that the file extension should be “.jpg” not “.JPG”. Haven’t read if that’s fixed on this version.
Stanley: THANKS A MIL for this plugin. It should be a core funct of WP. One of issue (another tip here) that used to (and kinda still does) drive me up the wall is the “Unable to delete” error on v. 0.18. I sort this out by deleting the custom fields created and then deleting the thumbnail or just creating a new one and replacing it. Is this sorted on this version? I’d love to attach a screenshot to show up what I’m getting with this version as I really don’t know what’s going on (three preset fields one below the other one, no tabs, useless clicks everywhere..) any idea?
Cheers, and thanks again for this. I tried to contribute this tips on the 0.18 post but comments were closed.
Joaquín.-
From a cursory examination, it looks like this plug-in has some problems dealing with windows paths. I initially tried it out as localhost on my windows box and was stuck with the loading error. However, the images load fine with the Wordpress set-up on my linux server. I’m not going to look into it further at this time because I only use the windows machine for development, but maybe this information will help someone else (or Stanley, if this is still being developed).
Could anyone shed any light on the code to get this plugin to work?
At the moment i have (see below) and this works fine with the wwp_preset1 option but cant seem to get the supplied theme developers code to work.
<a href=”" title=”">
<img src=”" alt=”" class=”thumb” />
I would like to use …
get_post_thumbnail” ) ) {
$thumb = $Wppt->get_post_thumbnail( $post->ID, ‘thumbnail-custom-key-name’ );
if ( !empty( $thumb ) ) { ?>
<a href=”ID); ?>” title=”post_title; ?>”><img class=”thumbnail” src=”" title=”" alt=”" width=”" height=”" />
It doesn’t even install correctly.. Something about incorrect header.
I have two questions:
1: Can someone explain to me how to assign a custom class to the images? It seems that it has to use the wppt_float_left or wppt_float_right option. I would like to be able to change this to something in my own CSS file.
2: I want the plugin to wrap the image in a , but I cannot figure out how to make it do this. Any ideas?
Thanks!
Hey can you help, apparently this plugin doesnt seem to pick up the images uploaded in my wp libary?
Just installed your great plugin and it looks it should do exactly what I need, but…
My Wordpress is 2.8.4 and I tried WP Post Thumbnail 0.2 Beta 2
I stuck with “Loading …” after selection of photo in “Select photo to crop:”
Nothing in error logs. No error messages. Just “Loading …”
PLEASE make this plugin work with wp 2.8 – it sounds like a great addition!
The example you gave of how to call the thumbs into custom themes doesn’t seem to work. In fact, I was baffled for a while as to why the thumbnails weren’t showing up, until one of my writers accidentally stumbled upon it. The thumbnails are inserted automatically to the top left when the_content is called on from index.php, but not from single.php. The thing is, I don’t call the_content from my index file of the new theme I’m working on, I use the_excerpt.
Anyone have any idea on how to insert the thumbs manually into the source of a theme? Also, it seems it’s supposed to float left/right depending on user choice, but it’s not floating properly… any text that I would expect to pull itself right next to the thumb ends up getting pushed below the thumb.
Hm, I answered some of my own questions. There’s a line in wppt.php that reads:
add_filter( ‘the_content’, array(&$this, ‘insert_default_thumbnail’) );
and simply changing the_content to the_excerpt makes it appear when excerpts are used instead. The thing is, I still don’t want it appearing automatically whenever the_excerpt is called, I need to figure out a working code to insert it into my theme when and only when I want it. The reason is, I’d actually like the thumbs to be aligned with the bylines of the posts, which actually start before the excerpts/content begins, but still within the Loop.
Yeah, the same “Loading…” problem here as well.
It’s quite weird cause I have the same plugin in my test site in another server, with same settings and wp 2.8.4 and that works. :O
I’ve also tested your plugin on wordpress 2.8.4 and Windows. There I had the same problem as many people before, just stuck at the ‘Loading…’ gif after selecting the image. Possibliy this is really a problem with windows paths but I did not investigate this exactly.
After that I tried to get the plugin running on Ubuntu 9. Also stuck at the loading point but got an other error message (something like JSON.parse .. SyntaxError). This error could be fixed installing the gd image library for the apache web server (sudo apt-get install php5-gd) which is needed to run this great plugin.
How to test if gd library is installed on your machine (using phpinfo):
* create a new php file (e.g. info.php) in the root of your web server folder (e.g. win: htdocs, ubuntu: /var/www)
* edit the file and paste the following code into it:
* open the file with your browser (e.g. http://localhost/info.php) and search for the string ‘GD Support’. The value should be ‘enabled’.
Hope this information helps some of you to run this amazing plugin. So big up to you Stanley!!
Hi guys, I checked the php version in my test site (using the same technique as Ralle is suggesting above, you can find the instructions and the code here: http://kb.mediatemple.net/questions/764/How+can+I+create+a+phpinfo.php+page%3F) and found out that it was 5.2.9 while my actual site was using older one, 5.1.6. I contacted my web hosting company and they gave me the instructions how to update the php version – and guess what, now it works! So please check that your php version is 5.2.9, and if it isn’t, update it – it might help!
How come I’m stuck when I am trying to crop an image? It is still buggy. Please help..
can someone make this plugin works?!!
If anyone’s in the same situation I was in regarding my comment above and getting the thumbnails to line up with something other than the_content or the_excerpt, I managed to work around this by keeping the thumbs called with the_excerpt, but styling the them with negative margins (to move it up), and shoving the bylines over with margins as well. Crude, but it works.
I’m still looking for a working code to insert the thumbs manually into my theme, since the one at the top of this page doesn’t work. There are times when I want the thumbs and times when I don’t, but I know I want excerpts all the time. Any ideas?
Hi Christian,
I’m not sure if this is what you need, but I’m using this code in my theme (since I wasn’t able to use the $Wppt->get_post_thumbnail() tag):
// check for thumbnail
$thumb = get_post_meta($post->ID, ‘thumbnail_custom_key_name’, $single = true);?>
<img src=”" alt=” thumbnail image” width=”190″ height=”110″/>
Place it inside the loop, and you can have the_excerpt or whatever next to it with your own styling. I have three separate loops in my home page and each has a different thumbnail and styling.
sorry, the code didn’t show up correctly. I try again (replace PHP-BEGINS and PHP-ENDS with the correct tags):
PHP-BEGINS
// check for thumbnail
$thumb = get_post_meta($post->ID, ‘thumbnail_thisnthat’, $single = true);
// if there’s a thumbnail
if($thumb !== ”) { PHP-ENDS
PHP-BEGINS } // end if statement
// if there’s not a thumbnail
else { echo ”; } PHP-ENDS
Hi Lariza,
Thanks for the response. I can’t seem to get this to work (probably because the img tag isn’t calling anything).
Yeah, I can imagine that because the code is still wrong here (I’ve tried to send a message about it but it’s still “awaiting moderation” for some reason). You can find the correct code here: http://www.copypastecode.com/12747/ . Hope this helps.
After much troubleshooting, I think I have discovered what causes the permanent loading spinner to appear on the page when you edit a post in the admin. If your php installation doesn’t include the json extensions, wp post thumbnail will attempt to use its own substitute function located in wp-content/plugins/wp-post-thumbnail/includes/json.php. This function DOES NOT produce valid JSON and your browser will barf when trying to parse the json response from the ajax request. You can try replacing the function with the one found here, though I do not guarantee that it will work for you:
http://www.letsmakeitgo.com/json-encode-equivalent/
Don’t use the code I referenced in my last post. Instead, use the json_encode equivalent found here:
http://abeautifulsite.net/notebook/71
Download the zip file referenced in the author’s post and use that code to replace this file:
wp-content/plugins/wp-post-thumbnail/includes/json.php
This plugin will work like a charm afterwards.
Hi.. Is it possible to add a fourth preset?
this sucks!! doesnt work when u select an image…will someone get this work….
I have tried everything and I can’t get anything to show up after I install the plugin. Beta 1 shows up but then I am not able to upload any content through wordpress (nothing happens when I click the buttons). Has anyone that has had this problem been able to fix it?
Hey! I jsut want to let you know it’s exactly what I needed and that it works on WP 2.8.4.
Best regards.
Dear Christian & All
I already check my PHP version :
PHP Version 5.2.6-1+lenny3
GD Support enabled
GD Version bundled (2.0.34 compatible)
But i’m keep get stuck in Step 2 (Select photo to crop) when selecting image to step 3, save thumbnail.
What am i supposed to do ?
Thanks
蛮好的
Hey everyone…I manage to get pass the loading on my online website but it doesn’t work on windows localhost server. Great plugin but I need to be able to use it offline for testing.
Did some more testing. Does not work on Windows localhost server, works great on a MAC localhost server, and works smooth on my online servers.
Just like everyone else, I am also stuck on the “Loading…” after selecting my image from the Media Library.
Could have something to do with ABSPATH or get_file_attached function?
The plugin is really good but I’m hoping that this can get resolved because it helps me with my development locally.
Thanks!
Stanley, just these few lines to congratulate you on your work on this plugins. It is clearly a very successful and most importantly desired plug.
I have been reading around for fixes for this plug and have seen a few people nagging you and so wanted to let you know that there is no perfect designs it can only be pushed closer to perfection.
I cant wait for a new release of this plug that will solve those last remaining few bugs.
Wish you all the best and most importantly enthusiasm.
J
好文章
Well, after playing arround with the code for the whole day, I’ve found a solution that works for me:
ID, 'wppt_preset1', $single = true);?>
<div class="" id="post-">
<a href="" rel="bookmark" title="Permanent Link to "><img src="" alt="" width="" height=""/>
<a href="" rel="bookmark" title="Permanent Link to ">
I was stuck with the loading image as well and finally tracked down the issue to be with the bundled json_encode() function that the plugin uses if it can’t find it natively supported. I wrote my own little post about it here: http://talknerdytome.b.goshen.edu/2009/11/wp-post-thumbnail-cracking-the-code/
A big thanks to others who have contributed helpful hints.
My site is also hanging on the “Loading…” after the image selection. All permissions and settings are correct.
I’m running WP 2.8.6
IIS 6.0
Ok, Loading issue
In my case i have php 5.16 in my server. Json_encode function is only for php >5.20 and Json included in plugin isn’t standar.
I solve my problem changin plugin/include/json.php with this http://abeautifulsite.net/2008/05/using-json-encode-and-json-decode-in-php4/
thanks to Clay
hi
I have annoying problem with this WP Post Thumbnail plugin for WP.
Me Wordpress version is 2.8.6 me PHP 5.3.0 and im using Windows XP.
When I upload image it shows in Crop section and now begins my problem I can’t save image or crop When I click on mini picture it says it’s loading but it’s loading 2 days and today will be third day
This plugin works for anyone? or this is just a joke plugin? :\
Please help me fix this problem.
For what version of Wordpress it should work properly?
Not working with wordpress 2.8 checked Now I will check older versions of wp and if it will be a success I will post new message.
how to delete crop I want only save picture ? because crop doesnt work and I cant save good size picture :\
Ok it works now!
this plugin doesn’t work on wordpress 2.8.6
This plugin doesn’t work for me!
Using wordpress 2.8.6 and wppt 0.2/beta2 on php 5.2.4
Json is enabled (1.2.1).
GD is working good, but plugin is not.
Here is a screenshot, what I see, after clicking on some image within “Select photo to crop”
http://img340.imageshack.us/img340/3901/sshot1si.png
Its loading and loading, and never stops.
———-
Tested wppt 0.1.8 on the same host, with wordpress 2.7 (too old) installed – WORKED PERFECTLY, so it seems not to be the host problem (json or something else). Maybe there is some issue in js, or php code, don’t know.
Also tried to use all the given fixes from this comments page – nothing helped.
———-
Your plugin is great, but it gives no benefit if doesn’t work. PLEASE, HELP.
Hi Peter, how doy you resolve the problem?
Thanks.
hi Mark, updating php might help (see my comment above http://www.seoadsensethemes.com/0-2-beta-2-release/comment-page-2/#comment-956)
good.excelent plug in.thank you very much.
Plugin (0.2 b2) works excellent on my server with Wordpress 2.9.0.
(didn’t worked locally on my xampp server though)
All I can say – this is amazing plugin – saves alot effort when you want to publish many posts
per day. Keep up the good work!
The plugins is broken the new wordpress version. Its broke all the site and the admin panel.
Warning: get_class() expects parameter 1 to be object, string given in plugins/wp-post-thumbnail/wppt.php
This might change the whole scenario, WP 2.9 support thumbnails.
Details here: http://markjaquith.wordpress.com/2009/12/23/new-in-wordpress-2-9-post-thumbnail-images/
I think I found the problem. The function path_to_url is not working right.
The constant ABSPATH of Wordpress is different on 2.9+ versions. It has a final slash/backslash (my server is windows). I edited the path_to_url function on wppt.php on line 277, changing ABSPATH to a string with my path like the plugin wanted.
I did not tested it on Linux servers, but I believe the problem is more common on Windows.
Changed that 277 line again:
return get_option(’siteurl’) . ‘/’ . str_replace( ‘\\’, ‘/’, str_replace( substr(ABSPATH,0,-1), ”, $path ) );
Now it is really working with me.
Hi, I used Wp-Now Elements theme, which included this plugin. Unlike everyone else, I have no problem cropping and saving, however, the thumbnail never actually shows up. Ive tried both the original version and this updated version, but nothing seems to work.
Can anyone help??
The “Loading..” BUG fixed by me.
Download here the fixed wppt.php file (only for IIS).
http://blog.vargapeter.com/2010/01/20/wp-post-thumbnail-02b-loading-bug-fixed/
What a brilliant plug. Only issue I’ve had with the beta was that I couldn’t get my new values to stick. The first one did (though it remained named “preset1″) but the 2nd and 3rd wouldn’t save for some reason. I just loaded up phpmyadmin and I’m all set.
I’m running wp 2.9.1 on apache with PHP 5.2.11. I’m also using cforms and akismet plugins.
Using the media library as the source and adding the ability to update all of the existing thumbnails should win you a nobel peace prize. really great.
Dear detractors, wtf are you doing running wordpress on IIS anyway? c’mon.
I ran into trouble using the ‘function_exists’ check with WP 2.9 (returned false), when loading thumbs into templates.
I used the following instead;
if ( method_exists( ‘Wppt’, ‘get_post_thumbnail’ ) ) {
//Your code here
}
Hope this helps someone.
I have been customizing presets and the number of them in phpmyadmin, so that I can handle more thumbnails with it, but when I extend it to above 10 thumbnail presets, the 11th “just becomes nr 0”, the 12th “becomes nr. 1” and so on. So, when i click on 11th tab, it shows data for preset 0….
I’ve been trying with my few programming skills to fix this, but I really can’t. Have you any idea of how to get rid of this “bug”?
Thanks a lot in advance!
The definitive solution for “Loading” issue is here: http://abeautifulsite.net/wp-content/uploads/2008/05/JSON.zip
Thanks for the great plugin!
This suck nothing working.Or make it to work or dont fuck everybody
I’ve gotten WP to recognize the Wppt class by using the ‘method_exists’ approach that Darrenb posted above (Thanks Darrenb!), however, I’m getting this now…
Warning: Invalid argument supplied for foreach() in /var/…/wp-content/plugins/wp-post-thumbnail/wppt.php on line 182
…which is foreach( $this->wppt_preset as $preset ) in the get_post_thumbnail() function.
I’ve tried passing in my specific custom key name, as well as ‘preset1′.
Can anyone help out here? I’m obviously missing something.
Thanks.
Is this plugin still being updated?
We’ve just come upon this issue where if you try to do a new crop, where there is an existing crop, it will delete the old image and save the new one but it will not update the custom field in the database.
If we first delete the existing crop and then do the new one it all works fine.
It seems like we can’t update these records for some reason, only delete and insert.
Anybody have any idea why?
hay sir
sir can u tell me how to add “Auto Post Thumbnail” in wordpress
sir just look like this web site “http://www.theme-junkie.com”
Plz Sir Tell Me About This mothed
my web site is http://www.Gloori.Com
this is my free wp theme
sir this is my free wp theme link
http://fthemes.com/demonstration/?wptheme=TodaysNews
and this is download link
http://fthemes.com/download/?theme=todays-news
me not understand how to install “Auto Post Thumbnail” in my wp theme
plz sir tell me about this im waiting for ur reply
byee