
The new feature in version 1.7 is a button in the Upload/Insert Image box that inserts the image directly in the CFI box. Without it, you would have to insert the image into the post and then manually insert the bits of data into each field.
I haven’t tested it on versions of WordPress older than 2.7. If you don’t plan to use it, you can disable it in the settings page. This means a slightly faster Write panel because the javascript file that creates the button is not loaded.
PHP5 is required.

Wow, it works very well! I tried it on my Wordpress 2.6.5 and without problem. Thank you very much for this great feature…
Doesn’t work for me on WP 2.7 when upgrading the plugin, with lightbox2, simpleviewer and WP-supercache (even if disabled).
message in settings page : warning, error at line 306 “fill-array()”…
Something to do in DB or anything else ?
Please post the entire error message so I can see if my plugin is to blame.
Quote :
Custom Field Images Options
Fatal error: Call to undefined function: array_fill_keys() in /homepages/21/d209789456/htdocs/aga/wordpress/wp-content/plugins/custom-field-images/inc/admin.php on line 306
I hope it can help.
Yes, it did help: That error appears because you don’t have PHP5 on your web host. I’ll release a patch soon.
Thak you !
I stay tuned…
Version 1.7.1 is out and it should work for you.
It works !
I’am glad I helped !
Have a nice day
Version 1.7.2 – Fatal error: Call to undefined function register_uninstall_hook() in …/wp-content/plugins/custom-field-images/admin.php on line 379
Plugin could not be activated due to fatal error.
Version 1.7.1 worked well.
Forgot that works only on WP 2.7. Will be fixed shortly
Yes, it is OK now. But why it works only for WP 2.7. Version 1.7.0 worked well also for WP 2.6, but the latest version not. Latest version inserts everything except Image URL. Is it possible to redownload somewhere this old 1.7 version?
Yes: Here it is.
Thank you, but it did not help me. I thought that it worked well before but now it does not work for me even older version. Everything works in WP 2.6.2 (Alignment, Alt text, etc.), except Image URL which is not moved from Gallery to Custom Field Image field. Is it possible to repair it? Thank you very much…
Thank you for this plugin. I have been waiting some time for a function like “Insert CFI”. Works great for me so far. Might be a too big alignment-part in the custom field but it’s not a big deal. Thanks!
Works fine but is there a way to show thumbnails for some images hand medium for others etc
I don’t think I understand. If you want a different size for an image uploaded through WordPress, just select it from the form and then click the (Insert CFI) button.
The button doesn’t show up near the “insert into post” (the option is turned on).
I get a javascript error “button null”
I’ll check it out. Please tell me which browser you are using.
Any chance the control panel would have a place to allow the user to define what the CF key is, and a checkbox to disable all automatic insertions? (I guess your plug does too much.)
I am trying to use this in conjunction with a theme that requires images be in a “image” CF, so simply having your insert CFI button do that for me would save a bit of time.
I’d be happy with just a pointer in the code so I can change custom_field_image to image and then comment out the other stuff I don’t need.
Are you Romanian?
CFI stores all image information as a serialized array in custom fields with the key ‘_cfi_image’. I assume your theme expects the data to be a string.
Either way, the key can be changed from custom-field-images.php (class displayCFI).
You can modify the box from admin.php (class boxCFI).
Yes, I am romanian.
Thanks – that’s a lot of help. I worked in Bucharest for the last two years.
Hello, Insert CFI button does not work in IE7
Could you please add support for this browser? Thank you very much… Also design in Wordpress 2.7 is not the best (radio buttons are in the centre of screen, etc.)
I’ll see what I can do.
Thank you! Wonderful plugin.
Just so you know, the cfi button doesn’t appear in Chrome either.
Firefox works great, though!
Ok, thanks for letting me know.
Wonderful plugin.
But I do not see a (cfi_insert) link directly after I’ve uploaded an image.
Because the iFrame doesn’t reload then. Is there a way to get the (insert_cfi) button visible directly after uploading? Would make it a lot user friendly I think.
That will be possible when WordPress 2.8 comes out.
OKay.. I’m editting the media.php file atm to add a link HANDCODED there.. but how do I get the Insert.js included also overthere?
That won’t work. The insert.js is already included. jQuery 1.3 is needed, which will ship with WP 2.8.
Patience.