Questions tagged [media-images]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
10 views

Related Product Images are showing up really small compared to feature Product Images. Images attached

I have this strange thing going on. Related Product Images will show up fine after I empty cache. However, once I reload the page they show up really small. Looking at console. You can see my grid ...
0
votes
0answers
17 views

Magento 2 Import Images form external URL Taking Infinite wait

My csv format is like this: sku,base_image,small_image,thumbnail_image,additional_images 7611009955,https://files.plytix.com/api/v1.1/file/public_files/pim/assets/35/ca/ca/5c/...
0
votes
0answers
23 views

Media images not showing in custom module

I have a problem, I have created a custom module in my Magento site, so in that module I'm calling custom attributes to display some content and images, but when I'm adding media image in this ...
0
votes
0answers
33 views

Media Upload Issue - Session “getCurrentPath()” is empty

I'm unable to upload media gallery images in my Magento 2.3.4 website. It works on my local ubuntu setup but fails on the development/staging server. The upload fails with the error message A ...
1
vote
0answers
14 views

how to replace image url get by wysiwyg editor in Magento 2.3.5

I got image like this from uploding image by wyusiwyg editor: <img src="{{media url="http://example.com/media/wysiwyg/the-picture.jpg"}}" alt="" /> but i want to ...
1
vote
0answers
19 views

PWA get media backend url

Is there a readily available way to get Media url path from component ? I know there is a getMediaUrl fetching from graphql in venia-concept/webpack.config.js Tried in my component: global....
1
vote
2answers
22 views

How can I get product image from REST API as HTTPS

I use V1/getproductimage/<sku> and get product's image url from API. It returns [ { "product_image_url": "http://<host>/pub/media/catalog/product/cache/...
1
vote
2answers
41 views

Don't show attribute image if there is no

I set a custom image role, after uploading and selecting the image as "auszeichnung_1" it will appear on the product page. However if I do not select an image, I get on frontend this error: ...
1
vote
0answers
89 views

How to delete specific product images from Magento 2 database and physical images from folder?

Deleting selected product / SKU images from Magento 2 database and the physical images files from the media product catalog folders which are dynamically created by Magento during image upload. ...
0
votes
0answers
17 views

Magento 2.3.4: How to serve images in next generation format?

Web.dev performance metrics suggest "Image formats like JPEG 2000, JPEG XR, and WebP often provide better compression than PNG or JPEG, which means faster downloads and less data consumption"...
0
votes
0answers
22 views

Image's don't upload on product page and shows spinner icon

I'm attempting to add product images when adding a new product but I'm having a problem. The image uploads, but the spinner remains. As shown below: I've done some digging. If I open the inspector ...
0
votes
0answers
6 views

Change current image type by product repository

I'm trying to change media type to the first loaded image in one product. I imported thousands products from an other system, but by some products didn't work properly and now I try with the \Magento\...
0
votes
2answers
61 views

Image cache is not generated properly when importing new products - Magento 2.3.4

I have recently imported 200 products, the import went well and the images do show up on the back-end correctly, however there is no cached version available. If I look at the category page and image ...
0
votes
1answer
26 views

Cached images are missing from frontend and product pages

Certain images are missing from my frontend. The cached image location seems to be wrong however all the rest of the images are there and intact. I am just wondering why those images are not ...
0
votes
1answer
22 views

Magento 2.3 Cloud Enterprise - Not able to upload any picture/image at all (error messages)

I'm very new to Magento and I have a functional background. I have read and followed all Magento commerce functional manuals on how to configure the Backend (creating products, customers, adding ...
0
votes
0answers
56 views

503 error on PUT call to REST API

I'm able to POST images up to the media gallery of products on my Magento 2 installation using the /products/{sku}/media/ endpoint. I'm of the understanding that I should be able to overwrite an ...
0
votes
0answers
62 views

mobile view image quality as blurry in product list and details page magento 2.2.4

Image quality blurry issue in mobile view product list/details page. magento ver is 2.2.4. I found the reason for this issue. Having 2 MB image file and product uploaded in admin side. Then i can see ...
0
votes
0answers
56 views

Magento 2:blurry image on Product Detail Page

I am currently working on a custom theme that is using the owl-carousel on the product detail page. When the image will zoom or open in a quick view its looks perfectly fine but not in detail page. ...
0
votes
1answer
29 views

How To Upload Images and Show Their Thumbnails From Custom Module Admin Form

I have a custom grid. Need to upload product images from admin form of the custom module. Here is the grid Edit file at: app\code\local\Crud\Banner\Block\Adminhtml\Banner\Edit\Form.php $...
1
vote
0answers
60 views

Magento 2.3.4 version product thumbnails & product image issue on product detail page [PDP]

I have just updated Magento to 2.3.4 but facing an issue of images on Product Detail Page(PDP). I have changed the layout of thumbnails as vertical. After changing the thumbnail image layout on PDP ...
1
vote
1answer
24 views

Images URL is getting broken at frontend in mobile view

I created custom attribute with name Product Header Info and added the following content in the text editor: I am getting broken URL at frontend.When I am inspecting the image it is showing something ...
0
votes
1answer
35 views

Magento2 - Need to add External Images from external media host. How the image path is stored in DB?

The Magento OOTB functionality has the option of adding images from the external media host. I just need to use both locally stored images and images from different media hosts instead of one media ...
0
votes
1answer
41 views

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.
3
votes
0answers
60 views

