Copied to clipboard

Flag this post as spam?

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


  • Robin Hansen 135 posts 368 karma points
    May 17, 2017 @ 12:52
    Robin Hansen
    0

    Urlrewrite media path

    I need to make my media paths seofriendly e.g.

    From: /media/1234/placeholder.jpg?crop=0.0326830719537591070&cropmode=percentage&width=750&height=501&rnd=131393151710000000&quality=85&bgcolor=ffffff

    To: /media/1234/placeholder.jpg/0.0326830719537591070/percentage/750/501/131393151710000000/85/ffffff

    What would be the best approach...?

  • Craig Mayers 164 posts 508 karma points
    May 17, 2017 @ 13:30
    Craig Mayers
    0

    Hi Robin,

    I don't think this is possible... As you would have to re-write the source code for ImageProcessor which is what powers the ImageCropper control.

    It works based on query string parameters. If you were to remove these then your crops wouldn't function as expected.

    FYI:

    https://our.umbraco.org/documentation/getting-started/backoffice/property-editors/built-in-property-editors/image-cropper

    Regards

    Craig

Please Sign in or register to post replies

Write your reply to:

Draft