Copied to clipboard

Flag this post as spam?

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


  • James Hamilton 4 posts 24 karma points
    Dec 07, 2017 @ 12:39
    James Hamilton
    0

    Configurable Max Image Size

    Hi,

    Thanks for the great package. Is it possible to get the MaxImageSize const moved int the web.config?

    It would be good to configure this per site, rather than having a fixed limit.

    Thanks,

    James...

  • SSA Backend 108 posts 640 karma points
    Dec 07, 2017 @ 15:37
    SSA Backend
    0

    Hi,

    We can't move it to the Tinifier settings page, but why do you need to change it?

    Its value depends on a Tiny PNG API restrictions, to prevent unnecessary API calls.

    Could you explain it in details?

    Thanks, Dmytro

  • James Hamilton 4 posts 24 karma points
    Dec 07, 2017 @ 16:25
    James Hamilton
    0

    Hi,

    We have some images on our site that are 16-20mb.

    I originally thought it was an API restriction so I contacted TinyPNG. They have confirmed that the file size on the API calls is unlimited.

    I have just finished a pull request on the plugin which allows the developer to override the 14mb default value with an app setting in the web.config. The key is optional and it will default back to 14mb.

    Thanks,

    James...

  • SSA Backend 108 posts 640 karma points
    Dec 08, 2017 @ 09:32
    SSA Backend
    0

    Hi,

    I created a ticket, parameter will be configurable in a new version

    Regards, Dmytro

  • James Hamilton 4 posts 24 karma points
    Dec 08, 2017 @ 09:33
    James Hamilton
    0

    Thanks

  • SSA Backend 108 posts 640 karma points
    Feb 02, 2018 @ 12:21
    SSA Backend
    0

    Hey,

    We released a new version where your issue is resolved.

    Have a nice day.

Please Sign in or register to post replies

Write your reply to:

Draft