PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Delete original image when uploaded through Post field (post_image)

  1. jimbo
    Member

    Hey all,

    I need to know is it possible to somehow erase the original image uploaded via post image - post field?! With the situation now I receive 4 images. 1 original (can be whatever user has on his PC - up to 4 MB which clutters the server) and 3 which Wordpress creates according to specifications (thumbnail, medium, large). I would like to have the ability when user uploads the "original big image" to be deleted upon upload and be left with 3 remaining in media gallery?!. It will dramatically improve the storage on my server.

    Cheers!

    Posted 11 years ago on Thursday May 19, 2011 | Permalink
  2. Gravity Forms passes the image that is uploaded to WordPress which processes the files for your Media Library based on your Media Library settings. So This part is handled by WordPress itself, and WordPress keeps the original image. You may have to look into a plugin that works with the Media Library to resize or manipulate the original image.

    Posted 11 years ago on Thursday May 19, 2011 | Permalink
  3. jimbo
    Member

    Thank You for the quick support! I just need to brainstorm a bit about the function :)

    Posted 11 years ago on Thursday May 19, 2011 | Permalink