I guess point 2 is the problem. I do have alias umbracoFile but instead of the standard upload datatype i'm using the cropper datatype(which is also an upload datatype).
If this is the case, then I would advise to support the cropper datatype too because this is used commonly. What do you think?
Thanks,
Arjan
edit: I just checked. Changed cropper datatype to upload and everything is working. Hmm. what to do...
We have just finalized an update for the Kraken package to include support for the Image Cropper data type. The updated package can be downloaded from the main package page.
Please keep in mind that currently the package only optimizes the primary image that is uploaded and saved. The crops (thumbnail images) generated by the Image Cropper are not optimized. In other words, only the full (non-cropped) image is optimized.
This is due to the nature of the Image Cropper and how it stores images as they are (temporarily) cached in an unspecified directory the App_Data/Cache/ folder.
In the near future we will also try to add support for the cropped images.
Websites that already have the Kraken package installed can be updated by simply replacing the '/bin/Kraken.dll' file with the Kraken.dll file located in the updated package .zip file.
The Kraken package is under constant development and we are always looking to improve the package where possible. If you have any suggestions, questions or run into problems while using this package please let us know!
Been a little bit busy, but thanks for the quick update. This will work for now. Although it's good to hear that you guys are looking into supporting cropped images too. Looking forward to it.
This media item cannot be optimized
Hi thanks for this plugin.
I am running 7.1.6 and on every image in the media section I have this message: "This media item cannot be optimized".
Any clue why? I changed the status property editor on the datatype. Api-keys are valid.
Thanks in advance Arjan
Hi Arjan
I have not had the chance to use this package but I'm thinking it may be an issue with the image type?
What kind of image do you get the error on? Is it .jpeg, .jpg, .png, .webp?
Has the image been optimized before upload to Umbraco?
/Jan
Hello Jan,
I tried with jpg and png. png was optimised already but jpg was not.
Hi Arjan,
thanks for using the package!
There are a few checks that are done to determine wheter an image can be optimized
1) On the media type should be a type with the alias "status"
2) The mediatype has to have an alias with "umbracoFile" (the standard upload field)
3) There must be a uploaded media item
4) The extension should end on .jpg, .jpeg, .png or .gif
Hope it gives you any clue. Maybe you can add some screenshots or details about the Media Type that doesn't work.
Greetings, Jeffrey
Hi Jeffrey,
Thanks for your reply.
I guess point 2 is the problem. I do have alias umbracoFile but instead of the standard upload datatype i'm using the cropper datatype(which is also an upload datatype).
If this is the case, then I would advise to support the cropper datatype too because this is used commonly. What do you think?
Thanks, Arjan
edit: I just checked. Changed cropper datatype to upload and everything is working. Hmm. what to do...
Hi Arjan,
We have just finalized an update for the Kraken package to include support for the Image Cropper data type. The updated package can be downloaded from the main package page.
Please keep in mind that currently the package only optimizes the primary image that is uploaded and saved. The crops (thumbnail images) generated by the Image Cropper are not optimized. In other words, only the full (non-cropped) image is optimized.
This is due to the nature of the Image Cropper and how it stores images as they are (temporarily) cached in an unspecified directory the App_Data/Cache/ folder.
In the near future we will also try to add support for the cropped images.
Websites that already have the Kraken package installed can be updated by simply replacing the '/bin/Kraken.dll' file with the Kraken.dll file located in the updated package .zip file.
The Kraken package is under constant development and we are always looking to improve the package where possible. If you have any suggestions, questions or run into problems while using this package please let us know!
Hello Jeffrey,
Been a little bit busy, but thanks for the quick update. This will work for now. Although it's good to hear that you guys are looking into supporting cropped images too. Looking forward to it.
Thanks, Arjan
is working on a reply...