[OFFER ALERT!] This Halloween, Get Any Premium Theme for Just $19 [GET IT NOW]
Jump to content

[MagXP] Blurry thumbnail images


maryoflovers81
 Share

Recommended Posts

Hello,

I have fallen in love with the MagXP theme and was about to buy it from your site, but then I checked how it looks on other devices (mobile, tablet, notebook...) and asked some friends to do the same for me. I've noticed that the thumbnails on the main site and for 'related posts' look blurry on most devices other than dekstop computers. I've attached a screenshot on how it looks on my mobile phone. Is that something that can be fixed? I've looked at some of the other demo themes (like 'Video') and didn't notice such a blurry/resized images. Thank you for your time! :)

 

mythemeshop.thumb.png.0c5b1a38103d522109c34118bc96942e.png

Link to comment
Share on other sites

  • Support

Hello,

Thank you for contacting MyThemeShop today.

Glad you liked the theme. That feature was introduced in WP 4.4 and is there to improve the page loading times.

You can use a plugin like this to disable responsive images:

https://wordpress.org/plugins/disable-responsive-images/

or add below code in your functions.php file (recommended to use a child theme):
 

/**
* Disable responsive image support
*/
// Clean the up the image from wp_get_attachment_image()
add_filter( 'wp_get_attachment_image_attributes', function( $attr )
{
if( isset( $attr['sizes'] ) )
unset( $attr['sizes'] );

if( isset( $attr['srcset'] ) )
unset( $attr['srcset'] );

return $attr;

}, PHP_INT_MAX );

// Override the calculated image sizes
add_filter( 'wp_calculate_image_sizes', '__return_false', PHP_INT_MAX );

// Override the calculated image sources
add_filter( 'wp_calculate_image_srcset', '__return_false', PHP_INT_MAX );

// Remove the reponsive stuff from the content
remove_filter( 'the_content', 'wp_make_content_images_responsive' );

Or you can ask us to help you in implementing this.

Hope that helps. If you have any further question(s), please let us know. Thank you.


🏁Rank #1 on Google With our WordPress SEO Plugin

Score a 💯on PageSpeed and Dominate Search Rankings.

✏ Editing theme files? Please create a child theme to make your changes update-proof.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...