Magento – Magento 2 how to remove/disable title/word below every single image in product page magento-2.2.5product I need to remove the image title/name below from product view pages. Magento version 2.2.5. Anyone know how do this? The expectation is without title/name 🙂 Best Answer You need to override the fotoroma.js from location to your module: lib/web/fotorama/fotorama.js Then find showcaption and captions, then set those to false. Now need to run static content deploy. I have edited the lib/web/fotoroma/fotoroma.js directly This solved my problem. Related SolutionsRemove Main Product Image in Magento CE 1.7.0.2 $attrCode = 'media_gallery'; $mediaGalleryData = $product->getData($attrCode); if (isset($mediaGalleryData['images'])) { foreach ($mediaGalleryData['images'] as &$image) { $image['removed'] = 1; } $product->setData($attrCode, $mediaGalleryData); $product->save(); } Related Topic
Best Answer
You need to override the fotoroma.js from location to your module:
Then find showcaption and captions, then set those to false.
Now need to run static content deploy.
I have edited the
directly This solved my problem.