Page 1 of 1

Plugin Screenshots

PostPosted: Wed Jan 06, 2021 8:51 am
by SBarnes
How can you remove a screenshot from a plugin?

Re: Plugin Screenshots  Topic is solved

PostPosted: Wed Jan 06, 2021 10:57 am
by Mike.Sheen
SBarnes wrote:How can you remove a screenshot from a plugin?


If you hover your mouse over the image thumbnail, there is a delete button on the top right of the thumbnail.
Plugin Image Delete button.png

Re: Plugin Screenshots

PostPosted: Wed Jan 06, 2021 11:03 am
by SBarnes
Thanks,

The reason I was asking I was getting an exception when exporting the plugin "A generic error occurred in GDI+" which has never happened before.

Re: Plugin Screenshots

PostPosted: Wed Jan 06, 2021 11:08 am
by Mike.Sheen
SBarnes wrote:Thanks,

The reason I was asking I was getting an exception when exporting the plugin "A generic error occurred in GDI+" which has never happened before.


Damn. That's because we're using System.Drawing.Image as the property type for storing the image in the business logic. We should be using a byte array.

System.Drawing.Image is notoriously hard to work with.

Logged DEV-8545 to address this.

Re: Plugin Screenshots

PostPosted: Wed Jan 06, 2021 4:37 pm
by SBarnes
simpsons.jpg
simpsons.jpg (28.72 KiB) Viewed 2057 times