Title: Replace slider-loader.gif
Last modified: August 30, 2016

---

# Replace slider-loader.gif

 *  Resolved [Martonno](https://wordpress.org/support/users/martonno/)
 * (@martonno)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/replace-slider-loadergif/)
 * I have a Slider on my page.
    When javascript is disbled, the slider-loader.gif
   is being shown.
 * How can i show an image instead of the slider-loader.gif, preferably the first
   image from my slider?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Rocco Aliberti](https://wordpress.org/support/users/d4z_c0nf/)
 * (@d4z_c0nf)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/replace-slider-loadergif/#post-6282883)
 * I was thinking..
    you could wrap the slider-loading in a div with class “hidden”(
   => see not shown) in that case, something achievable adding the following in 
   your child-theme functions.php: [https://gist.github.com/eri-trabiccolo/af29db432af43acdc8ae#file-hidden-slider-loading-gif-js-disabled-php](https://gist.github.com/eri-trabiccolo/af29db432af43acdc8ae#file-hidden-slider-loading-gif-js-disabled-php)
 * What do you think?
 *  Thread Starter [Martonno](https://wordpress.org/support/users/martonno/)
 * (@martonno)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/replace-slider-loadergif/#post-6282889)
 * d4z,
 * you are the best. Works perfectly!
    Should be included in customizr by default.
 *  [Rocco Aliberti](https://wordpress.org/support/users/d4z_c0nf/)
 * (@d4z_c0nf)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/replace-slider-loadergif/#post-6282890)
 * Eheh , thanks 🙂
    Anyway I see that that solution looks like not html valid. 
   I really don’t know how much this can be considered an issue (it might be a parser
   issue), but users might complain about that. So another solution is needed ..
 *  Thread Starter [Martonno](https://wordpress.org/support/users/martonno/)
 * (@martonno)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/replace-slider-loadergif/#post-6282891)
 * Hm okay,
 * so i better stick to
 *     ```
       /*
       * Change source of loader image
       */
       add_filter('tc_slider_loader_src', 'slider_loader_src');
       function slider_loader_src(){
        return 'http://path/to/image.jpg';
       }
       ```
   
 * or
 *     ```
       /*
       * Hide slider loader
       */
       add_filter('tc_display_slider_loader', 'display_slider_loader');
       function display_slider_loader(){
        return false;
       }
       ```
   
 * ?
 * BTW: Does an overview for all possible hooks supported by customizr exist?
 *  [Rocco Aliberti](https://wordpress.org/support/users/d4z_c0nf/)
 * (@d4z_c0nf)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/replace-slider-loadergif/#post-6282912)
 * Hello Martonno,
    in the next theme release you’ll find a “different” solution
   to solve this, as I told you above 😉
 *  Thread Starter [Martonno](https://wordpress.org/support/users/martonno/)
 * (@martonno)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/replace-slider-loadergif/#post-6282913)
 * Nice!
 * Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Replace slider-loader.gif’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/customizr/4.4.24/screenshot.png)
 * Customizr
 * [Support Threads](https://wordpress.org/support/theme/customizr/)
 * [Active Topics](https://wordpress.org/support/theme/customizr/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/customizr/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/customizr/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [noscript](https://wordpress.org/support/topic-tag/noscript/)

 * 6 replies
 * 2 participants
 * Last reply from: [Martonno](https://wordpress.org/support/users/martonno/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/replace-slider-loadergif/#post-6282913)
 * Status: resolved