Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Arjan Woldring 124 posts 231 karma points
    Nov 23, 2014 @ 17:17
    Arjan Woldring
    0

    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

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Nov 23, 2014 @ 20:35
    Jan Skovgaard
    0

    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

  • Arjan Woldring 124 posts 231 karma points
    Nov 23, 2014 @ 20:56
    Arjan Woldring
    0

    Hello Jan,

    I tried with jpg and png. png was optimised already but jpg was not.

  • Jeffrey Schoemaker 408 posts 2138 karma points MVP 8x c-trib
    Nov 25, 2014 @ 14:33
    Jeffrey Schoemaker
    0

    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

  • Arjan Woldring 124 posts 231 karma points
    Nov 25, 2014 @ 16:03
    Arjan Woldring
    0

    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...

  • Jeffrey Schoemaker 408 posts 2138 karma points MVP 8x c-trib
    Nov 28, 2014 @ 14:59
    Jeffrey Schoemaker
    1

    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!

  • Arjan Woldring 124 posts 231 karma points
    Dec 03, 2014 @ 19:48
    Arjan Woldring
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft