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.
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.
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.
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”
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.
@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?