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
    4 days ago
    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...

  • Backend Devs 65 posts 488 karma points
    4 days ago
    Backend Devs
    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
    4 days ago
    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...

  • Backend Devs 65 posts 488 karma points
    3 days ago
    Backend Devs
    0

    Hi,

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

    Regards, Dmytro

Please Sign in or register to post replies

Write your reply to:

Draft