Image captured from the mobile is storing in large size (Camera Plugin)
Application Type
Mobile

Hi Community,

I'm trying to capture image from mobile, after capturing image it is storing in database with large size and when I am displaying that image it is throwing an exception with Connection timed out! , Is there any way to reduce the size while capturing picture from mobile? I have shared my oml file please have a look (I have used Camera plugin from forge)

Thankyou

MoviesAppMobileCameraPlugin.oml

Hello Ritesh,

Please check the following thread which is very similar to your issue:-

https://www.outsystems.com/forums/discussion/20923/image-resize-client-action-for-mobile-app/

Hope this helps!

Thanks,

Krunal

Hello Krunal,

I have used https://www.outsystems.com/forge/component-overview/2347/image-compress this in the logic but still i'm facing connection timeout can you help me where i am going wrong?

I have posted my oml please have a look.

Thankyou, 

MoviesAppMobileCameraPlugin.oml

Hi Ritesh

I see that the plugin you are using "will compress image upto 35%". 

Considering the resolution of our smartphone cameras, this may still be too large for your connection to handle. Perhaps you could try a plugin that can compress or resize the image even further, and see if that helps?

Best of luck!



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.