1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.1 photo redirect?

Discussion in 'Troubleshooting and Problems' started by Adam Howard, Sep 4, 2012.

  1. Adam Howard

    Adam Howard Well-Known Member

    So I have 3 photos that are listed in my EXTRA.css

    And they look a little like this

    background: @primaryDarker url('styles/skinden/social/xenforo/gradients/cat-bg.png'repeat-x center !important;
    border-bottom1px solid @primaryDark !important;

    Wanting to point this to my CDN, I added a direct path of cdn.sociallyuncensored.com

    So the end result looked like this


    This seemed simple enough.... So what what's the problem?

    Upon inspecting everything with Firebug, I learn that they're being re-directed as thus


    WTF?! :confused:o_O

    Now keep in mind it is only these 3 photos. Thoughts?
  2. MagnusB

    MagnusB Well-Known Member

    You need the full URL, this ('cdn.sociallyuncensored.com/styles/skinden/social/xenforo/gradients/cat-bg.png') will be read as a relative URL. Add http in front of it.
    Jake Bunce and Adam Howard like this.
  3. Adam Howard

    Adam Howard Well-Known Member

    It's always the little things :p

    Thank you :)
  4. MagnusB

    MagnusB Well-Known Member

    Hiding in plain sight ;)
    Adam Howard likes this.

Share This Page