- February 20, 2020 at 8:05 pm #20524
Greetings! I just installed the ART theme and the images in mobile are blurry (safari & chrome).
I cannot find out what the issue is (wordpress downsample or plugin). Is it a setting in theme? On Desktop, the image resolution is fine.
It doesn’t seem to be a common problem, so I’m hoping it’s just user error. 🙂
Thanks for the help!February 21, 2020 at 4:46 am #20528February 21, 2020 at 6:55 am #20529This reply has been marked as private.February 22, 2020 at 4:37 am #20532
We set image srcset in Art theme, it means that it shows different size image files for different size screen device.
The origin size(1920×950, ) loaded on the desktop:
The smaller size(1000×495) for the mobile
It is possible to show the origin image for all devices:
Go to Plugins>plugin editor, edit /plugins/bm-builder/include/templates/modules/module-slider.php
find the line 214:
$sliderImgTag = '<img src="'.esc_attr( $thumbBlank ).'" data-src="' .esc_url( $thumbSrc ). '" alt="'.esc_attr( $imageCaption ).'" data-srcset="'.wp_kses_post( $thumbFullSrcset ).'" data-sizes="'.wp_kses_post( $thumbFullSizes ).'" class="grid-item-img owl-lazy lazy" >';
$sliderImgTag = '<img src="'.esc_attr( $thumbBlank ).'" data-src="' .esc_url( $thumbSrc ). '" alt="'.esc_attr( $imageCaption ).'" class="grid-item-img owl-lazy lazy" >';
ps: we will consider adding the option to disable srcset in the future.
RegardsFebruary 23, 2020 at 5:59 am #20533
This is perfect! Thank you so much for the help.
Will keep a lookout for future updates to see if disable srcset is added.
Thanks & bestMarch 3, 2020 at 9:15 pm #20584lisavanvlijmenParticipantThis reply has been marked as private.March 4, 2020 at 2:43 am #20585
- You must be logged in to reply to this topic.