Copied to clipboard

Flag this post as spam?

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


  • Lachlann 344 posts 626 karma points
    Sep 07, 2009 @ 18:59
    Lachlann
    0

    Reg Ex Validating Image Dimensions

    Hi I am using umbraco v 4.0.2.1 (Assembly version: 1.0.3441.17657)

    I'm wondering if there is a way of using the regex validation with media picker? I basicaly want to make sure that the user only chooses an image with certain dimensions, I have seen a couple of forum posts regarding this but no answers just wondering if its possible.

    Thanks

    Lachlann

  • Simon Justesen 436 posts 203 karma points
    Sep 07, 2009 @ 21:49
    Simon Justesen
    0

    Hmm, I don't think it's possible as regex validation is targeted at input strings rather than other functionality. But the media picker code is available at the umbraco home at Codeplex, so I guess you can easily extend it if you wish.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies