In version 0.3+, the methods of calling this plugin have changed from previous versions. See page two of this post if you need instructions on how to use an older version of the plugin.
One of the problems with magazine-type WordPress themes has always been that they require more work than an average theme because of the extra image uploading.
I’ve always held the belief that you get back what you put in. The more time and energy you put in your site, the better it will look.
Of course, that’s just a lot of work sometimes, especially if you’re a more casual blogger and simply want your site to look good with extra images that make your posts stand out. My goal is to cut back on some of the work. So, I created a new PHP image script that should help out with that.
I’ve seen some other image scripts that do similar things, or even allow you to add one custom field and it resizes and crops the image for you.
This plugin will allow you to have full control over images displayed, or it takes the power of WordPress and uses its image cropping methods. This makes for a much smaller file size. Right now, the file is under 7kb.
What the plugin does
I like using custom fields to define images for my posts, so that’s what this script was built upon. So, the script looks for the custom fields Keys that you define. If that Key has a Value (should be an image URL), the image is displayed with your post.
If there is no custom field used, the script looks for the first image attached to your post. If there is one, then it grabs that image and uses it.
If there are no custom fields used or images attached to your post, the script has the capability of scanning the post for other images or displaying a default image that you’ve set.
If that’s all Greek to you, don’t worry; the readme.html file included with the plugin will explain everything.
Download the plugin
Note to my theme users: If you’re using any of my themes, don’t install this plugin. This functionality is built into your theme.
- Description: This is a highly intuitive script that gets an image either by custom field input or post attachment.
- Requires: WordPress 2.9+
- Support: Support forums
- Download (WP.org plugin repository)
Please don’t use my contact page or the comments section below to ask support questions. Use my support forums at Theme Hybrid, which is where I handle all support questions for my WordPress projects.
Known bugs:
Version 0.3: The default image and image scan features aren’t working. Fixed in version 0.3.1.
Pages: 1 2
Great Justin. Do you sleep? I’m gonna test this thing out tonight. What you describe this plugin does accomplishes about 95% of what I’m looking for:
If a custom field value thumbnail exists, fetch it.
If a custom field value thumbnail doesn’t exist, fetch the first image embedded in the post body (use the size specified by Wordpress’ thumbnail setting).
If neither a custom field value thumbnail exists nor an image in the post body, fetch the first photo attached to the post.
This would sort of act like a post thumbnail manager. The second part might be the toughest. What do you think?
Sleep? Is there such a thing?
Let me break that process down a little bit simpler.
1) It looks for the custom field image(s) you specify.
2) If none exist, it looks for the first image attached to the post (which would be the first you upload with the media uploader).
3) If set, it’ll check for a default image.
I suppose it’s a bit like a post thumbnail manager, at least to a degree.
Hmmmmm…. I now realize this accomplishes 100% of what I’m after. Thanks Justin! Dinner is on me.
[...] Get the Image WordPress Plugin – Justin Tadlock has released his newest plugin, which was designed to help people with images that use Magazine WordPress themes. Want automatic updates? Subscribe to our RSS feed or Get E-mail Updates Automatically! Digg This! | Stumble it! | Add to Del.icio.us | | Print This! | SHARETHIS.addEntry({ title: “WordPress Talk – May 29, 2008″, url: “http://hackwordpress.com/wordpress-talk-may-29-2008/” }); [...]
I can’t tell you how useful this plug-in will be. Works an absolute charm.
Thanks
[...] Get The Image WordPress Plugin (tags: wordpress plugin) [...]
Thad
That’s great. And, thanks for the dinner.
Ross
Thanks. Let me know if you run into any problems as this is just the 0.1 Beta release.
So far, it’s been working well for me, but I haven’t put it through every single test possible just yet. I usually try to break these things in some way.
[...] Get The Image [...]
super plugin Justin, this is going to be VERY usefull
by default in wordpress the thumbnails are named : nameand the size of the photo, like 2lw006_1-128×96.jpg for example. do you know if there is a way to have the size removed and replaced by thumbnail, to have the name like 2lw006_1-thumbnail.jpg.
thank you very much
Steffy
Thanks. Great plugin!
[...] 5. Get the image WP Plugin [...]
[...] my delight when I found the following two fantastic solutions: Justin Tadlock’s brilliant Get the Image WordPress plugin and Darren Hoyt’s TimThumb PHP Script. Both the plugin and the script take most of the [...]
I’ve been using the Post Thumbs plugin, but will try this put on a new site I’m doing soon.
Steffy
Thanks. I think I saw something about changing the name of the thumbnails on the WordPress support forums a few days ago. I don’t remember the particular link though.
Kolunchik
You’re welcome.
dave
I had never seen that plugin before. Thanks for sharing. I’ll have to check it out when I get the chance.
I use on my site http://www.le-hiboo.com the plugin http://www.alakhnor.com/post-thumb/
That do you have done.
Looks like a good way to make a sitemap for a photoblog.
it´d be nice if your plugin could also look for an imagen with a certain “alt”. That would enable you to select what picture you want for the thumbnailed view even if it´s not the first image on the post content and you aren´t wise enough to figure out the link for an uploaded file.
Alt can be controlled via the image´s description.
I use Flickr for image hosting, as I think many people do. Is it possible to add another condition that looks for a Flickr image link and returns the Flickr thumbnail code? That’s a regular thing, if the image is 04958509.jpg then the thumbnail is 04958509_t.jpg or 04958509_s.jpg
[...] Get the Image WordPress Plugin – Justin Tadlock has released his newest plugin, which was designed to help people with images that use Magazine WordPress themes. Posted in Talk WordPress | 0 Comment | Random Post » var AdBrite_Title_Color = ‘2255AA’; var AdBrite_Text_Color = ‘000000′; var AdBrite_Background_Color = ‘FFFFFF’; var AdBrite_Border_Color = ‘FFFFFF’; var AdBrite_URL_Color = ‘2255AA’; [...]
Awesome. Awesome. AWESOME.
Thank You!
I’ve been trying to do this for a while and this is great.
One question though Justing, How can I skip taking the first image from the post?
Cheers,
Gaj
[...] image cropping methods. This makes for a much smaller file size. Right now, the file is under 6kb. Get The Image WordPress Plugin Optimize Images For Search Engines, Social Media and [...]
I’ve been playing with the plug-in and have made it live on my site, it fantastic. My home page load nearly 10x as fast. however some images are not converted into thumbnails? any ideas?
http://www.gaj-it.com/index.php/page/7/
I’ll take this into the forum
I am looking for a way to include images in custom fields to show it to my RSS subscribers. Should I go for this or the other plugin custom-fields-for-feeds ? ? I used to use the visionary theme for my previous mag. and for this one I use the arthemia theme.
P.S you need to have the comments subscriber plugin….yea, i am kinda lazy
Get The Image WordPress Plugin…
This plugin will allow you to have full control over images displayed, or it takes the power of WordPress and uses its image cropping methods….
I have implemented this plugin on a beta magazine site however, what i have noticed is that when I have 6 new articles appearing on the front page, each with their own 50×50 crop image, it seems that if I attempt to reuse an image from one post to another using the media gallery, it will not display the inline image from the post using the plugin here. It will only output the “no image” comment in the resulting code. Thoughts? If I insert a new image into the same post and resave, it pulls the image out fine, just can’t seem to reuse images.
Tod
Thanks for using it. It does come in handy.
Jonathan
Very cool idea. I’ve never even thought of using it that way. Definitely worth trying out.
tricky
That’s what the custom field is for. Just set the image you want as the custom field instead of letting the script do all the work.
indi
Just use the custom field option if you want to use Flickr images.
Jeff Mackey
Well, you’re welcome!
Gaj
Use the custom field option if you don’t want the first image displayed.
TheAnand
If you’re only using custom fields, then the other plugin is what you’ll need for your feed. This works in a much different way.
Steve
If you don’t upload an image to that particular post, it’s technically not “attached” to that post. It’s attached to the previous post, which is why the plugin won’t show it.
If you just want to reuse the same image, you’d need to use the custom field option.
Does this plugin need to be used within the context of “The Loop” or can it be used elsewhere as well?
[...] there are several image resizing plugins and scripts out there (such as Viva Thumbs, TimThumb, or Get the Image), and Andrew of Fun with WordPress has created a plugin to facilitate the inclusion of EXIF [...]
[...] Get the image plugin [...]
Adam
Yes, it needs to be inside of the Loop. Well, technically, it grabs the global
$postvariable. So, if you set that, you could use it anywhere.I don’t see much point in using it outside of the Loop though. Its purpose is to grab a post’s image attachments or custom fields.
[...] Get the Image plugin – Download [...]
Hi Justin!
I was using this plugin at my site and working fine, but after downloaded the plugin version for WP 2.6 (because I upgraded to WP 2.6), it stop working…
Must I change something from previous version for the new to work?
Very thanks..
Awesome mate! We were making a video sharing website for japanese animes, I had wasted a lot of time to think a code for what your plugin does in 1 row!!! AWESOMEEEE!!!
Hi there!
Is it possible to extract only the relative path (entire URL will do also) and the image name eg.:
/wp-content/uploads/img_2531.jpg
Best Regards Krezz
Since i update to Wordpress 2.6 Post Thumb from Alakhnor doesen´t work anymore and the Website from Alakhnor a infected with a trojan Virus since a few weeks.
So i used the get image plugin…it works like a charm, thank you for this!
The only problem that i have is that only every second image would be displayed?
Have i done something wrong?
[...] Get the Image – This is a sweet, little plugin from the very brilliant Justin Tadlock. It will make it easier for you to include post thumbnails and featured photos for all your posts without using custom fields. More on that in another tutorial. Again, if you decide not to use it, the theme will function fine without it. [...]
My users hotlink to their image hosts (flickr, Picasa, zoomr etc) using those sites “embed URI” html in the posts…
How do I get the thumbnail to show up for those posts? I’ve tried specifying a custom field key of ‘thumbnail’ and a value of ‘http://URItoIMG’ but no joy, as it’s not an attachment to the post…
The embed img code displays fine in the single post view, as expected, it’s just parsing HTML, but I would also like to be able to display a thumb of this image (CSS “resize” of main hotlinked image).
Any ideas?
Thanks.
ooops!
Forgot to mention that this is a WPMU 2.6. site!
The thumbnails work fine (minor css size ignore going on) on the sub-blogs, but I guess the path doesn’t isn’t resolved if I display the post on another subblog. I’m not quite sure why as the the link (to the external site) is the same…
Is there a way to use this for pages and the wp_list_pages template tag?
[...] the plugin here. Installation is pretty simple [...]
I tried making changes to the image site in the plug-in editor for the file, but i still not seeing the Thumbnail size that I want. Looks like i’m stuck at the ‘medium’ setting? Any ideas to help me?
I tried making changes to the image size in the plug-in editor for the file, but i am still not seeing the Thumbnail size that I want. Looks like i’m stuck at the ‘medium’ setting? Any ideas to help me?
Thanks for making this available! It was exactly what I needed.
Not exist related post thumbnail?
Hi Justin,
Would you know how to write a conditional statement for this?
I would prefer that if there was no image in the post, for nothing to show, instead of an empty anchor tag.
Thanks for any help, and thanks for a great plugin!
WP ought to implement this in a future release and make get_the_image an official template tag.
This was exactly what I needed. Thanks a lot for an awesome plugin.
Hey awesome plugin. But I’m afraid after plugging it into my blog I am getting no effect.
Reading through your extensive notes here I find myself very confused as to how to go about getting this to function.
Later in your post you mention that you’d be happy to help implement the plugin. I followed the link to find a link to an entirely different site with a signup process that didn’t seem to want to let me sign up.
I’m very computer and internet savvy but could really use a few pointers for getting your great plugin to work.
[...] Get the image [...]
Still trying very earnestly to get this plugin rolling.
Is there any way I could get anyone to help me find this kind of section:
In the Revolution Music 1.0 theme?
If I could do that I may be able to figure the rest out my self.
Sorry I meant to post this…
-div class=”entry”-
-?php the_excerpt(); ?-
-/div-
Is it possible to get the MEDIUM SIZE of the image? How to do this? get the MEDIUM SIZE that I mean.
Thanks
Hi, could somebody give me a helping hand? I downloaded the plugin, installed it but I dont know how to customize it… all I want is for the plugin to pick up the first photo from the post and use the photo for the IMAGE Custom Field to generate the front page thumbnail. Can somebody tell what I need to change in the plugin? So that each time when I write a new post and upload a new image the plugin to pick up the image and use it as thumbnail for the front page carousel. I use the Mimbo Pro theme, has a magazine look, and adds images to a carousel and thumbnails to the front page but at the moment I have to add the link of the image at every new post in the IMAGE CUSTOM FIELD, would be great if I can use this plugin so that the CUSTOM FIELD picks up automatically the first photo from the post.
thank you
hey did you figure out how to get images onto the home page like in the demo of the theme?
If so im struggling to manage it myself. Any help would be much appreciated!
If anyone needs help using this, feel free to stop by my support forums.
Exactly what I was after: a plugin that uses key fields to define a thumbnail and original size picture. Great, simple plugin.
I would welcome if this plugin make thumbnails of videos like the Post Thumb Revisited plugin here , which is not supported anymore for WP 2.6+.
John
Thanks. That’s the point of this thing — adding a lot of power but keeping things really simple.
Roman
While that sounds like a decent idea, I’d much rather use the WordPress API for something like this, which keeps things simple, manageable, and very lightweight. And, on top of that, it’s very easy to keep it updated for any version of WordPress because, well, it’s built on the core WP code.
Perfect.
Very much appreciated Justin.
Is there a way to grab an image from a gallery? I can’t get this plugin to work for me; the posts have plenty of images but using the wordpress gallery. The random image does work — only that plugin grabs images from any post in a category not a specific post.
oops I see the forums now. Will post there. Sorry for the clutter!
Thanks a bunch for this. It works a treat. I just had one of those moments where you realise “oh, wordpress can’t do that” … but it seems that with encouragement it can. So thanks
very useful plugin.
Could you add a functionality so that the plugin can choose a defined image by way of it’s order. At the moment it takes the 1st image in a post’s gallery, how about an option to take the 2nd, or 3rd image?… e.g.
this would take the 3rd image
CG
You can order your images in the media uploader, so that feature wouldn’t be very useful at this point.
Anyone else asking for help
Post your questions over at my support forums.
[...] Auto-generated thumbnails for your archive pages. [...]
[...] Get The Image เป็น plugin ที่สั้นๆง่ายๆ ไฟล์เดียวจบ แต่มีประโยชน์เหลือหลาย ใช้เพื่อดึงรูปจาก custom fields เช่นถ้าเราใส่ข้อมูลแบบนี้ลงไปใน custom field อันนึง [...]
Your plug in is so great. Thanks a lot.
I also made my theme to use your plug in. Very easy and nice
The third part, tells the script that if there are no images found at that point, to display the image found at “/wp-content/my-image.jpg.”
—- How do you enable this system? What’s the code?
The plugin fails to hide the caption id when the image is on top of the post. What can we do about?
Sunny
If you need help using the plugin, stop by my support forums.
Newsjunk
I’m not sure at all what you’re referring to with the caption ID. Currently, this plugin shows no captions at all, but it a may be an added feature in a later release.
hi!
After searching for about a week for what i need i found this page and it sound like it-s just the thing for me.
One small snag : it does not work.
I’m betting on this feature : “If there is no custom field used, the script looks for the first image attached to your post. If there is one, then it grabs that image and uses it.”
As u can see here: http://www.adirafail.ro/demo/junior/wp/?page_id=24 – on the right i only get some names and i definetly have pictures.
I used the code like this (if i put echo in cide it shows an empty blank page):
Deleted by admin. Please properly format code when posting for a WordPress comments area.
Can you please help me?
Thank you
the code i used
rafy
If you need help, you need to go to my support forums.
[...] Get The Image [...]
All of my categories are rss feed from another site that i manage. It works fine but the thumbnail images are not auto-created from the rss feed. I can view the images when i am in the post, but not the preview. Is there a way, plugins, scripts, etc. that can do this? Much appreciate.
my site: vinhx76.com
Thanks!
First of all, thanks for the wonderful plugin. This is being immensely useful in a new site I am developing. I just wanted your advice on a couple of queer behaviours I noticed.
1. The custom field “product_image”contains an image that I want thumbnailed in its excerpt. However, I observed that instead of taking only the image from the custom field, the plugin takes the first image that was uploaded for the post – whether custom field or in the main content area.
2. I get only the full-size image if I use get_the_image_link(array(‘product_image’),’thumbnail’)
but get the thumbnail if I use get_the_image_link(array(‘product_image_thumb’),’thumbnail’)
However I don’t find any documentation about this anywhere. I am completely puzzled….
What is it that I am doing incorrectly?
Any inputs will be appreciated.
Thanks
Ashish
vinh and Ashish
I have support forums for support questions.
[...] Create a “Image” key custom field for the post thumbnail. If none is defined, then the first image in the post will be used as thumbnail. You need to define the full image path on line 10 of index.php and line 14 of search.php. For more on the thumbnail generation, check here. [...]
This plugin is a lifesaver – you’re a star, man! Thanks a bunch!
Thank you very much for your plugin! It does exactly what I need.
I have only changed it a little and one another function get_the_image_src it gives me the possiblity to have more control on output and use it also in posts.
Paul Raven
No problem!
Alexey Vidanov
I’ve got a major update coming in the next week that’ll give you even more control.
There’ll even be a way to extract the image source easily as well.
Great plugin, it replaced what I was trying to do in scripts and hit a wall on.
Problem – made a new post today, selected an existing image from the media gallery and completed the post. The image shows in the post correctly, but on the excerpt where I am using get_the_image_link I get the default image.
If I load a new picture, or in this case, reload the prior picture, it is seen as a new image attached to the post and your script catches in fine.
But when adding existing pictures, the issue occurs. This is a common practice because while I use images for every post, writing about a company or product where I just grab a logo or stock image, I would have to reload it for it to be detected properly.
Hope this helps and once again thanks. I was trying to do this in a long nested if and could not getting it working right, and this is a simplier apporach.
Jim Skamarakas
I think you’re misunderstanding a little of what the plugin does.
It currently only grabs images attached to the post or by custom field. Images used earlier that are in your media gallery are not considered (by WordPress) to be attached to your post.
There’ll be a few more options in the future that might cover some of your needs though.
Perfect! Just what I was looking for! Thank you!
[...] I was about 95% there. Here’s another plugin I tried, but I couldn’t get it to work the way I wanted….that’s [...]
excellent plugin i was just making this as a page template for myself when i came accross this.
nice plugin, but I have to learn more before use it and apply it on my blog
useful plugin, thanks.
How to make a thumbnail image on the post, which the url source of the image looks like:
http://mydomain.com/image/thumbnail.php?url=http://otherdomain.com/images/image.jpg ?
this method great to be used on affiliate site, whereas we don’t need to store the image.
any suggestion?
thanks
If anyone has support questions, stop by my support forums.
This plugin is a lifesaver – you’re a star, man! Thanks a bunch!
[...] Get The Image WordPress Plugin Inizialmente potrà sembrarvi complicato, ma ciò che questo plugin fa è fornire due essenziali funzioni per recuperare dai vostri post le immagini contenute nei campi personalizzati (se esistono) oppure basandosi su quelle caricate tramite il media uploader. Fornisce interessanti opzioni di styling e pesa in tutto 6Kb. Da provare. [...]
[...] Gunakan plugin Get The Image. [...]
so i’m reading this enormous thread and see that you point at least a dozen times to a support forum that has NO clear support thread for this plugin!!
could you please provide a direct link to ANY material that will assist in usage without requiring users to go through a registration and join process just to find some simple text?
there would appear to be roughly 10+ comments asking the same question, “i want to pull the first image and stick it into a field for this magazine layout” etc – but not one is answered, just endless links to support forums that have NO clear path to the answer! and registration required? must join a club? i’m at a loss…
dave
The answer to how to use the plugin is in the post itself. If you need help setting it up, you have to join the club to ask support questions. We have a dedicated forum for all my WordPress plugins.
i hear you – and thank you for offering such an incredible free plugin and free themes – but what i ‘m talking about is the basic need for documentation, like a link to ‘documentation’ or a readme, or the ‘answer in the forum’ – asking people to click through and register for something is tedious, and for what? do you *need* to collect user data to support free themes? that’s the inference…registering for premium support totally makes sense, you make money doing that, but free access to forum postings offering free support for a free plugin requires registration? just doesn’t make sense to me…it would be like if apple pointed to support docs and then you realized that you had to create an account at apple.com just to read them for free – that’s the nytimes.com model of 4 years ago, and it’s why sites like bugmenot.com exist!
dave
I don’t think you understand correctly. There is no “free support for a free plugin [that] requires registration.” You must pay for support at Theme Hybrid. Otherwise, you need to use the WP.org support forums.
The “documentation” you speak of is right here. If it’s not easy enough to follow, then the user isn’t at a level where they need to be to use this plugin. It requires some knowledge of editing WordPress templates. There’s just not much else I can do about that.
A WordPress comments section is no place for supporting plugins or themes. Believe me, I’ve tried. I have over 900 comments on one of my theme release pages alone. It’s just too messy. That’s when I first set up support forums. So, if someone needs my help using the plugin or they want to use it bad enough, then signing up for a membership shouldn’t be too much trouble.
i hear you on the wp comments threads for support – most are insane and impossible to follow! and yes, the documentation makes sense to me, and i understand the theme templates and calls, it’s just all a little unclear above where you repeatedly steer people to support forums as if there will be answer at the link when in fact it’s a top level link to a registration service – perhaps a more suitable reply would be “the documentation is on this page, if it doesn’t make sense then you can pay to join the support forum for more advanced support on the plugin or themes i offer” – sometimes crystal clear helps!
*** Wordpress users need to know that this is a plugin for high level wordpress users. It is not your average upload and use it plugin. The creator of an new template I just purchased recommended using this plugin which brought me here.
I installed it and looked for some step by step instructions or settings or a readme file and was completely lost, I visited your forums as suggested, realized it was paid support and decided I’d delete the plug in and continue to do my thumbnails manually and then boom the plug in started working automatically putting thumbnails in my preview posts. Fortunately, my template has some of the needed code pre-integrated so there was nothing for me to do.
I begrudge you nothing for expecting to make a few dollars off of your hard work but you really should make it clear at the top of this post that the plugin is for expert users and you offer paid support for non-experts. It really is a nice plugin if you can figure out how to get it working but newbie wordpress users should be forewarned.
Dave and John Lessnau
This discussion on how well my plugins are documented or how clear the instructions are ends now.
I understand both of your points clearly, but I’m going to run my personal blog how I see fit, even if that confuses some people.
When was the last time I came to your blogs and told you how to run them? This is a rhetorical question.
Hi Justin,
This is a great plugins.
Is this plugins compatible with wordpress 2.7?
regards,
stef
Yes, it’s compatible with WordPress 2.7.
Hi, great tutorial.
Is it possible to change the thumbnail dimensions to 130×90?
Oops, I must have been blind. I found it in the stylesheet.
If anyone else has the same questions just edit the themes stylesheet for .custom_image
Thanks
Thx for this plugin, really efficient in my case because I want to avoid the use of custom fields, but I’d like to use the “LARGE” size image available in Wordpress 2.7 by default and not the medium …. I replaced “medium” with “large” everywhere in get-the-image.php, but nothing appear …. Is there anything else to do to make it work ?
Regards,
Elody
[...] Get the Image plugin for WordPress is one of my favorite plugins because it handles all of the work when I need [...]
Lovely plugin and I think your documentation is spot-on.
My only minor hiccup was that I was all excited about the new wordpress automatic plugin installer, so didn’t immediately see the very helpful readme file tucked away in the zip file.
Many thanks for a great plugin: much appreciated.
Elody — You should NEVER edit plugin files unless you’re a developer. If you need help using the plugin, you need an exclusive account at Theme Hybrid.
Victoria Clare — Thank you for taking the time to read the
readme.htmlfile included. And, you’re welcome for the plugin.[...] Get The Image [...]
Is there any way to just output the image ref without “<img src…” – so I can just extract the “http://image location / name” ?
Thanks
I’m using the latest version of Get The Image and pasted in
into the theme in the right place, right before the_excerpt. But I’m getting the following error:
The function has been deprecated. You need to update your template file calls to get_the_image().
I’m seeing this on some other sites too. Any insight?
Dave — No.
Mojo — Please take the time to read through the
readme.htmlfile included with the plugin.[...] Get The Image WordPress Plugin [...]
I wanna get only the image URL. Continue to use the old version…
@Mojo:
Deleted by admin.
That may be the problem.
Galatasaray — This may be a feature I might add in a future version, but could you explain why you want only the URL.
Alistair Barnett — I deleted most of your comment because I feel it undermines my authority on my blog, especially when I have support forums for asking support questions about the plugin that users are welcome to use.
I tried this plugin, and it works fine but why don’t people just use their own custom fields?? If you’re relying on the three images Wordpress generates anyways, I see no need to have some plugin allow me to simply call them semantic names. Not to mention you seem a “tad” overzealous about the whole deal.
Peace.
Mike — I suppose I’ll try to answer the best I can.
People either tend to want something that’s easier or think that custom fields are too hard. Why? I don’t know. That’s just the truth of it. I personally use this plugin but only for the custom field option because it puts less strain on the database.
Are you sure you understand what this plugin does?
I’m not that enthusiastic about the plugin. There seemed to be a need for it and many people asked me for this functionality in a plugin, so I created it. I don’t understand why you would think I’m enthusiastic about it. I’m much more devoted to my theme work.
Hello Justin,
I wanted to use this plugin on one of my client’s site. The problem is that all images that are used in the posts are embedded via the Nextgen Gallery plugin. I used it to that plugin to centralize all the images / slideshow. In the latest versions of the plugin you can just pick a picture from you slideshows to embed in your post just like you would doing with the default wordpress gallery.
Now, unfortunately your plugin doesn’t recognize the images ‘attached’ to a post via de Nextgen gallery. I don’t know exactly how your plugin finds the image in the blogpost but I saw in the source code that Nextgen embeds the images on a different way then the wordpress gallery (it uses a shortcode [singlepic])
If you now feel challenged to also make your plugin compatible with images embedded via the Nextgen Gallery.. I want stop you doing so
It would even make me smile.
greetz,
Rik
I’ve seen a lot of chatter on the blogs and on getacoder about this plugin. I must download it. Thanks for your efforts.
This plug-in is just great!
Thx Justin!
[...] “Get The image” made by Justin Tadlok and it’s available to be downloaded from here. However, if you are using wp-them.es WordPress Themes it is not necessary to download the plugin. [...]
Wow!!!! This is what I’ve been looking for in years
hehe…
Thanks a lot for this!!!
—
Hi, Justin.
I am wondering if you submit this plugin to wordpress plugin directory.
Because I use the old version of this plugin and I know about this update ONLY because I subscribeb to your feed via email.
In the plugin page itself, it doesn’t have any notification to update the old plugin.
In my opinion it would be good if this plugin have that auto update feature like all other plugin, just incase if I missed out one of your emails later on.
Nice work!
Keep it up.
Cubus — This plugin uses attachment images by WordPress standards. It’s not my plugin that should be working with NextGen. NextGen should work within the confines of WordPress.
Blog Shot, Paz, & MissAnn — You’re welcome.
Pangeran — Thanks for the feedback. I must ask, how did you keep up with plugin updates before WordPress’ auto-update feature? It’s a fairly new invention.
“All other plugin[s]” do not have the auto update feature.
Either way, I have submitted my plugin to the repository but haven’t heard anything back from the folks at WP.org. If they ever get back to me, I’ll see about adding it. I must say that I’m frustrated enough with it at this point that I’m thinking about not using it at all.
I start using wordpress at version 2.3++ something around that.
If I not mistaken, the auto update feature exist at the nearest time when I’m start using wordpress.
What I mean by “auto update” is something like the notification in the plugin page and also the link to download, install and reactivate the plugin from wordpress interface without the need to download it from plugin homepage or wordpress repo and manually upload it to our hosting with the
ftp.I once submitting my theme at wordpress, they emailed me after 2~3 days after the submit. They email whether me they reject or accept your application.
Most of time they reject, because they don’t like sponsors link.
That’s theme, and I just never yet creating any plugin to submit there…
[...] Get The Image Cleaner Gallery Widgets Reloaded JavaScript Logic List Subpages [...]
[...] have used Get the image plugin as i have mentioned here to display thumbnails on search, archive, tag and homepage. [...]
Hey Justin,
You do awesome work!
2 quick things though:
It’s really awesome that there is a link to the post, but a link to the image would also be extremely beneficial, as it would be picked up by shutter-reloaded, lightbox and such.
After installing the latest version (0.4) The readme file completely took over my site and I had to remove it. I’m not entirely sure what happened, but I had to delete the plugin completely just to login to the dashboard.
Funny, I was just looking for that feature for the image link, like Scott just asked for.
@Justin, I can understand your frustration with WordPress Plugin Directory, I doubt that they will let you on there, since your Plugin is linking to your Theme Club and support is only for people in your Exclusive Theme Club. We had the same problem, we created a Plugin, which is beneficial for the WordPress community, but since it is not GPL conform we cannot be on there. Like yours.
Oh, and don’t expect to get an answer, we didn’t even get a notification when they threw us out of the repository.
Last thing, I always wondered why you never have a favicon on your blog. You have such a quality blog and great posts, it would be beneficial if everybody could recognize your blog among other open tabs immediately. A little branding cannot harm
Great Plugin!
Not A Niche — Actually, I have themes from my theme club in the theme repository. All of my work is GPL. The non-response I got was probably because of a glitch in the system somewhere.
I love the plugin, I would try to adding into my blog.
It must be more attracting.
Thanks Justin, Good luck.
I was just about to sit down and write a similar function for myself. I’m glad I found this first, it’s exactly what I was looking for!
Thanks!
[...] Get the Image – If you like to post pictures with each post, this will grab the image so you can post a thumbnail [...]
hi Justin, this is a great plugin. I installed it on a WPMU site with tonnes of images and it worked incredibly well. I have a suggestion to make it even better. On posts with many images, sometimes the author re-arranges the order of the photos or replaces photos, then it is difficult to manage the thumbnail produced. I know you can enter in the key of thumbnail and value of the url, but it is a bit of work to track down the correct url for the thumbnail. my suggestion is to add a panel in the post admin that shows all the images attached to that post (and even use the image scan to see if there are others in the post content) then allow the user to click which one should be the thumbnail.
is using the image scan resource intensive? if I disabled all the other parts of the plugin and just used the image scan (which totally rocks by the way!) will it slow down the site when looking at a page with 10-20 thumbnails.
thanks again for your excellent plugin.
This is really wonderful plugin, But dont know how I can use it for WPMU ??
Get-the-image for WPMU usability would be amazing!
What I need to accomplish is getting Get-the-image working with this List-all-recent-posts plugin:
This grabs all recent posts site wide and displays them – but it doesn’t grab images. If somehow the could be added in the source for list-all-recent-posts and achieve the effect of grabbing recent posts site wide with the get the image functionality it would solve all my problems!
Some please look at the code and help….
Thanks!
@Deryk Wenaus – do you check this site? Can you email me?
Some parts of this comment have been removed by the site administrator.
[...] Latest Get The Image [...]
[...] Latest Get The Image [...]
[...] Latest Get The Image [...]
[...] mea, simpla. Este foarte simplu…in primul rand, trebuie sa downloadati pluginul Get the image de aici Dupa ce l-ati luat il urcati in plugins, dupa care il activati. Cand scrieti un articol, la custom [...]
After having a heck of a time trying to get thumbnails to work in WP 2.7 (which they are automatically supposed to do and do not), I finally came across your plugin.
I’m not a php expert by any mean, but can get my way around a little with good instructions.
Your instructions on the code and how to add it to the php file were very detailed.
I just wanted to say a big “THANK YOU!” It works! I’m using a magazine style theme and could not get thumbnails to auto-resize.
Your plugin did the trick.
Jual Backlink — You’re welcome. This plugin can definitely help make blogs more attractive sometimes.
Ben — Well, I’m glad I could save you some time. Now, you can go grab a beer or something instead of looking over code.
Deryk Wenaus — Thanks for the suggestion. I don’t think I’ll be adding an extra panel though. One of the goals of this plugin is to be as lightweight as possible. Also, the image scan shouldn’t be resource intensive.
Dev — Please ask any questions about how to use it on my support forums at Theme Hybrid.
bob — I’m deleting the link and email address you posted in your comment. Please ask any questions about how to use the plugin on my support forums at Theme Hybrid.
Patty Gale — You’re welcome!
I’m glad you like the plugin and it works for you. I’m glad you found the instructions helpful.
Great plugin. Lucky that I use WordPress
This Plugin makes a bloggers life so much easier. Many thanx for that.
I just wonder if it wouldn´t be a good idea to enhance it in a way that it is able to produce thumbnails or even larger images of a size that can be defined. Such as 150px wide and 50px high without killing the aspect ratio. I guess Timthumb can do this but it doesn´t work so automatic.
Any plans into this direction?
Dear Justin,
I need your help, I am using your get the image plugin with wordpress 2.7 version, and my blog was running on root, it was working fine, today i move my blog to sub directory, and your plugin stop to work and images are not displaying. its showing old path under image location. Even i updates the images path in each post. With post all images are displaying. How to solve this issue?
[...] Get the Image – This is a sweet, little plugin from the very brilliant Justin Tadlock. It will make it easier for you to include post thumbnails and featured photos for all your posts without using custom fields. More on that in another tutorial. Again, if you decide not to use it, the theme will function fine without it. [...]
This is a really really great plugin. But I have a question about what I can do to use this is in my category template with multiple posts. Basically, I want to use the attachment function to grab one medium image and three thumbnail images from every post to display on the category page as a sorta lead-in to each post. All was working really well until this happened, check it http://fmu.fireintheattic.net/topics/projects is showing different images than those in the post, should be 1,2,3,4 but it is showing 16,15,14,13. Some kind of reverse order. Any help would be great, Thanks all.
This comment’s text has been removed by the site administrator. Please don’t double post your comment. And please, follow the directions on how to get plugin support.
@Ajay
Removed by administrator. I would never advocate editing any plugin file.
Basically I uploaded two many images while creating a post. I didn’t intend on using all 16 images, just kinda lazy use of the uploader. Anyway, It cycles through all images in the gallery and for me, it posted the last images uploaded even though they weren’t in the post.
Hope that works. Justin, thanks again for this great plugin!
And…. Sorry Justin for multiple posts but
I just noticed all the gallery options available in the uploader. Going to play with display order some more. Ajay, try this out as well.
I am using Version: 0.2 and I dont know where is ASC, I could not find.
As well as this problem starts when I moved my blog root to subdirectory.
I don’t know why get the image plugin showing old images path. but for hyperlink it shows correct.
[...] Get the Image [...]
Sie sagen:
1) It looks for the custom field image(s) you specify.
2) If none exist, it looks for the first image attached to the post (which would be the first you upload with the media uploader).
3) If set, it’ll check for a default image.
———-
‘order_of_image’ => 1
Wie kann ich für Anzeige letzte Photo aus Post automatisch machen?
In eine Post sind verschiedene Zahl Photos.
———
P.S. Ich benutzte Custom Fields Plugin für Ännerkennung wichtiges für Annoncen Photo. Fast immer muss es nicht Erste Photo sein. In Guzel-Theme eine Extra-Index Umgebung gibts, so genannte “features.php” (hier es klappt nicht) und etwas unten normlale Annonsen zu verschiedene Posts aus 4 Category (hier arbeitet mit Information aus Custom Field).
Ajay — You need to upgrade your version of the plugin. And, if you have any questions, ask in the support forums.
Cats — Bitte fragen Sie Fragen zu den Support-Foren.
hi,
I use atahualpa theme with WP2.7.
don’t know where to put .
i just want to have thumbmail in my archive pages.
not fluente in php or any code, ( and so in english, I’m french…:)
any help ?
thanks by advance
laurence — Please don’t use my comments section to ask support questions. Use my support forums if you need help with the plugin.
I am upgrading the website form WP2.5 to WP2.7 I am doing a little test of my template first and I am having a problem with the get the image plugin.
I am getting this error:
The function has been deprecated. You need to update your template file calls to
This is my php code:
Any help to get this working on WP2.7 will be much appreciated!
Thanks
A.
Part of this comment has been deleted because of improper posting of code. Also, please follow the rules posted for this plugin about asking support questions.
[...] Get the Image – This is a sweet, little plugin from the very brilliant Justin Tadlock. It will make it easier for you to include post thumbnails and featured photos for all your posts without using custom fields. More on that in another tutorial. Again, if you decide not to use it, the theme will function fine without it. [...]
[...] the plugin here. Installation is pretty simple [...]
Hi, I want to thank you for such a great plugin. I had been working out for ages on how to make another plugin thumbnail excerpt create valid xHTML code, however, I am not a php expert and just could not figure out how to change it. So hours and hours of searching and fixing etc, I came across your original custom field thumbnail and then this solution. So as it worked a dream and created valid xHTML I was so appreciative = big thanks
I’ve just installed and put it working with custom css class. Really great plugin, probably the best i’ve used to make things automated. Very nice work, congrats
You have pratically everything covered for automatic thumbs
[...] that really sold me on this theme. This feature is implemented using a custom version of the Get the Image plugin developed by Justin Tadlock. This plugin is like a cascading image seeker that degrades [...]
This comment’s text has been deleted by the administrator.
Maura McDonnell — I’m glad you like the plugin. It’s definitely my favorite plugin that I’ve made.
|X-Crap| — Thank you. I’m happy you found a solution that works for you.
Alec — I have deleted your comment because you brought up a discussion that I’ve already said not to continue. I find this both insulting and disrespectful. How I run my blog is not up for discussion.
[...] http://justintadlock.com/archives/2008/05/27/get-the-image-wordpress-plugin [...]
Works great, thank you
[...] Get the image. Plugin que realiza la tarea de crear thumbnails de manera casi [...]
[...] Get the image. [...]
[...] Get the Image – This is a sweet, little plugin from the very brilliant Justin Tadlock. It will make it easier for you to include post thumbnails for all your posts without using custom fields. More on that in another tutorial. [...]
[...] the plugin here. Installation is pretty simple [...]
Great plugin!
A small suggestion in get_the_image.php after
$classes[] = $image_class;:$classes = array_unique($classes);Justin Nice plugin!
I already use a couple of plugins……
With the beginning of problems, but this WordPress 2.5 + is very useful to me.
Very good work ..
Thank you very much
Do you have change logs? different between each version justin?
[...] the plugin here. Installation is pretty simple [...]
HI, Justin can you tell how this site is using the gallery.. is this a custom gallery??
techchuck.com
Hi
Maybe I’m a bit slow – and maybe this is a long-looked-for solution. Have I understood it correctly, that this plugin will generate thumbnails as shown eg. here: http://www.dolcevita.no/liguria/
It generates a thumbnail from the first image in the post (in our case always placed below the “more” tag) and displays it on the blog’s post page (in our case. eg. the Liguria page). It is triggered by a plugin + a piece of code inserted in the appropriate templates.
The big question: Will Get the image do the job?
The smaller question: Is it even possible to make the thumbnail link automatically to the post it’s picked from?
(The plugin I’ve used so far – Post-thumb revisited – is no longer updated, so we really need a replacement)
Thanks a lot
Kjetil Flekkoy
hi i currently use version 0.2 and when i try to upgrade it to your new version. The default image no longer shows.. any help?
nice plugin dude
i’ll try
I don’t seem to be able to get the custom fields to work??
MY issue I’m showing a post in three different spots:
Featured on Homepage with a Medium sized image
Full Post with Large sized image
Side Bar – sub featured with Thumbnail sized image.
I have set up 2 custom fields:
medium_img (to link to the image to use here /2009/04/image_name.jpg)
large_img (to link to the image to use here /2009/04/image_name.jpg)
thumbnail just picks up default if this is used – ie first attached image.
The 2 custom fields don’t work they just show the post title in and image block as a link?? Any ideas what I’m doing wrong?
If I leave everything as thumbnail in the array it picks up the first image and shows that everywhere at the three different sizes but I really want to be able to show different images in each instance if required.
thanks
[...] samples and one plugin: Simple Image Grabber, WordPress Forum, Live Experience, WP Recipes, and Justin Tadlock. In nearly every set of comments, people were trying to figure out how to integrate the image [...]
Just started using the plugin with some minor changes on http://www.realestatetoday.co.il with a custom theme that we created specially for this local real estate news site. This plugin really made and hour of tweaking into minutes!
Thank You!
@tonestar – I had the same problem when renaming the keys, not sure why. Since I am displaying only one image you can just rename the default keys inside the plugin code if you line. You will find the following code at the top of the plugin :
‘custom_key’ => array( ‘Thumbnail’, ‘thumbnail’ ),
@Bloginstall in the end I just left it as default – again I only use on image so I attach it but don’t insert it into the post and then have three sizes that I can display it at
Great plugin, exactly what I was looking for.
One thing though. Am I right in that it only works with images uploaded into Wordpress and not images hosted elsewhere, like Flickr?
I use this plugin and i like it, thanks for that.
Hi, great plugin, but I think it may have a bug: when an image from the media library is used twice anywhere on the site, that image’s thumbnail does not display in the post preview.
Andrew Owen — It depends on what you mean by “works”. But, yes, you can use images from Flickr or wherever.
bisnis internet — You’re welcome.
Alex — There are no bugs in the latest version. Everything works as intended.
Alex is right I am having same problem. If an image is used more han once it does not show. I am having to use scan but that is really disappointing – sheffieldgreenparty.org.uk
Hi,
Wonderful plugin, thanks. I have a problem though: When trying to display the thumbnail size image (set to 130px X 110px in Wordpress) I get images with the dimensions 269px × 114px. I have no clue where 269X114 comes from.
Any ideas?
Thanks a lot!
Jonas — Please ask support questions on the plugin’s support forums.
[...] field route (and using non-WordPress resizing scripts like timthumb.php), I recommend using the Get The Image WordPress Plugin by Justin Tadlock. A quick list of [...]
[...] Get the Image – This is a sweet, little plugin from the very brilliant Justin Tadlock. It will make it easier for you to include post thumbnails for all your posts without using custom fields. More on that in another tutorial. [...]
[...] the plugin here. Installation is pretty simple [...]
I have not installed the plugin on my site but I get all that you’ve described. First image uploaded into the post as thumbnail and stuff…May be my theme too has it by default.
But Justin, you look like Bear Grylls (Man Vs Wild show on Discovery Channel).
I love the work Bear Grylls does and love the work you do too.. Keep going
thanxs for removing the bug and helping us find a simple solution for the resizing stuff
Hi again
This plugin is great!
I I’ve understood correctly, I can just insert this code: into a template (eg above and the plugin automatically generates a thumbnail from the post’s first image – which is displayed on the blog page. Simple and easy.
The most tricky part seems to be reading the ReadMe file well enough (well enough to set the ‘image-scan’ in the plugin file to ‘true’).
Sorry if this became a mini-tutorial
) – I’m just happy to find an easy way to replace Alakhnor’s “Post-Thumb” plugin which is not developed (and has kept me from upgrading WP) beyond v2.5.1. It even links the thumb to the post!
And it looks like all I have to do is to replace the Post-Thumb code with the Get image code in my templates.
Just one question:
If I’ve understood things right, the plugin really doesn’t generate any thumbnail but displays the original image in miniature? If so, it is really important to make that image as light-weighted as possible.
Thanks a lot,
Kjetil
Good work Justin!
It would be a nice feature if it were possible to resize the image, not rely on predetermined sizes like Thumbnail.
Just a thought. Very smooth nonetheless.
Great plugin, thanks.
I was using the “Post Image” plugin, but it stopped working with new uploads when I migrated to MU. As of this comment, your plugin works fine in Wordpress MU 2.7.1, although I haven’t tested any of the options, just the simple “get_the_image();”
[...] a number of fields in order to display elements in the sidebar. I use Justin Tadlock’s Get The Image to handle all our new images, with a few modifications. Of the 35 or so plugins we use, almost all [...]
In the readme it says “You might want to make the script grab the second attached image to a post. You can do that with this code: ”
What if I want it to pull ALL photos from a post?
[...] Get the Image – This is a sweet, little plugin from the very brilliant Justin Tadlock. It will make it easier for you to include post thumbnails for all your posts without using custom fields. More on that in another tutorial. [...]
[...] the plugin here. Installation is pretty simple [...]
[...] the plugin here. Installation is pretty simple [...]
I’m using a new solostream WP-clear template for my site and added your plugin to make sure all the images transfer over but still can’t get the thumbnails to work? Where the images should be an error message comes up. I’m still using 2.3 about to updated to 2.8 could this be the reason? Thanks!
AH! Sorry, just saw the part about need 2.5 or higher. Will upgrade and try again. Thanks for providing this plugin for nubies like me, it’s key!
Sriraj — I think that was a compliment, so I’ll take it.
sam — You’re welcome.
Kjetil — The plugin does no image generating on its own. If you’re using a thumbnail, it grabs the actual thumbnail created by WordPress. This keeps the plugin lightweight and allows you to set your own thumbnail/medium/large image sizes.
Derek — Just change all this in your WordPress admin. This plugin is not meant to do that (though it may have the option in the future).
Kilwag — Glad to hear that’s it’s working fine on MU for you. I know several people that have switched to this plugin because other image plugins don’t work well with MU.
Tony Bullard — Use the
[gallery]shortcode or write a custom function. That’s outside the scope of what this plugin does.Karen — You should always make sure you’re using the latest version of WordPress.
Hello Justin,
First of all, thanks for this Plugins. This is a BIG time saver for me as I am using it extensively in my 3 blogs.
This plug-in does not work with wp 2.8. I have also updated this plugin to 0.3.3 but no go. Pls. check and help.
Many thanks.
Mike — Point of advice: Never go to a plugin author’s site and tell him that his plugin doesn’t work in bold letters. That’s the quickest way to not get help, especially when he’s made it very clear to ask for help on his support forums.
Besides, the plugin works flawlessly on WordPress 2.8. Hell, you can see it working on the front page of this site. I can probably link you to 50 or so other sites, at the very least, of people who are using it without a problem.
It’s likely you’ve done something wrong in your implementation of the plugin. You are welcome to stop by my support forums if you need help.
Thanks for your advise. I will remember this for sure. I will go to support forums now.
Hi Justin,
I realized that not too long after I posted.
In the end, I figured out a script on my own (though, I might add, it lacks the wide range of your plugin.)
Thanks!
Hi there,
I have tried the examples above but it’s not working.
the former code looks like the code below
——–
Which code should I use in order to see the image in 0.3.3 image
sorry some part was not displayed
Sorry – I read readme more carefully – everything works fine – thanks!
I love this plug in, thank you so much! I’m only having one problem with it for my WP Clear solostream theme. The thumbnails are all working great but the featured image from the glider is bleeding into the right column when you click into the actual post. Any feedback would be greatly appreciate. I’m using WP 2.8 and downloaded your latest version.
[...] Create a “Image” key custom field for the post thumbnail. If none is defined, then the first image in the post will be used as thumbnail. If none of the above mention is available, then a default thumbnail image will be shown. You need to define the full image path on line 10 of index.php and line 14 of search.php. For more on the thumbnail generation, check here. [...]
[...] the theme supports the Get the Image plugin which automagically generates thumbnails and featured-article photos, those were overridden [...]
Hi,
Great Plug-In! Excellent Job!
Just one question, I looked through Support Forum but couldn’t find the answer and I didn’t felt comfortable opening a new thread.
Is there a way to link the image with URL which is in another custom field?
Thanx again
Justin,
I appreciate your plugin very much and use it in nearly every template. I now want to include related posts to my single.php, and I found a nice leightweight snippet to do that here (the third one).
Now I struggle with implementing the thumbnails to the related posts: If i replace line 19 with echo get_the_image_link(array(‘Thumbnail’,'My Thumbnail’),’thumbnail’); only the thumbnail for the first related post is displayed, the others aren’t.
Any clue what I did wrong?
Thanks,
Michael
[...] GetTheImage – automatically generates thumbnails in the archive and articles pages) [...]
[...] In: Wordpress plugins 22 Jun 2009 Go to Source [...]
Did something change from before that would cause your plugin to stop working? I had it working, then upgraded, and now it’s not working. Was I supposed to change something?
Ah! I figured it out. The ‘image_scan’ => false, was changed back to False after the upgrade. Once I set it to True, all was well.
[...] Get The Image WordPress Plugin (tags: wordpress) Kommentarer [0]Digg it!Facebook [...]
I am using a free host and I am a little concerned about this plugin’s CPU efficiency ?
Does it cache the images or convert them again each time they are displayed ?
Thank you
Karen — Please ask support questions on my support forums.
Gogi — You are free to open another thread.
Michael — I don’t know anything about your related posts plugin.
mocean emanuel cristian — It neither caches the images nor converts them.
maybe I sounded a little ungratefull
this is a great plugin to get for free , I didn’t mean to sound like that . My moth talked without me
I also meant resizing , not converting . Am I right assuming that no caching means resizing each time ?
mocean emanuel cristian — No, you didn’t sound ungrateful. Your comment was fine.
The plugin literally does no resizing, converting, and nothing of that sort. It only loads preexisting images. These can either be defined by custom field or they’re pulled from your media library.
hey justin, any idea why some pictures resized to a smaller size appear a bit blured whereas some are just fine ?
[...] is a plugin by Justin Tadlock that automatically creates thumbnails. It’s an alternative to the popular thumbs.php, and has [...]
[...] 37. Get The Image [...]
[...] this is just a doodle of a cow I did one rainy Sunday, but I wanted to test the get-the-image plugin for my posts and this just happened to be on my desk [...]
[...] fourni avec le plugin donne des instructions détaillées pour affiner le paramétrage. On retrouve ce guide sur le site de [...]
[...] Get the Image – This is a sweet, little plugin from the very brilliant Justin Tadlock. It will make it easier for you to include post thumbnails for all your posts without using custom fields. More on that in another tutorial. [...]
[...] Get The Image WordPress Plugin I like using custom fields to define images for my posts, so that’s what this script was built upon. So, the script looks for the custom fields Keys that you define. If that Key has a Value (should be an image URL), the image is displayed with your post. [...]
Hello,
The scrip work perfect but regarding pictures with IE, i have an awful blue border.
How can I disable this ?
Thanks a lot in advance
oops sorry I found, i just needed to modify le “img” class in the css theme.
Hi Justin. The default image (third parameter) is not loading. I have looked into the code and made some tweaks, but it doesn’t work. Is it because of my wordpress version? (I use 2.8.2).
Sorry for making here my question, I have checked the support forum you are suggesting, but I can’t find anything related to this, it seems to be only for paid members…
One more thing, the class of the image is “thumbnail thumbnail thumbnail “. Is it normal?
Thanks for that Plugin. This is abolute Perfect
You can see it in Action on my Site
Going to give this a whirl however I don’t think it will solve a repeating client issue which is that they just don’t understand the process of copying in a image URL and putting it in the custom field.
What is needed is a robust and easy to use custom field upload image plugin.
hello I try to replace my own function nothing display. I also tried many different settings but nothing works.
Hello,
sorry for causing troubles, but it looks like there is a small problem with the last release (0.3.3)
Located in the loop, the following line is only working once.
The first excerpt is displayed with the picture, but not the others.
Sorry for posting, the forum is not accessible.
Kind regards
Wow thanks for such a great plugin! Exactly what i was looking for. Works perfectly, I have implemented at http://www.vectorsonfire.com (sidebar) for recent posts.
[...] Get Custom Field Values – by Scott Reilly http://coffee2code.com/wp-plugins/get-custom-field-values/ Get The Image – by Justin Tadlock http://justintadlock.com/archives/2008/05/27/get-the-image-wordpress-plugin [...]
Hey Justin,
Question: why don’t the images resize proportionally?
Here’s what i mean: http://adidas-talk.com/apparel/kzk-neighborhood/
sorry to double post..
here’s the original size of the image: http://adidas-talk.com/wp-content/uploads/2009/08/honeyee-adidas-originals-neighborhood-kazuki-1.jpg
Just wanted to drop this by. I tried a couple of plugins because I was wanting something to work fast. This is just perfect. You are a legend for creating it.
Thanks alot
[...] the skin i developed i used "post_thumb" for that field There is also a plugin for it: Get The Image WordPress Plugin even though its old, it still works and what i was using to start with until i started doing the [...]
[...] Justin’s bericht vind je meer informatie over Get the Image. Wil je het in actie zien, dan hoef je enkel naar de hoofdpagina te gaan van deze site. Deel en [...]
[...] plugin é baseado no Get The Image do Justin Tadlock, sendo diferente pelo simples fato de vir definido por padrão para pegar uma [...]
[...] Get The Image v0.3.3 by Justin Tadlock — This is a highly intuitive script that can grab an image by custom field input, post attachment, or extracting it from the post’s content. [...]
[...] the plugin here. Installation is pretty simple [...]
[...] the plugin here. Installation is pretty simple [...]
Hi, right now i have your plugin working by grabbing an image that has been attached to the post. Is there some easy way so i can add an image only as a preview for the index page which is not shown in the post itself?
Hi
This looks great. I just have one problem, to figure out which code to use to pull an preexisting image from the post:
I want to display a thumb in the post list and only the full image inside the post. I’ve tried several ways. But the closest I get is, when opening the post, there is both a thumb and the full image. Funny thing.
It would be great to know if this is possible and even better to know how.
Thanks a lot,
Kjetil
Looks a lot like Get Post Image from Andrew Grant way back ,2007. Nice Try Justin
[...] Get the Image – This is a sweet, little plugin from the very brilliant Justin Tadlock. It will make it easier for you to include post thumbnails for all your posts without using custom fields. More on that in another tutorial. [...]
I got someone to make a mod for me on this plugin so that one can link to the image as well… would you (Justin) like to see the code with an option to include it in this plugin? I find it very useful.
David — If you have support questions, ask them on my support forums.
scysys — Cool. Thanks for using the plugin.
tom — Fortunately, your clients won’t have to use custom fields at all with this plugin.
Roger One — Stop by my support forums if you need help.
MissK — Version 0.3.3 works as expected. If you’re having trouble, stop by my support forums.
VectorsOnFire.com — Cool implementation of the plugin. I definitely like seeing uses like that.
Johnny — This plugin does no resizing of images.
Fraser — Thanks. I’m glad you’ve found it useful.
Spong — See my support forums.
Kjetil — I just don’t really like you at this point (and you know why), so this is the extent of your answer.
db — That’s great, especially considering that plugin has a single feature of this plugin (a feature that I don’t even really consider a feature).
CG — Nope, I’m not really interested. It’s outside the scope of what this plugin is designed to do. Thanks for offering the code though.
Hi, is it possible to use this plugin in conjunction with get_posts, that is outside the loop? I have tried setup_postdata and this does not help. Thanks.
[...] this time, our most popular themes incorporate the functionality of “Get The Image” to generate thumbnail images that appear in Feature Articles and Post Excerpts. There is some [...]
When i try use your plugin with phantom theme, my site disappear . It’s very weird , do you know about this?
[...] the plugin here. Installation is pretty simple [...]
Hi, I absolutely love your module, but now I used it on one site and it seems, like some of the images aren’t working. Could you please have a look at http://www.nodes.dk/blog ? You can see, that for the top article “Nyt Facebook initiativ fra Mikkel Kessler” from 1. october it is not working, even the image is in the article the same as in others. Thanks a lot..
[...] Get the Image – This is a sweet, little plugin from the very brilliant Justin Tadlock. It will make it easier for you to include post thumbnails for all your posts without using custom fields. More on that in another tutorial. [...]
This is a great plugin, but i want to ask you for a feature. Can you code it so it accepts a thumbnail script la timthumb or phpthumb?
That’s because mostly of the crop feature, this way you can have fixed size picture.
Thank you.
I love this plugin – I’ve used it in numerous custom themes.
This time on my site, I have it called 3 times in the home page, exactly the same way every time, but the 2nd time isn’t working… I wonder if i found a bug? I have NO clue why it isn’t working. In the 1st block of code it only works if the image is attached, NOT addedfrom the media library or another URL. ? Possibloy something wrong with my call?
Ack. Sorry – you have no html tags allowed?
Here’s the url to the code: http://wordpress.pastebin.com/m791ee06a
thank you.
Fantastic plugin – can anyone tell me please what do I need to put in my css file to get rid of the blue box around the image.
I’ve tried:
Thanks
[...] their websites to more than just a blog. But on the other hand other smart solutions, like the Get the Image plugin, exist. I would love to see the_post_image() expand its feature set to extract the first uploaded [...]
[...] Get the Image – This is a sweet, little plugin from the very brilliant Justin Tadlock. It will make it easier for you to include post thumbnails for all your posts without using custom fields. More on that in another tutorial. [...]
This is great. plugin
I’ve been trying to do this for a while
Thanks
Deleted for wasting Justin’s time.
Very nice plugin. I used on my blog, Its working pretty fine.
[...] Get The Image [...]
[...] also added the Get The Image WordPress Plugin function to the Dynamic Content [...]
[...] Get the Image [...]
does this plugin can show the image? or picture?
[...] Get the Image – This is a sweet, little plugin from the very brilliant Justin Tadlock. It will make it easier for you to include post thumbnails for all your posts without using custom fields. More on that in another tutorial. [...]
Great Plug-in, thanks for sharing! I didn’t have time to read all posts, but I’ll try to see if somebody got the same issue. I noticed that when I use in the article some image that is not from my media files, the “Get The Image” doesn’t get to generate the thumbnail. I mean, if I use in the article/post an image from an link/external url, it doesn’t generate the thumbnail and just shows my “default-thumbnail.gif”.
Does anybody know if is there any way to get to generate the thumbnail when using images from external link/URL?
Thanks in advance.