[Image Compress] A generic error occurred in GDI+

Forge Component
(5)
Published on 2018-12-31 by Salman Ansari
5 votes
Published on 2018-12-31 by Salman Ansari

I was trying to use this plugin for a Mobile application, but it's giving the error "A generic error occurred in GDI+".
So I've been searching and all the posts that I found say basically the same, you may not have permissions to save the image in the Path you are trying to write to.
I even tried changing the Path:

from -> //string imagePath = cls.Server.MapPath("~/App_Data/Compressed_" + fileSuffixfix + ".jpeg");
to -> string imagePath = cls.Server.MapPath("~/" + fileSuffixfix + "Compressed.jpeg");

But the error continues to occur, so I can only conclude that I don't have any permissions to write in any path? Do I need to do something more to make it work in mobile?

Thanks in advance for any help.

Will update component for latest version soon with all the help file to use it

Hi All,


Is there any development on this topic. Im getting the same error. Is there any alternative to this plugin

Hi Guys, 

I have the same problem. Any update for this one?


Thanks!

Hi Guys,
Let me check updated version on my end

Thanks,
Salman

Hi Salman,


Any update? Thank you

Jeffrey Paran wrote:

Hi Salman,


Any update? Thank you

Hi Jeffrey,


I made the changes in extension but due to some error on "Publishing Component" unable to publish extension.

Raising ticket for OutSystems Support


Thanks,

Salman