Skip to main content
5 events
when toggle format what by license comment
Mar 1, 2017 at 11:34 comment added giani.sim Yes, I knew it. I was wondering what is the best way to get the original file URL.
Mar 1, 2017 at 11:33 comment added Devtype To understand these sizes have a look at view.xml file which defines all of these image sizes. It should be located under your custom theme/etc if not then you can copy it from luma/etc (theme). To get the Image url from your block you can use something like: $block->getUrl('pub/media/catalog').'product'.$_product->getImage();
Mar 1, 2017 at 11:09 vote accept giani.sim
Mar 1, 2017 at 11:06 comment added giani.sim good, it works! How can I get the image url without resizing?
Mar 1, 2017 at 10:58 history answered Devtype CC BY-SA 3.0