Jump to content
  • 0
DesiLogi

Upload Image from url instead of Browse for submission form

Question

Is there a way via js or something else, in a Submission form, to Upload an image file using a url (like to a public image in a AWS S3 folder) instead of the user having to Browse to an image file on the local computer? This would be really helpful in pulling images off the web without the user having to download them first, then Browse to them, then Upload. 

I have a virtual field that would have the image's url in it, I just need to somehow transfer that url to the image field and pull the image to upload on Submission. 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

@DesiLogi

It is not possible to save the file itself in this way.

You can use direct link  as the source to display images in your application. 
This link needs to be saved into Text Field and then you can use it as "src" attribute of <img> HTML tag, as the example.

Share this post


Link to post
Share on other sites
  • 0

Thanks Andrew- I ended up created a middle-ware to send images to AWS S3 and their link back to a text field in Caspio. It'd have been great if this were a standard CB feature but at least it's doable as custom. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...