Can I modify core/image twig template only for specified entity.field?
I want to modify img tag output only for commerce_product.images custom field
but there is only 1 suggestion themes/bootstrap/templates/system/image.html.twig
which override all image uses.
<div class="field--item">
<!-- THEME DEBUG -->
<!-- THEME HOOK: 'image_formatter' -->
<!-- BEGIN OUTPUT from 'core/modules/image/templates/image-formatter.html.twig' -->
<!-- THEME DEBUG -->
<!-- THEME HOOK: 'image' -->
<!-- BEGIN OUTPUT from 'themes/bootstrap/templates/system/image.html.twig' -->
<img src="zz.jpg" alt="alttext" typeof="foaf:Image" class="img-responsive" height="150" width="150">
<!-- END OUTPUT from 'themes/bootstrap/templates/system/image.html.twig' -->
<!-- END OUTPUT from 'core/modules/image/templates/image-formatter.html.twig' -->
</div>
EDIT1: if i'm implement hook_theme_suggestions_HOOK_alterm there is no entity or field info:
function mytheme_theme_suggestions_image_alter(array &$suggestions, array $variables) {
$entity = $variables['item']->getEntity(); //ERROR
}