media_manager_plus
media_manager_plus copied to clipboard
Problem mit media query für generateBackgroundImage im Firefox
Der Firefox 64.0 (64-Bit) kommt mit der media query für das Backgroundimage nicht zurecht.
Er nimmt immer das XS-Bild.
Ich habe dies geändert auf, damit es auch im Firefox funktioniert:
media_manager_plus_frontend.php Zeile ~21
$str .= '@media only screen and '.$mediaquery.' and (-webkit-min-device-pixel-ratio: '.intval($factor).'), screen and '.$mediaquery.' and (-o-min-device-pixel-ratio: '.intval($factor).'/1), screen and '.$mediaquery.' and (min-resolution: '.intval($factor * 96).'dpi), screen and '.$mediaquery.' and (min-resolution: '.intval($factor).'dppx) {'.PHP_EOL;