How DO I TELL if Srcset is working
-
Hi, I’m new to this plugin but not new to coding or wordpress. How can I tell if this is working.
Here is my issue I have three sizes
150×150 cropped thumbnail250×4096 medium
and
700×4096 largeWhen I use my phone, it’s still using the 250 medium width images which look pixelated because of my screen width (samsung note 4)
Shouldn’t this plugin by nature bump this up to the 700px width version of the jpeg
Here is my site
hotrodresource.com/photos/I also found this code which is what is generating the thumbnails on the front page but seems to be forcing them at 250 even on phones which are greater in width pixels and higher resolution
<?php$imgsrc = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), ‘medium’);
if ($imgsrc[0] == ”) {
$imgsrc[0] = get_template_directory_uri() . ‘/img/blank.gif’;
$imgsrc[1] = get_option(‘medium_size_w’);
$imgsrc[2] = get_option(‘medium_size_w’);
}
PLEASE HELP ??
- The topic ‘How DO I TELL if Srcset is working’ is closed to new replies.