▲ | rafram a day ago | ||||||||||||||||
> This just selects the image. 99 times out 100, you want to do the same things with the image data: adjust it in some way, and save it to object storage or something. The file input is too primitive for this. That's not true at all. Obviously there's no `adjustinsomeway` or `savetoobjectstorage` attribute on the <input> element, but you can trivially grab the selected files, read them, and act on them with JavaScript: https://developer.mozilla.org/en-US/docs/Web/API/File_API/Us... | |||||||||||||||||
▲ | prmph a day ago | parent [-] | ||||||||||||||||
> and act on them with JavaScript I thought the whole point was to avoid JavaScript, by having rich UI components built right into the browser | |||||||||||||||||
|