cinnyapp / cinny

Yet another matrix client
https://cinny.in
GNU Affero General Public License v3.0
1.97k stars 257 forks source link

show image thumbnail in upload dialog #1900

Open williamkray opened 3 months ago

williamkray commented 3 months ago

Describe the problem

When sending an image, the upload progress dialog shows the name of the file and a generic image icon. when sending images from clipboard contents, the image is usually called something generic like image.png and so there are no opportunities to validate that the image you're about to post to matrix is in fact the one you think it is, or if you've just pasted in something you forgot was in your clipboard.

Describe the solution you'd like

it would be nice to have the image upload dialog show a small thumbnail of the actual image contents rather than a generic image icon.

Alternatives considered

never paste things from clipboard contents, and always name files uniquely

Additional context

No response