Wrong size image being loaded
-
Hello,
I am working on optimizing a new theme and using JEtpack to automatically resize my photos, and I have the one issue I’m noticing that on my homepage, if you look at the “photo gallery” section, the photos in there are not being loaded at the correct resolution and are loading the full size, even though the css says width: 1170px.
I did notice the parent div is 17550px which may be causing the issue, but I’m not sure why it would be looking at the parent div to get the size anyways.
<div style="background-image: url("https://i2.wp.com/www.redroll.com/wp-content/uploads/2019/12/Zeds-Dead-Photo-26-scaled.jpg?fit=2560%2C1730&ssl=1"); width: 1170px; position: relative; left: 0px; top: 0px; z-index: 998; opacity: 0; transition: opacity 500ms ease 0s;" class="slide slide-id-18093 tie-slide-1 tie-thumb slick-slide" data-slick-index="0" aria-hidden="true" tabindex="-1" role="option" data-aria-describedby="slick-slide20"> <a href="https://www.redroll.com/2019/12/23/deadbeats-tour-zeds-dead-aragon-ballroom/" class="all-over-thumb-link" aria-label="Deadbeats Tour: Zeds Dead @ Aragon Ballroom" tabindex="-1"></a> <div class="thumb-overlay"> <span class="tie-icon tie-media-icon"></span> <div class="container"><span class="post-cat-wrap"><a class="post-cat tie-cat-4" href="https://www.redroll.com/category/editorials/" tabindex="-1">Editorials</a></span><div class="thumb-content"><div class="thumb-meta"><span class="date meta-item tie-icon">December 23, 2019</span></div> <h2 class="thumb-title"><a href="https://www.redroll.com/2019/12/23/deadbeats-tour-zeds-dead-aragon-ballroom/" tabindex="-1">Deadbeats Tour: Zeds Dead @ Aragon Ballroom</a></h2> </div> <!-- .thumb-content /--></div><!-- .container --> </div><!-- .thumb-overlay /--> </div>
The page I need help with: [log in to see the link]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Wrong size image being loaded’ is closed to new replies.