Reply To: Post Images Pixelated on Front Page

#20769
bcr8tive
Participant

Hi shawnallyn

Yes I had this issue a long while back – the solution was to prevent image compression (however I still compress my images via Photoshop so that file sizes do not become too cumbersome to page load speeds – but at least the images don’t look like crap.)

In my child theme’s functions:
* ADD FILTER TO PREVENT IMAGE COMPRESSION
*/
add_filter( ‘jpeg_quality’, ‘jpeg_full_quality’ );
function jpeg_full_quality( $quality ) { return 100; }

  • This reply was modified 9 years, 9 months ago by bcr8tive.