In Google Chrome, when you delete an image from media that you’re using in a image custom field. Then you can’t remove/change the image within the custom field.
I fixed it by adding this to functions.php
function custom_admin_head() {
$css = '';
$css = 'td.media-icon img[src$=".svg"] { width: 100% !important; height: auto !important; }';
$css = '.acf-image-uploader.active .has-image { min-width: 150px !important; min-height: 100px !important; }';
echo '<style type="text/css">'.$css.'</style>';
}
add_action('admin_head', 'custom_admin_head');
Hope this helps.
Cheers,
Hi @jokioki
Thanks a bunch for sharing a fix to the issue.
I’ll pass this to the developer so that he can have a look at it and include this solution in the plugin.