Forum > Suggestions

Add pictures from clipboard

(1/1)

duzenko:
Hi, can we please get rid of the requirement to add screenshots as attachment files?
It's very inconvenient
Let me know you'd like some technical help with it

440bx:
An attachment is a file that is uploaded to the server (becomes part of the page), the clipboard contents are not a file therefore cannot be attached.

Fulfilling your request would require having the browser save the clipboard contents into a temp file then attach the file.  The attachment would then be shown with the name of the temp file, which is usually a semantically very poor name.

duzenko:

--- Quote from: 440bx on August 26, 2023, 10:50:40 am ---An attachment is a file that is uploaded to the server (becomes part of the page), the clipboard contents are not a file therefore cannot be attached.

Fulfilling your request would require having the browser save the clipboard contents into a temp file then attach the file.  The attachment would then be shown with the name of the temp file, which is usually a semantically very poor name.

--- End quote ---
Have you seriously never seen a web page that can paste from clipboard and upload to the server? Stackoverflow? Github? Any image hosting site? Lots of forums that already do this?

PascalDragon:

--- Quote from: duzenko on August 26, 2023, 09:58:40 am ---Hi, can we please get rid of the requirement to add screenshots as attachment files?
It's very inconvenient
Let me know you'd like some technical help with it

--- End quote ---

If there isn't a suitable extension for the forum software in use (SMF) then no, this will not be changed, cause we don't want to maintain custom code for the forum as that will only lead to increased maintainence requirements when updating.

440bx:

--- Quote from: duzenko on August 27, 2023, 11:59:12 am ---Have you seriously never seen a web page that can paste from clipboard and upload to the server? Stackoverflow? Github? Any image hosting site? Lots of forums that already do this?

--- End quote ---
I've seen plenty of them but, they all put the data into a file and in the case of this forum the file name is of, at least, some importance therefore, it is _not_ a good idea to have a generated file name in this forum.

Navigation

[0] Message Index

Go to full version