Copied to clipboard

Flag this post as spam?

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

  • Lennart Stoop 304 posts 836 karma points
    Nov 22, 2012 @ 21:08
    Lennart Stoop

    ImageGen handler query restrictions


    I was wondering if it is possible to restrict the ImageGen handler in creating thumbs of *any* size. My main concern is that someone could easily write a script which calls the handler with a rainbow of sizes, resulting in the servers caching a big pile of images.

    Would this require the pro version and can this be prevented by using classes and the overridesQueryString setting for example?




  • Douglas Robar 3569 posts 4669 karma points MVP 6x admin c-trib
    Nov 22, 2012 @ 21:12
    Douglas Robar

    That's exactly right. While I've never heard of anyone being malicious with imagegen requests it is conceivable and ImageGen Professional's maxWidth and MaxHeight parameters (and/or the allowUpsizing parameter) will restrict that from happening. You can set these in the "default" class and also in any specific classes you might use. 

    Details in the Reference pdf.


  • Lennart Stoop 304 posts 836 karma points
    Nov 22, 2012 @ 21:27
    Lennart Stoop

    Thanks for the quick confirmation, Douglas!

    Enjoy your weekend :)

Please Sign in or register to post replies

Write your reply to: