Copied to clipboard

Flag this post as spam?

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


  • How Do I Delete My Account? 68 posts 433 karma points
    Aug 04, 2015 @ 22:48
    How Do I Delete My Account?
    0

    "&" in Imagecropper URL seen as errors by W3C

    I validated my site and got 23 errors. All caused by the "&" in the url.

    Do you know how to get around this?

  • Alex Skrypnyk (skrypnyk.dev) 6064 posts 23316 karma points MVP 6x admin c-trib
    Aug 05, 2015 @ 13:34
    Alex Skrypnyk (skrypnyk.dev)
    0

    Hi Daniel,

    Can you show how do you get Imagecropper URL?

    Thanks

  • How Do I Delete My Account? 68 posts 433 karma points
    Aug 08, 2015 @ 11:36
    How Do I Delete My Account?
    0

    Hi Alex,

    I copied it from another page of my site because I'm not a smart man :) haha. I figured thats probably why. The content in this partial view I'm using it in is hard coded so I guess thats why. Søren Kottal422's solution would probably work but I've decided to make it dynamic instead. It will make it alot easier for me and also get me a error free cropped URL :)

  • Søren Kottal 618 posts 3965 karma points MVP 4x c-trib
    Aug 06, 2015 @ 12:16
    Søren Kottal
    0

    Replace it with &

  • How Do I Delete My Account? 68 posts 433 karma points
    Aug 08, 2015 @ 11:37
    How Do I Delete My Account?
    100

    Hi Søren,

    Thx for your reply. That would probably work, but I've choosen a different take on the problem instead as I mentioned in my reply to Alex :)

    Edit: I'll mark this as soultion and name Sorens answer: Replace it with &, for future notice. And, don't simply copy the image URL from another page. The & will be translated to "&" and that's what causing the errors :)

Please Sign in or register to post replies

Write your reply to:

Draft