23
Image list from custom fields plugin
The “Image List From Custom Fields” plugin displays a list of images from a recent number of posts and links back to them. This plugin is similar to other image list plugins with one main difference, instead of causing increased server load by searching for and pulling an image from the post it pulls the image from the custom fields specified by the author when he/she writes the post. By doing this a much clearer image can be displayed rather than showing a stretched or skewed image from the post.
Click the screenshot below for an example of the plugin in action……
Installation Instructions:
- Download the plugin here or from the Wordpress Plugins directory.
- Unzip and upload the plugin to the plugins directory of your Wordpress blog.
- Insert this code into the header page
<?php if (function_exists('get_custom_image_list')) { get_custom_image_list(); } ?>
Specifying the image:
When you author your post you will need to specify the image in the custom fields section. Don’t worry this is incredibly fast and all aspects of it can be done in under minutes. To do this simply -
- Create the 50×50 image with your favorite graphic editing program (such as Gimp). Should take less than 60 seconds since you’ve already made other images for the post.
- Upload the image the same way you do the others through the Wordpress “Write Post Page”. 15-60 Seconds depending on your ISP.
- Once the image is uploaded, copy and paste its link location (one way is to right click image, select properties, select the link location by dragging across it, right click it and select copy). 15 Seconds, tops.
- Scroll down to the Custom Fields section, if its your first time doing this you will need to create a new key. In the text box under key type the word Thumbnail. Next to it in the value field paste the link location of the image. After doing this once, the key Thumbnail will appear in the drop-down box that says select. You can select it there from now on. Will take less than 15 seconds.
- Click Update.
That’s it! Once you publish the post you’ll have an crisp clear image specified as a thumbnail that the plugin will display when called on.
Customization:
To customize the plugin, open the plugin in the plugin editor (click plugins in your Wordpress admin, click the edit link next to the plugin).
Scroll down to this code:
function get_custom_image_list($images = 9,$thumb_width = 50,$thumb_height = 50) {
- To change the number of images, look for $image=9, change the 9 to any number of images you want.
- To change the width and height, change the 50 next to what which one you want to change.
Further customization is available by scrolling further down to
function image_list_css() {
With some css knowledge you can tweak the settings here to your liking.
This is my first plugin, if you have any questions,bugs or just like to say thanks leave a comment below. Thanks and I hope you all enjoy the plugin.







December 8th, 2008 at 3:02 am
Cool looking plug-in, will definitely make my blurry image list come to life! As soon as I get it installed I’ll leave a link! Should only take me about 15 minutes to actually add Thumbnails to the last 9 posts……
Thanks!
December 8th, 2008 at 6:49 pm
[...] Image List From Custom Fields [...]
December 10th, 2008 at 1:54 pm
[...] Image List From Custom Fields [...]
December 11th, 2008 at 3:11 am
Great Plugin, will try it on my site. Thanks!
December 11th, 2008 at 3:58 pm
[...] Image List From Custom Fields [...]
December 13th, 2008 at 8:19 pm
[...] Image List From Custom Fields [...]
December 13th, 2008 at 9:13 pm
[...] Image List From Custom Fields [...]
December 18th, 2008 at 3:51 pm
[...] Image List From Custom Fields [...]
August 11th, 2009 at 2:17 am
Hello.
Is there any way to have multiple images as value for a same key, and without specifying the images’ properties (width, height)?
I wan to be able to insert multiple images when in single page trough custom field instead of doing it directly withing the post.
Also be able to insert only one image when not in single page (category post listing).
Thanks for any guiding.
December 18th, 2009 at 3:39 pm
Hi,
Is there any way to edit the php code, so that the list picks images that have been uploaded using a Flutter custom field named “plaatje” and starts with the previous post?
Right now I am manually uploading an image that links to the previous post every day… Your plugin should be able to do that automatically..
Thank you,
diederik
February 20th, 2010 at 8:22 pm
Is there any way to only display images from posts with a certain category? Or any kind of exclude feature?
February 24th, 2010 at 3:12 pm
Is it possible to use this plugin on a page?
November 25th, 2010 at 6:22 pm
Me gustaria felicitarlos, muy interesante su blog. Luego checan el mio
December 6th, 2010 at 9:56 pm
perfect post can you post more?
January 16th, 2011 at 10:29 am
I do not regret that spent a couple of minutes to read. Write often, yet surely’ll go read something new.
March 11th, 2011 at 5:01 pm
[...] Image list from custom fields wordpress plugin | Webunaire.com [...]
May 26th, 2011 at 10:08 am
Excellent post!! I really like your site!!
July 14th, 2011 at 4:11 am
5. Magnificent goods from you, man. I have understand your stuff previous to and you’re just extremely magnificent. I really like what you’ve acquired here, really like what you are stating and the way in which you say it. You make it enjoyable and you still take care of to keep it smart. I cant wait to read far more from you. This is really a terrific website.
July 31st, 2011 at 3:06 pm
Hello there, just became alert to your blog via Google, and get that it is actually informative critique. I’m gonna watch out for brussels.Beats by dre tour I is going to be happy if you continue this in future. Lots of men and women will be benefited from your posting. Cheers!
August 10th, 2011 at 3:03 am
You really make it seem so easy with your ppost!
August 19th, 2011 at 2:02 am
Thanks for your post. One other thing is that often individual American states have their own laws that will affect people, which makes it very, very hard for the the nation’s lawmakers to come up with a fresh set of rules concerning foreclosed on people. The problem is that a state offers own laws which may interact in an unwanted manner in regards to foreclosure plans.
August 30th, 2011 at 9:35 am
I like your post. Good job!
January 5th, 2012 at 2:29 am
Between me and my husband we’ve owned more MP3 players over the years than I can count, including Sansas, iRivers, iPods (classic & touch), the Ibiza Rhapsody, etc. But, the last few years I’ve settled down to one line of players. Why? Because I was happy to discover how well-designed and fun to use the underappreciated (and widely mocked) Zunes are.