Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sorry if I appear a bit dense about this... but I have no idea what you are on. The code you posted does not use an image as a form element. You are merely setting a custom property on the image which has an ID - the custom property has no other effect... and the image will never be sent as part of the form submission regardless of what you do with this property.img can well be a form element and capture server-side upon submit action