Title: Slider images missing src/srcset attributes
Last modified: June 29, 2019

---

# Slider images missing src/srcset attributes

 *  [cag8f](https://wordpress.org/support/users/cag8f/)
 * (@cag8f)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/slider-images-missing-src-srcset-attributes/)
 * Hello. I am using the Spacious theme, and have displayed an image slider on my
   home page. When inserting an image onto a page, WordPress default behavior is
   to add `src` and `srcset` attributes to the  tag ([screenshot](https://i.imgur.com/ny2NCrq.jpg)).
   This helps ensures that the page does not waste resources downloading an unnecessarily
   large image. But the images in my home page slider do not possess these attributes(
   [screenshot](https://i.imgur.com/LiCgIRQ.jpg)). Why is that and how can I resolve
   it?
 * Thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fslider-images-missing-src-srcset-attributes%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Rajesh – ThemeGrill Support](https://wordpress.org/support/users/rajeshpoudel/)
 * (@rajeshpoudel)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/slider-images-missing-src-srcset-attributes/#post-11687323)
 * Hi,
 * We will discuss this with our team and if approved will be available in the next
   version update of the theme. Thank you for your patience.
 * Thanks.
 *  Thread Starter [cag8f](https://wordpress.org/support/users/cag8f/)
 * (@cag8f)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/slider-images-missing-src-srcset-attributes/#post-11688359)
 * OK thanks. To give some more reason why I’d like this issue resolved, Google’s
   PageSpeed Insights reports my slider image as not being scaled properly at mobile
   screen widths ([screenshot](https://i.imgur.com/oB1YG0u.jpg)). I believe the 
   reason is because the  tag is missing the src and srcset attributes.
 * Thanks.
 *  [Rajesh – ThemeGrill Support](https://wordpress.org/support/users/rajeshpoudel/)
 * (@rajeshpoudel)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/slider-images-missing-src-srcset-attributes/#post-11691032)
 * Hi,
 * Ok, thank you for your information.
 * Thanks.
 *  Thread Starter [cag8f](https://wordpress.org/support/users/cag8f/)
 * (@cag8f)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/slider-images-missing-src-srcset-attributes/#post-11763158)
 * [@rajeshpoudel](https://wordpress.org/support/users/rajeshpoudel/) Hello. I see
   that theme versions 1.6.4 and 1.6.5 were released on 11/12 July. Was this fix
   part of either of those updates?
 * Thanks.
 *  [Rajesh – ThemeGrill Support](https://wordpress.org/support/users/rajeshpoudel/)
 * (@rajeshpoudel)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/slider-images-missing-src-srcset-attributes/#post-11765298)
 * Hi,
 * You can check the changelog of the theme from the link below:
    [https://github.com/themegrill/spacious](https://github.com/themegrill/spacious)
 * The issue mentioned above hasn’t been fixed in these releases.
 * Thanks.
 *  Thread Starter [cag8f](https://wordpress.org/support/users/cag8f/)
 * (@cag8f)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/slider-images-missing-src-srcset-attributes/#post-11766197)
 * >> The issue mentioned above hasn’t been fixed in these releases.
 * OK thanks for confirming.
 * Earlier you said you would discuss this with the team to see if it would be approved.
   Were you able to discuss it, and was it approved?
 *  [Nitu – ThemeGrill Support](https://wordpress.org/support/users/nitushrestha10/)
 * (@nitushrestha10)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/slider-images-missing-src-srcset-attributes/#post-11769050)
 * [@cag8f](https://wordpress.org/support/users/cag8f/)
 * Currently, we are working on another project so it might take some time to check
   onto it. So, thank you for your patience and understanding.
 * Thanks.
 *  Thread Starter [cag8f](https://wordpress.org/support/users/cag8f/)
 * (@cag8f)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/slider-images-missing-src-srcset-attributes/#post-11770614)
 * OK thanks. I will check in again in a few weeks.

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

The topic ‘Slider images missing src/srcset attributes’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/spacious/1.9.12/screenshot.jpg)
 * Spacious
 * [Support Threads](https://wordpress.org/support/theme/spacious/)
 * [Active Topics](https://wordpress.org/support/theme/spacious/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/spacious/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/spacious/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [cag8f](https://wordpress.org/support/users/cag8f/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/slider-images-missing-src-srcset-attributes/#post-11770614)
 * Status: not resolved