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.

Upload image from URL

  1. Mastal
    Member

    Is there any way to upload an image to use in a post (storing it in the file system on my server, just like when you walk from the user's hard drive) through the URL of the image instead of the file uploader?

    Thank you!

    Posted 10 years ago on Saturday April 28, 2012 | Permalink
  2. David Peralty

    Sorry, you want to grab a photo from another site/url and have it copy to your server using a URL? If so, this doesn't currently work with Gravity Forms out of the box, but you could do this using cURL and a Gravity Form hook.

    http://www.edmondscommerce.co.uk/php/php-save-images-using-curl/
    http://www.gravityhelp.com/documentation/page/Gform_pre_submission

    Let me know if you have any other questions or if "m wrong in interpreting what you are looking to do.

    Posted 10 years ago on Sunday April 29, 2012 | Permalink