I want to show the image from input form file before upload using AMP (in client side), I am trying to avoid the process of upload the image in a temporary folder and load it from there. this form is to add items (with image) to a list and it can be easily abandoned, so I want to avoid to purge orphan images.
I did a little research and found that all solutions involves Javascript, like this and this but I prefer not to use javascript in a "full AMP website).
Is there a solution using AMP for this problem?
That's currently not supported by AMP. One workaround is to embed the form via iframe and implement the file selector there using JS.