Skip to Main Content
Feature Request FR-1942
Product Area Application Builder
Status DELIVERED

24 Voters

Image/photo compress in browser before upload

bernhard Public
· Sep 9 2021

Idea Summary
In regions with low bandwidth it is useful to compress a taken photo before upload

Use Case
Construction site: builders take photos of building-process… but have only mobile-data-connection with low bandwidth

Preferred Solution (Optional)
compress images in browser by Javascript before upload to table/DB

This has been delivered in Oracle APEX 23.2!

Comments

Comments

  • nicolas pilot OP 3.2 years ago

    Yes, that would be awesome, a mobile friendly image uploader with compression, cropping , resizing, support PASTE from clipboard & EXIF orientation etc…

    And why not also VIDEO compression & cropping ? (I challenge the APEX Team on this one…)

    That would be even more fantastic to be able to have the results on client side without uploading to the DB.  If the final destination is a cloud file storage ( Oracle File Storage, Amazon S3, Google Cloud Storage etc…) it is interesting to upload the file from client to destination without going throw the database… So we would need to have access to the modified blob on client side.

  • michael.weinberger 2 OP 3.2 years ago

    just a simple automatic compression from 4MB mobile photo to 200x200 (or so.) thumbnail would be great for a start.

  • blacksh33p OP 3 years ago

    This would be great, especially since Oracle Multimedia was removed in 19c!

  • herve.ouambo.fotso OP 2.9 years ago

    This feature is definitely needed.

  • texas.apex.developer OP 2.9 years ago

    United codes offers a tool that COULD be used in this case.. https://www.apexmediaextension.com/#about

  • bernhard OP 2.4 years ago

    Recommendation: Maxime Tremblay can do that… 
    pls integrate Plugin “APEX Image Cropper 1.2” !

  • michael.weinberger 2 OP 2.4 years ago

    This is a nice plugin. But afik the Image cropper does only crop the image. 
    I would like to have something to reduce the resolution / size before upload.

  • bernhard OP 2.4 years ago

    @michael.weinberger-2  - Hi Michael, if you are in need of reduction of size I recommend to test Maximes Plugin…. I hv implemented it for exactly that purpose… and it reduces the size e.g. from 3-4 MB (taken by iPad or Mobile) to 412 k - e.g. this one (result)

    As I only needed  a reduction in size (for 100% of the image), Maxime adjusted the “crop-box” to 100 % per default… I can send you my source, if you like.

  • michael.weinberger 2 OP 2.4 years ago

    @bernhard Thanks for the info! I will give it a try

  • jose.lopes OP 2.1 years ago

    @bernhard 

    Hi Bernard.

    I'm implementing this tool on APEX 5.1 and I have two problems:

    1 - The initial crops never cover all the image;

    2 - The modal dialog don't grow with the image and enables scroll bar.

    Any ideias to solve that?

    Can you share your implementation?

    Thanks in advance

  • bernhard OP 2.1 years ago

    Hi Jose,
    pls send me a personal email to bernhard@fischer-wasels.de and I'll send u my sources… alternatively you may ask Maxime Tremblay to assist… -→ https://askmax.solutions/ 
    bregds
    Bernhard

  • bernhard OP 2.1 years ago

    if I remember right, you can adjust the size of the image in the plugin attributes…