Elegant degradation (replace content with same-size content) ?
- '.((!$gd_available) ? ' (Not available because GD seems to not be installed on your system)' : '').'
+ '.((!$getimagesize_available) ? ' (Not available because the getimagesize seems to not be available on your system or allow_url_fopen is set to Off in php.ini)' : '').'
diff --git a/adblock/adblock_constants.php b/adblock/adblock_constants.php index 64ef612..5e77d8c 100755 --- a/adblock/adblock_constants.php +++ b/adblock/adblock_constants.php @@ -1,8 +1,8 @@ flash_enabled = 0 flash_block = 0 flash_list = -img_enabled = 0 -img_block = 0 +img_enabled = 1 +img_block = 1 img_only_mobiles = 0 img_list = -elegant_degradation = +elegant_degradation = 0 diff --git a/adblock/css/adblock_plugin_css.css b/adblock/css/adblock_plugin_css.css index 6ecca10..d0a21dd 100644 --- a/adblock/css/adblock_plugin_css.css +++ b/adblock/css/adblock_plugin_css.css @@ -9,3 +9,13 @@ #adblock_settings_submit { text-align: center; } + +.blocked_image { + display: inline-block; + background-color: white; + color: rgb(241, 101, 41); + font-weight: bold; + text-align: center; + font-size: 2em; + padding: 0.2em; +} diff --git a/adblock/install.php b/adblock/install.php index a87132c..7bbab11 100644 --- a/adblock/install.php +++ b/adblock/install.php @@ -1,5 +1,6 @@