Skip to content Skip to tags Skip to twitter news Skip to blog roll Skip to categories Skip to archives Skip to recent posts

WordPress Attachment Extender



Here we have the WordPress Attachment Extender which really just extends the functionality of the Media Library allow you to upload a new version of a photo, image, pdf or what ever file type you may want to update.


This plugin requires WordPress 2.5 or greater, a need to update your files, and a will.


The features are pretty straightforward, it simply extends the functionality of the Media Library/Manager by adding an upload file field to the edit attachment page and media browser.

Installation Instructions and How-To

The install is pretty simple, download the must recent version, unzip the contents and place them inside your wp-content/plugins folder.  Login in to your WordPress admin area and click on the plugins link that site at the top right.  Once on that page click the activate link for the Attachment Extender, the page will reload telling you that it was activated correctly.  From this point, click on Manage then onto Media Library and then click on the file you would like to edit/update.

While on the edit page you will see that there is now a file input at the bottom of the form, browse and find the file you to update with and submit the form.  And that is it, the page will reload and put you back on the Media Library page.

One caveat would be that if you are updating an image you may see that your old image is still there and this is related to your browser caching the image, just do a hard refresh (ctrl + F5 on window and apple + F5 on mac) and that should clear your cache.

You are probably saying to yourself “that’s great, but what if I wanted edit files that are directly related to a post?”, “good question” I would say.  Just go to the post you would like to update the attachments too and click on one of the Add media links and click on the gallery tab and this will give you the full list of attachments for the post/page you are on.  Just follow the process I laid out about for each one you want to update and the click on the save all changes button and you are done.


download the must recent version


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the GNU General Public License for more details:

Final words and Support

This has been tested on IE7, FF2, Opera 9, and Safari 3 and since there is some JavaScript trickery going it may have issues in other browsers I have not tested.  Please let me know if you have any JavaScript errors that are related to the edit page and I will try to get it fixed.

Below is the comment section where you can get the best support.

Lastly, if you like this plugin, feel free to link back and/or donate to help with bandwidth.

back to beginning of this post back to skip to links

8 Responses to “WordPress Attachment Extender”

Fatal error: Call to undefined function get_image_send_to_editor() in /mnt/ftp/…./…../…/wp-content/plugins/attachment-extender/attachment-extender.php on line 23
WP 2.6 used. Where is the problem?

@Pepawo I have not had a chance to test in 2.6, I will try to look at it tonight and see what I can do

attachment-extender.php line 66 – wrong argument supplied to foreach (guess $_FILE[…]) – updating a Word doc in WP 2.6.

Great feature, very much needed – please fix.

I just read the plugins description on

It also let you insert more then one file into a post at a time

how can I do that? I seem not to be able to do that, and I really hate opening the upload image box for each picture I want to insert from the gallery. it seems normal to be able to chose more and insert them at the same time, but how?

another issue, with the same versions as in my above comment, if you upload more than one image in a row, you get:

Warning: Invalid argument supplied for foreach() in /var/www/web6/web/wp-content/plugins/attachment-extender/attachment-extender.php on line 66

but everything works, its just that you get that warning displayed.


  1. Annoucing the Attachment Extender for WordPress | The Book and the Cover
  2. Easily Replace Media Files in WordPress |
  3. WordPress Plugin Competition Blog » Attachment Extender

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
For the pretty code styles do: [css][/css], [php][/php], [js][/js], [html][/html] or just about any other language, just use its abbreviation .

Learn from my mistakes, I got burnt by the flame, you don't have to.

RSS Feed Link My Hosting of Choice

63 queries. 0.249 seconds. Powered by WordPress visitor stats