Change Additional product Images based on the selection of color (custom option) Magento 2

I want to change the additional images based on the selected color on the product page. There are many custom options on the product page. My requirement is that, change the additional gallery images ...
0
votes
0answers
357 views

Magento 2 Add Image Upload in Configuration issue “The base directory to upload file is not specified”

I am new in MAgento2, and I installed custom module of Magento 2.3 to add image file upload configuration in system.xml. But i encountred this isuue when i try to save the config : system.xml <?...
0
votes
1answer
58 views

Alternative to Thai's S3 Extension for Magento 2

I've noticed Thai's S3 Extension for Magento 2 (link) is now archived and has some issues with 2.3. Is anyone aware of a module with similar or better functionality to Thai's S3 Extension? What I am ...
0
votes
0answers
32 views

Magento2 need to write a images script

We need to write a script run to determine which images are in use by catalog Magento (in the database), and which ones are not? If they are not referenced (uploaded before, but not in use now), we ...
0
votes
0answers
14 views

How to apply a single image to bulk product list?

I want to have the bulk of products use one single image, how to do that? Update attributes do not allow this. When I tried doing it via import the fields "_media_attribute_id _media_image ...
1
vote
1answer
112 views

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 ...
0
votes
0answers
25 views

Magento 2 - Load all cms page media

I'm working in Magento 2.3.3 and doing admin work and need to get information from the media that's available. So, for instance, I want to loop through the data and the media uploaded into the cms ...
0
votes
2answers
438 views

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 -> magento1.com/media/catalog/product/2/9/29594114-1.jpg instead ...
0
votes
0answers
41 views

How to add view.xml in custom module for custom resource image in magento 2

I wanted to add view.xml in my custom module for custom image. I have used following approach : Create etc/view.xml <view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
0answers
29 views

Magento2 Rename multiple product images during import

I need to change the name of the product image during product import. I am using Magento 2.3 CE I would really appreciate any comments and solutions to this issue.
0
votes
3answers
404 views

Unable to get Product custom image role in magento 2

i have created new image role name "tiles_images", i product listing page i want to show tile_image only , for this i have done below code but that seems not working i am using below code in my ...
0
votes
0answers
23 views

Magento 2 Image issues

I've been having an issue with getting the product images to load properly. I migrated the site from M1 to M2 and brought over all of the media files per the recommended methods. Some of the product ...
0
votes
1answer
61 views

Magento 2 category image 404 with store code in url

I have a phtml file in my theme that is added to category page via XML updates tab. I read image in phtml like so: $this->getUrl('media/catalog/category/').$_category->getImageUrl() My theme ...
0
votes
0answers
52 views

Magento 2 Media library sort order

Anyone know how Magento 2 orders media in the media library? When I insert an image using the wysiwyg editor the media isn't sorted alphabetically so it's difficult to find the image. Anyone know how ...
1
vote
3answers
77 views

Can't get media image in the phtml file

I have a module that has a phtml file. I want to add an image from pub/media in that phtml file, but my attempts have been unsuccessful. pub / media / catalog / category / shutterstock_259609874 ...
1
vote
1answer
100 views

Magento 2 get hidden image programmatically

I have a custom module for exporting links of my product images. With this code: public function getImageAttributes() { $attributes = [ 'thumbnail' => 'Thumbnail', ...
0
votes
0answers
158 views

Magento 2 Image Cache Files are not Updating in Product Catalog

I'm currently experiencing an intermittent issue with my product images in my installation of Magento 2.3.2. Essentially I upload a new image to replace an existing image, the image updates in the ...
0
votes
1answer
32 views

Product image twice on homepage : Magento 2

I have two image from different path but same image on homepage.Thats causing me low speed on gitmatrix.How to fix it.
1
vote
1answer
87 views

Copy media/catalog to magento 2

We are in one of the last steps of migrating to Magento2 and we only need to copy the media/catalog images to Magento2. I would like to know if I need to flush the image cache first before copying to ...
1
vote
0answers
117 views

Magento 2: Delete images of deleted products

I wanna know how delete the images + cache images from deleted products. I tried: https://magecomp.com/magento-2-image-clean.html https://github.com/hungersoft/magento2-image-clean https://github....
0
votes
1answer
125 views

Magento 1.9 - How to show images label on product view page

I want to show product images label with each image on product view page.I found below code on product view page but it's not working. <?php echo $this->htmlEscape($_product->getImageLabel())...
0
votes
0answers
726 views

magento 2 How to show Simple product images instead of configurable product images?

In Default Magento, For configurable product in product detail page product media displays images of configurable product by default,but i want to show simple products images in product media instead ...
2
votes
2answers
161 views

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/...
2
votes
1answer
305 views

Moving media files to S3 bucket on AWS

I want AWS CloudFront to be implemented on production for a Magento 2 site. i would like to know what changes are required to change the path of images and audio/ video files, to setup on S3 bucket. ...
0
votes
0answers
59 views

When creating products with POST, images Roles are not enabled (base/small/thumb/swatch), even after a following PUT

When I add a product via the Magento 2 API and then add an image, the image is added and shows up under the "Images and Videos" tab, associated with the correct product. However, none of the Image ...
0
votes
1answer
249 views

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 ...
0
votes
1answer
979 views

Magento 2.3.0 product image cache resizing images

All my images are 1024X1024 HQ images. When magneto move the imaged to cache folder it resize it and make i get smaller images with white frame all around it (see images "before").  I try to fix it by ...