diff --git a/ext/view/theme.php b/ext/view/theme.php index 4cd80d2a..668e9289 100644 --- a/ext/view/theme.php +++ b/ext/view/theme.php @@ -72,7 +72,10 @@ class ViewImageTheme extends Themelet { foreach($editor_parts as $part) { $html .= $part; } - if(!$image->is_locked() || $user->can("lock_image")) { + if( + (!$image->is_locked() || $user->can("lock_image")) && + $user->can("edit_image_tag") + ) { $html .= "