WordPress.org

Ready to get started?Download WordPress

Forums

Overwrite Uploads
Awesome plugin, and a tip for pasting code. (3 posts)

  1. kilakiwi
    Member
    Posted 2 years ago #

    Does require about 5 minutes of file editing, but totally worth it.

    One thing, my file.php string that the readme file says to paste the code prior to, was different near the end than the string in the readme file indicated. I searched for just the beginning of the string, pasted the code you provided in the readme file, and it works absolutely perfectly.

    This is a huge help when you have images attached to featured posts and you need to edit and re-upload the image. No more going back to the post to paste the new file URL in, and no more wasted space on the server with multiple versions of similar images. Very nice!

    http://wordpress.org/extend/plugins/overwrite-uploads/

  2. Zelig
    Member
    Posted 2 years ago #

    I'm trying the plugin for the same reason and I agree it's very nice.
    But.
    Many pics I have in old posts are miniatures linked to full size pics, and the links are in the "attachment ID" format (like .../?attachment_id=548) because I don't want to show the real path of the file.
    When I update the file overwriting it, thanks to this great plugin, the link gets broken, because the new pic is always assigned to a new ID number!
    Is there a way to keep the same ID for the new uploaded pic/file, when it overwrites an old one?

  3. Ian Dunn
    Member
    Plugin Author

    Posted 2 years ago #

    That's a good point Zelig, I'll add that to the TODO list. I'm not sure how soon I can get to it, though.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic