How to limit image size

  1. 3 years ago


    11 Apr 2016

    Or attachment image size, It shows the images as big as they are. How can I set a limit? I'm not saying size in bytes, the size in pixels is my problem.

  2. Not sure you can do it currently with the attachment plugin, you can only limit it by bytes (which should in turn limit the amount of height x width, although if someone wanted to have a very small height and long width nothing would stop them).

  3. [deleted]

    14 Apr 2016

    Looks like I have to do something manually.

  4. @KnownSyntax you can limit the thumbnail size as well in the plugin.php which is where is stops. ^^


or Sign Up to reply!