Last active

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Code-Snippet für functions.php, um die Komprimierung der JPEG-Bilder in der Mediathek zu steuern

View gist:3900552
1 2 3 4 5 6 7 8 9 10
<?php
add_filter(
'jpeg_quality',
'adjust_jpeg_quality'
);
function adjust_jpeg_quality($quality) {
return 100; /* 0 = Sehr stark komprimiert / 100 = Keine Komprimierung */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.