userstyles-world / userstyles.world

⭐ Website to browse and share UserCSS userstyles. A modern replacement for UserStyles.org made by the userstyles community.
https://userstyles.world
GNU Affero General Public License v3.0
340 stars 15 forks source link

Paste preview image #105

Open mwisnicki opened 2 years ago

mwisnicki commented 2 years ago

https://userstyles.world/edit/ should allow pasting of preview image in addition to uploading files.

Gusted commented 2 years ago

Seems like a good idea, just need to get some architecture correct in javascript in order to do this correctly and not messing up the other 2 current methods of specifying a image. Can take a while before this is supported.

decembre commented 2 years ago

should be great! And if Gif possible (after find a way to make it secure as you said on a previous request)

mxdanger commented 2 years ago

And if Gif possible (after find a way to make it secure as you said on a previous request)

Performance wise it would probably be best if only short videos (WebM for example) are allowed as GIF file sizes are too large.

imaverickk commented 2 years ago

Performance wise it would probably be best if only short videos (WebM for example) are allowed as GIF file sizes are too large.

I tried to use WebP animation and unfortunately it was compressed to JPEG (even if it was an external image from github).

vednoc commented 2 years ago

I don't think it's wise to support animated images. You could always embed an external link in description/notes (preferably the latter, because description should describe the functionality in one or two short sentences) should you need such functionality.

decembre commented 6 months ago

It's always in your To Do list ? Should be a good enhancement....