• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 15.01.23, 00:54
  • Opened by: Wojciech
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #24151 - Problem with lazy loading - still visible

When i’m using product image without background i see lazy image loader. Looks like lazy loader not turning off when the image was loaded.



Fred 15 Jan 2023, 10:14

Hi, Wojciech.
Please give me a link to a page where I can see that, because there is no loader on product page https://dev.furmeb24.pl/strona-glowna/4-test.html

Wojciech 15 Jan 2023, 19:23

Hi Fred, thanks for your reply. You can see it on homepage: https://dev.furmeb24.pl/ If you scroll down you see elementor block “produkty asd” and there is a product miniature with transparent background. Additional if you scroll more down you can see this same problem in block under “Our brands”.
Additional can you tell me how to change url for favorite items? At this moment it’s: https://dev.furmeb24.pl/favorites i wanna change it for: https://dev.furmeb24.pl/ulubione

Fred 16 Jan 2023, 18:44

Sorry, but I don’t see the issue - https://take.ms/NTiIa

As for the Favorites url:
- open the file /modules/pkfavorites/pkfavorites.php
- find the line

'rule'       => 'favorites',

and change it to

'rule'       => 'ulubione',
Wojciech 16 Jan 2023, 21:56

I try to reproduce this bug in Incognito mode that’s steps to reproduce:
1. Open home page and scroll to the “Produkty asd” block at this moment all looks great (like on your screen)
2. Click to image and redirect to product page,
3. Click on logo to go back on homepage and scroll down to problematic block and looks like on screen in attachment.
On screen i marked the loader which is visible on photo without background in dev tools this is (screen 2):

img[src$='.jpg'][loading='lazy']:not(.loaded), .pk-loader {
    background-size: 50px;
Fred 16 Jan 2023, 22:07

I have tried to reproduce using your steps but can’t see it.
To disable loader, try following CSS

img[src$='.jpg'][loading='lazy'] {background: none !important}