Setting image field by a form

Hi Mert Ömer Ozbilgin!
As for your first question, you should connect the image component to a new dataset that will be linked to the relevant database (the one that contains the members uploaded profile picture). Then, on “manage dataset” you can set a filter as follows:

  • Field => ‘Owner’

  • Condition => ‘is’

  • User => Logged-in user.

That should solve the problem.

As for the second question, whenever you upload an image using an upload button the file still has its file extension (.png / .jpg / etc.). You can use an if/else condition to limit the file type using that logic.
About limiting the file size, look at the $w API guide here . It explains the way to access the file size value thus making it possible to limit it.

Best of luck!
Doron. :slight_smile: