Questions tagged [media-images]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
15 votes
2 answers

how to save image custom attribute in magento 2

I need to display few images of product in frontend based on condition: use for virtual mirror should be checked. <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for ...
8 votes
2 answers

Unable to see the actual images in the back end

Magento 1.9.1 Porto theme We had to have our hosting company do a full restore. Now most things work except for when going into the images tab in the Admin panel: it shows the BROWSE FILES and ...
  • 256
13 votes
3 answers

How to delete unused images from my media folder?

I have more than 50,000 images in pub/media of products. But there are so many unused images so I want to remove all images which are not associated with any product. For Magento 1.9.x this can be a ...
7 votes
1 answer

Magento 2 pub/media/catalog folder size too big

I have magento2 setup with ~6000 products and the size of the pub/media/catelog folder was 23GB, Now suddenly it has increased to ~51GB and the server storage is started showing 100%. I am not sure ...
3 votes
1 answer

Custom Attribute for Product Image Not Showing Saved Values in Admin Form (Media Gallery Attribute)

Similar to below: how to save image custom attribute in magento 2 Have followed above question and added a custom text area attribute. So far the field shows for me under "Alt Text" and then ...
  • 5,335
2 votes
2 answers

1.9.4 thumbnails not loaded correctly from .thumbs dir

... or "breaking already broken features - what is Mage_Core_Model_File_Uploader::getCorrectFileName() for?" M1 has a bug that thumbnails used in CMS blocks/pages (insert image button) are not stored/...
  • 11.6k
0 votes
3 answers

How to get a list of all products without images in Magento 2?

Is there a way of seeing a list of all the visible products on the fronted that do not have images linked to them.
  • 61
0 votes
2 answers

Does magento 2.3.3 accept external image server?

After successfully completed data migration, extra slash added on image url if image get from other server. Note : If url like this -> instead ...
  • 145
0 votes
1 answer

Gallery images returns 0 images for product page Magento 2

For one product I am getting gallery images 0. in gallery.phtml <?php $galleryImages = $block->getGalleryImages(); ?> gives me count 0. I checked it database table ...
  • 827