Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit b167a8f5 authored by Nicolas BEJEAN's avatar Nicolas BEJEAN
Browse files

Corrections du l'URL des images PNG et GIF

parent 7bd0ef76
No related branches found
Tags v1.1.2
No related merge requests found
......@@ -162,7 +162,7 @@ class CategoryWidget extends Template implements BlockInterface
endif;
if (substr($image,-3) != 'jpg'):
return 'media/' . $image;
return $this->_storeManager->getStore()->getBaseUrl(\Magento\Framework\UrlInterface::URL_TYPE_MEDIA).$image;
endif;
if (is_null($width)) :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment