img src and data-src for SEO
-
Hello! I very need your help.
I making a SEO for site. And see that this slider have some problems with SEO…
The problem is – when we see in the html code of page without javascript or just in all html code loaded – we see this https://prntscr.com/ku4p4c
I mean – img is not in img src tag. It in the data-src tag and it’s a problem for SEO.
<div class="sp-slide"> <img class="sp-image" alt="Ринопластика 1" src="https://md-kharkov.com.ua/wp-content/plugins/ultimate-responsive-image-slider/css/images/blank.gif" data-src="https://md-kharkov.com.ua/wp-content/uploads/2017/12/rhinoplasty-58.jpg" /> <p class="sp-layer sp-white sp-padding title-in title-in-bg hide-small-screen" data-position="centerCenter" data-vertical="-14%" data-show-transition="left" data-show-delay="500"> Ринопластика 1 </p>
I need to show this html –
<img class="sp-image" data-default="https://md-kharkov.com.ua/wp-content/uploads/2017/12/rhinoplasty-57.jpg" alt="Ринопластика" src="https://md-kharkov.com.ua/wp-content/uploads/2017/12/rhinoplasty-57.jpg" style="width: 100%; height: auto; margin-left: 0px; margin-top: -29px;">
I mean that the src of image must be always a real img src, not with data-src tag.
How can I fix it in jquery.sliderPro.js? Pls help. Thanks!The page I need help with: [log in to see the link]
- The topic ‘img src and data-src for SEO’ is closed to new replies.