[Image Compress] A generic error occurred in GDI+

Forge Component
(7)
Published on 4 May (3 weeks ago) by Salman Ansari
7 votes
Published on 4 May (3 weeks ago) 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

Jeffrey Paran wrote:

Hi Salman,


Any update? Thank you

Could you please check now


Hi Salman,


I recently needed to use this component and the error continues to happen.

Can you please verify what is happening?



Sincerely,

Miguel Silva

Hi Miguel,


Let me check will update you soon on this

Hi Miguel,

You can check the updated version of component.It should work.


Note:-Remove the dependency of creating the physical directory on server.(That is causing the A generic error occurred in GDI+ error)


Hi Salman,

It's OK now.


Thank you for your availability.


Sincerely,

Miguel Silva