Jump to content
  • 0

Profile picture selection using image preview vs. list


Mikey

Question

The title does not explain I am sure.. I bulk uploaded a bunch of .png files to a folder in the structure. I created a data page for new contacts as a submission form. I want the user to select a profile pic from the uploaded pics. It works as expected but is there a way to let the person who is selecting the profile picture to get a preview of the pic vs. a list of the filenames?

 

Hope that makes sense, TNANKS for the help and any suggestions!

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
2 hours ago, Meekeee said:

Thank you for taking the time to show this however how would you ever use this in a submission form to select a picture to add to a file field??

Link to comment
Share on other sites

  • 0

Maybe I can just do something else here... is there any way to set a default image to a submission form into a file/picture field.  Would be great to set up a random file from a directory but to be honest if I can just get a default image to be added to a table without the user needing to select it..   I have a form submission for new user.. they enter their information and the system adds a default picture to the profilepic field.. seems simple but not that I can find... any suggestions?

Link to comment
Share on other sites

  • 0

Hi @Mikey,

I think what you can do is have a lookup table for your default image and get the FileStor link to your Submission Form as Calculated Value for the image link to be saved in your table. You might refer to this post and article about FileStor CDN: 

https://howto.caspio.com/files-and-images/filestor-cdn/

By means of Calculated Value, you can get the value in your field by using SQL: 

https://howto.caspio.com/function-reference/
Calculated Value: https://howto.caspio.com/datapages/datapage-components/calculated-values/

I hope it helps!

 

Link to comment
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...