[New Plugin] Image Compressor by EzCode

Thank you for that fast response and update!

Unfortunately this is not working for me. The images I’m trying to “not compress” are .heif images (from and iphone) and they are being converted to jpeg regardless of the new setting. Also, their resolution is being cut in half as well, regardless of the max width and height settings.

I tested with .jpeg images as well with the same result. Even if they are smaller than the threshold they are still being compressed.

Nevermind, the issue is with another service I’m using (Twilio), the plugin is working great! Thank you!

Great, thank you!

@ezdev Hi there. Thanks for the update. Can you have an option to change name before upload in Multiple Compression? Thank you very much! :slight_smile:

@shu.teopengco

Hi,
We can do that, we are just not sure how you will use that, since you can setup the new name once, and that name will be use for every file, so you will end up with a bunch of files with the same name.

Hi there. Thanks bro. For my use case, that’s for keeping the file manager organized especially when uploaded to S3. Also so that when we export a user’s files, we can still tag them.

Or can it be dynamic? For example, file name will be < “Current User’s Name” + “Current Date“ + “Current File’s Index in this upload batch”>

sure it can be dynamic but you run this action only once, so even tho it will be dynamic it will have one name for all images that you are uploading at this time.

However, we can add a suffix with current file index automatically (in plugins code)
So if your current uploading files will all have same “Current Date” it will have a suffix with file index.
I think we can do this.

Thank you very much. I have prepared my workflows. Will wait for that functionality before pushing it to my live production. :slight_smile:

Done, we have pushed an update:
You can now change the image name before upload for Multiple upload action. A suffix with the current image index will be added.

Screenshot 2021-02-15 at 16.54.53

Screenshot 2021-02-15 at 16.59.26

Thank you bro. I noticed a bug, Reset a Compressor doesn’t work with list of uploaded URLs custom state. When I tried to upload a multiple images then reset the compressor, it resets the states but not the list of uploaded URL.

Also, another recommendation:

  • Thumbnail base64 and sizes for multiple compressions
  • Maybe try to rename compressor’s custom states to identify states for single and multiple
    – i.e. “solo - Compressed base64”, “solo - Compressed Size”, “list - Compressed base 64”, “list - Compressed size”

Thank you for the prompt action bro! Great job!

1 Like

Hi, thanks for the feedback, we have fixed the Reset action, please update to the latest version.

Good recommendations, will definitely do it in the next update :wink:

Thank you!

Additional Recommendation:

  • Can you make sizes available in “number” type of thing?
  • Add option to rotate images for both solo and multiply? one problem I encountered is when I uploaded photos from phone camera, it is being rotated when tried to select.

not sure if this is related.

@ezdev hi there. Stuck on the rotation part and can’t implement it in my app. When image is uploaded from phone camera, the image becomes rotated. Is there something I can do to prevent it from rotating?

Update v.2.3

New feature - Check Image Orientation (for jpeg images)

Screenshot 2021-02-21 at 12.22.56


Renamed all states with a prefix of “Solo” or “List” to differentiate states for single image actions from multiple images.

Screenshot 2021-02-21 at 12.31.25


Added new states with size in number format:

  • Solo - Size before compress Number in MB
  • Solo - Size after compress Number in MB
  • List - Sizes after compress Number in MB

@shu.teopengco

Thank you very much!

:slight_smile:

Question:
Is there an option to attach files uploaded (multiple) to a thing?

Hi Ezdev,

Fantastic tool! Really good job!

I have one request:
I would like to use it in my backend workflow. Would it possible? If not, are you planning to fix that?

Thanks :slight_smile:

Hi,

I’ve an issue setting folder to upload to S3, it keep placing out root folder

Hi, could you share a screenshot with the parameters that you set in the plugin actions? You can send it in PM

We have pushed a fix, please update to the latest version and let us know if it works correctly now.