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 830 karma points
    Nov 22, 2012 @ 21:08
    Lennart Stoop
    0

    ImageGen handler query restrictions

    Hello,

    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?

     

    Thanks

    Lennart

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

    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.

    cheers,
    doug. 

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

    Thanks for the quick confirmation, Douglas!

    Enjoy your weekend :)

Please Sign in or register to post replies

Write your reply to:

Draft