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.

Why GF duplicate uploaded images?

  1. I setup a form where users can create posts, and upload a featured image, but GF is duplicating files in the system saving one copy the GF folder and another in the WordPress upload folder.

    Just like this...

    site.com/wp-content/uploads/2012/08/filename.jpg
    site.com/wp-content/uploads/gravity_forms/2012/08/filename.jpg

    Why 2 files? How can I stop that? Thanks!

    Posted 9 years ago on Tuesday August 21, 2012 | Permalink
  2. From the lead developer:

    We decided to keep them separate so that one doesn't affect the other. For example, if the file was placed in the media library only, and then the post were deleted, the entry would be missing the image. To change that behavior, your could use the gform_after_submission to delete the file and change the entry to point to the file in the media library folder.

    Posted 9 years ago on Wednesday August 22, 2012 | Permalink
  3. Am seeking to add a form similar to allow adding photos and comments to a Memorial site. Can you share how you created that form or direct to documentation to accomplish that? Thanks.

    Posted 9 years ago on Friday August 24, 2012 | Permalink
  4. @MarkB, as your issue is unrelated to the one which Ray brought up, please begin a new topic for your issue and we will address it there. Thank you.

    Posted 9 years ago on Friday August 24, 2012 | Permalink

This topic has been resolved and has been closed to new replies.