Nice addition. Any way you can clean it up a bit in wording back to indicate which is the thumbnail clickable link and which is just the embedded link?
Also, any chance to pass on the upload code result right to the post new article body area? Not that copy and pasting is that hard, but an option to create a new post after uploading would be nice.
Good idea about the wording on the returned code. As for adding the code to a new post, I know that MT does this, and it’s something I’d be interested in as well, but for the moment it’s beyond my knowledge of WP to add it.
If anyone want’s to suggest a way to do it, I’d be interested.
Ok, I’ve added the explanatory text to the output, you can find the code at the same place.
Cool, thanks, I’ll check it out… Hopefully this can get vetted into 1.2 before release. Hate to hack the upload.php each time for such and obvious feature…
Spiffy, will have to try it. I just discovered the thumbnail making feature worked, thought it hadn’t but files were there.
Yeah at first I thought the thumbnailing wasn’t working either, because it did not put any code in to display the thumbnail. Hence this hack. Glad you like it.
mumeimagpie,
Would you mind sending me your upload.php?
steve at redmonk dot net.
All fixed on my end — I had some silly extra characters in my upload.php file, but thanks to muchly helpful people all is well! :}
Way to go monkinetic!!!! Thanks!!!
Totally awesome, now I can quit whining π and get back to work making a site and recomending WordPress to customers (the few I have lol).
Photo handling capabilities is a sign of a small cms that makes it great. Now WP has making of thumbs which it had, which is great, and your hack which makes it even better. I appreciate all the hard work the developers and people like you that know their stuff put into it, and am confident that progress will continue.
It would be useful to add this to the regular WP source π
Anonymous
Just want to say a heartfelt “thank you” for this piece of code. It will ease my life immeasurably.
Beth aka woolgathering
I need a username and password to access the page?
Anonymous
monkinetic, this is great. Thanks for that! I would like to add a few style tags to the image / thumbnail links:
style=”float: left; padding-right: 10px; padding-bottom: 10px;
Could you or maybe someone else please point to where these tags should be added within the upload.php (or prob. your code snippet) to always assign above mentioned style tags to a thumb per default?
Thanks,
Chris
Anonymous
This is exactly what I’ve been looking for. Thank you