Title: Problem loading slider images
Last modified: July 3, 2022

---

# Problem loading slider images

 *  Resolved [Chr1s1991](https://wordpress.org/support/users/apro1991/)
 * (@apro1991)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/problem-loading-slider-images/)
 * Well I don’t know why this is happening. I have no cache plugin or compress plugin.
   And the weird thing is that it might be jquery compatibility problem? It throws
   on console Cannot read properties of null (reading ‘querySelectorAll’).
    Any 
   suggestions?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-loading-slider-images%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Ramona](https://wordpress.org/support/users/nextend_ramona/)
 * (@nextend_ramona)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/problem-loading-slider-images/#post-15793812)
 * Hi [@apro1991](https://wordpress.org/support/users/apro1991/)
 * The first JavaScript error on your site is actually not connected to Smart Slider,
   but to an inline code that might be related to Slider Revolution. This is where
   the first error:
    `Failure at Presize of Slider:TypeError: document.getElementById(...)
   is null` points to this inline code: `function setREVStartSize(t){try{var h,e
   =document.getElementById(t.c).parentNode.offsetWidth;if(e=0===e||isNaN(e)?window.
   innerWidth:e,t.tabw=void 0===t.tabw?0:parseInt(t.tabw),t.thumbw=void 0===t.thumbw?
   0:parseInt(t.thumbw),t.tabh=void 0===t.tabh?0:parseInt(t.tabh),t.thumbh=void 
   0===t.thumbh?0:parseInt(t.thumbh),t.tabhide=void 0===t.tabhide?0:parseInt(t.tabhide),
   t.thumbhide=void 0===t.thumbhide?0:parseInt(t.thumbhide),t.mh=void 0===t.mh||""
   ==t.mh||"auto"===t.mh?0:parseInt(t.mh,0),"fullscreen"===t.layout||"fullscreen"
   ===t.l)h=Math.max(t.mh,window.innerHeight);else{for(var i in t.gw=Array.isArray(
   t.gw)?t.gw:[t.gw],t.rl)void 0!==t.gw[i]&&0!==t.gw[i]||(t.gw[i]=t.gw[i-1]);for(
   var i in t.gh=void 0===t.el||""===t.el||Array.isArray(t.el)&&0==t.el.length?t.
   gh:t.el,t.gh=Array.isArray(t.gh)?t.gh:[t.gh],t.rl)void 0!==t.gh[i]&&0!==t.gh[
   i]||(t.gh[i]=t.gh[i-1]);var r,a=new Array(t.rl.length),n=0;for(var i in t.tabw
   =t.tabhide>=e?0:t.tabw,t.thumbw=t.thumbhide>=e?0:t.thumbw,t.tabh=t.tabhide>=e?
   0:t.tabh,t.thumbh=t.thumbhide>=e?0:t.thumbh,t.rl)a[i]=t.rl[i]<window.innerWidth?
   0:t.rl[i];for(var i in r=a[0],a)r>a[i]&&0<a[i]&&(r=a[i],n=i);var d=e>t.gw[n]+
   t.tabw+t.thumbw?1:(e-(t.tabw+t.thumbw))/t.gw[n];h=t.gh[n]*d+(t.tabh+t.thumbh)}
   void 0===window.rs_init_css&&(window.rs_init_css=document.head.appendChild(document.
   createElement("style"))),document.getElementById(t.c).height=h,window.rs_init_css.
   innerHTML+="#"+t.c+"_wrapper { height: "+h+"px }"}catch(t){console.log("Failure
   at Presize of Slider:"+t)}};`
 * JavaScript errors can break other JavaScript codes and prevent them from working.
   Can you temporarily turn off Slider Revolution and see if the problem persists?
 * Alternatively, if you turn off all other plugins and switch to a WordPress default
   theme are you able to make the slider work?
    If that’s good, try turning on the
   plugins and theme one by one to figure out what causes the error: [https://smartslider.helpscoutdocs.com/article/1735-how-to-do-a-plugin-theme-conflict-test](https://smartslider.helpscoutdocs.com/article/1735-how-to-do-a-plugin-theme-conflict-test)
   then let me know the name of theme/plugin that needs to be enabled for the error
   to happen again.
 *  Thread Starter [Chr1s1991](https://wordpress.org/support/users/apro1991/)
 * (@apro1991)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/problem-loading-slider-images/#post-15794924)
 * Ok I removed the revolution slider but still nothing changed. I think there is
   problem on lazy load? If I try on a post it works but here it doesn’t it is a
   custom post of theme.
 *  Thread Starter [Chr1s1991](https://wordpress.org/support/users/apro1991/)
 * (@apro1991)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/problem-loading-slider-images/#post-15794964)
 * Also if you check on network Big images of slider like [https://chandakos8.com/wp-content/uploads/slider/cache/30e28fb40917c17cbe9b65cd74f3d301/chandakos_c_15.jpg](https://chandakos8.com/wp-content/uploads/slider/cache/30e28fb40917c17cbe9b65cd74f3d301/chandakos_c_15.jpg)
   
   are downloaded but not showing on slider probably lazy load is the problem
 *  [Ramona](https://wordpress.org/support/users/nextend_ramona/)
 * (@nextend_ramona)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/problem-loading-slider-images/#post-15795118)
 * Hi,
 * Looking at the page again, I find it possible that the issue happens because 
   of some kind of optimization plugin. I can see at the thumbnails that our data
   URIs:
    [https://en.wikipedia.org/wiki/Data_URI_scheme](https://en.wikipedia.org/wiki/Data_URI_scheme)
   which we use to display the thumbnail control’s arrow are messed up.
 * They should start like this:
    `data:image/svg+xml;base64,` but they start like
   this on your site: `image/svg+xml;base64`
 * Unfortunately, I wasn’t able to figure out what’s doing this optimization based
   on the page source. If you know what plugin you’re using for optimization, can
   you try temporarily turning it off?
 * If you’re not sure, or if turning off that plugin doesn’t solve the problem, 
   please run a plugin and theme conflict test:
    [https://smartslider.helpscoutdocs.com/article/1735-how-to-do-a-plugin-theme-conflict-test](https://smartslider.helpscoutdocs.com/article/1735-how-to-do-a-plugin-theme-conflict-test)
   and let me know which plugin/theme causes the problem and we’ll take a look at
   it.

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

The topic ‘Problem loading slider images’ is closed to new replies.

 * ![](https://ps.w.org/smart-slider-3/assets/icon.svg?rev=2307688)
 * [Smart Slider 3](https://wordpress.org/plugins/smart-slider-3/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/smart-slider-3/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/smart-slider-3/)
 * [Active Topics](https://wordpress.org/support/plugin/smart-slider-3/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/smart-slider-3/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/smart-slider-3/reviews/)

## Tags

 * [slider error](https://wordpress.org/support/topic-tag/slider-error/)

 * 4 replies
 * 2 participants
 * Last reply from: [Ramona](https://wordpress.org/support/users/nextend_ramona/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/problem-loading-slider-images/#post-15795118)
 * Status: resolved