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

Fixed  Images not honoring imagePath property

Andy Huang

Well-known member
#1
Really not sure if there have already been one about this, but searching for imagePath yielded no result, so I'm making a new post.

The following images on the home page are not honoring imagePath property defined in style properties. This renders CDN semi-useless, and they should be updated to honor the property.

On home page:
/styles/default/xenforo/gradients/form-button-white-25px.png
/styles/default/xenforo/gradients/category-23px-light.png
/styles/default/xenforo/logo.png

On Forum Display page:
/styles/default/xenforo/gradients/form-button-white-25px.png
/styles/default/xenforo/widgets/circle-arrow-down.png
/styles/default/xenforo/gradients/category-23px-light.png
/styles/default/xenforo/logo.png

On Show Thread page:
/styles/default/xenforo/gradients/form-button-white-25px.png
/styles/default/xenforo/gradients/category-23px-light.png
/styles/default/xenforo/smilies/smile.png
/styles/default/xenforo/logo.png

I'm not sure exactly which templates are in to be honest, because I didn't dig the HTML. They just came up on gtmetrix when I am testing my site for performance. Might look them up later tonight if I have time...
 

Shadab

Well-known member
#3
Yes, I noticed the hardcoded image paths too. Could it be a relic of when they hadn't developed the style properties system yet? Anyway most of them are present in the "Style Properties" section of default style:

  • Style Properties

    • General » Inline Moderation Checked
      styles/default/xenforo/gradients/category-23px-light.png

    • Sections » Sub-Heading
      styles/default/xenforo/gradients/category-23px-light.png

    • Sections » Secondary Content
      styles/default/xenforo/gradients/category-23px-light.png

    • Sections » Section Footer
      styles/default/xenforo/gradients/category-23px-light.png

    • Header and Navigation » Settings
      styles/default/xenforo/logo.png

    • Form Elements » Text Controls: Focused
      styles/default/xenforo/gradients/form-element-focus-25.png

    • Form Elements » Textarea: Focused
      styles/default/xenforo/gradients/form-element-focus-100.png

    • Buttons » Buttons
      styles/default/xenforo/gradients/form-button-white-25px.png

    • Popup Menus » Popup Control
      styles/default/xenforo/gradients/tab-unselected-25px-light.png

    • Popup Menus » Popup Control Arrow (closed)
      styles/default/xenforo/widgets/circle-arrow-down.png

    • Popup Menus » Popup Control Arrow (open)
      styles/default/xenforo/widgets/circle-arrow-up.png