Copied to clipboard

Flag this post as spam?

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


  • Filipe Sousa 43 posts 205 karma points
    Feb 17, 2017 @ 16:08
    Filipe Sousa
    0

    Random image parameter

    Hi guys,

    I use the foundation framework on some websites. It appends a 'random' parameter to some of the images to avoid cache (mainly for IE browsers).

    This is making Image Processor to misunderstand the request and return a 400 error. Is there some way to overcome this?

    Umbraco version: 7.5.4

    Example request: http://www.example.com/media/8765/kitchen.jpg?random=1

    Many thanks,

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Feb 17, 2017 @ 16:22
    Jeavon Leopold
    100

    ImageProcessor allows cache buster querystring variables named "v" or "rnd".

    Ideally see if you can change your examples to use "rnd" instead of "random" otherwise you could send a PR to add "random" here

  • Filipe Sousa 43 posts 205 karma points
    Feb 17, 2017 @ 16:30
    Filipe Sousa
    0

    Many thanks Jeavon!

    We'll look into both and discuss ;)

Please Sign in or register to post replies

Write your reply to:

Draft