Questions tagged [media-images]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

Menu is not showing after upgrading 1.9.2.4 to 1.9.4.5

I upgraded Magento 1.9.2.4 to 1.9.4.5. After upgrading, top menu is not showing Another issue is some images are missing. I copied all Media files properly. Now its showing magento placeholder Now ...
user avatar
  • 1
0 votes
0 answers
17 views

Magento ver. 2.4.3-p1 - Product Gallery Image cannot upload; Error : Something went wrong while saving the file(s)

I cannot upload images for new products or existing ones. All will show the error screenshot below. Also, when I check on DevTools the data-URL showing as below. This problem only happens when I ...
user avatar
0 votes
1 answer
25 views

Magento 2 How to Delete permanently Image folder from pub\media\catalog\product\cache?

Actually, I try to manually delete the pub\media\catalog\product\cache folder but when I go to the Product Page in the Admin Panel the pub\media\catalog\product\cache folder was Regenerated how to ...
user avatar
0 votes
1 answer
87 views

Magento 2.4.3-p1 i can't upload images, The file was not uploaded

After upgrading from Magento 2.3.7-p2 to Magento 2.4.3-P1 I can't upload images, in Magento admin, I get this error message: The file was not uploaded In var/log/exception.log file, i see this error: ...
user avatar
0 votes
1 answer
58 views

How to assign same image for multiple products without creating different image directory

Heii new to Magento I have product with same images for multiple products but after i upload products via csv it creates seprate image directory for the products in var/cache/ Not a developer but it'...
user avatar
0 votes
1 answer
154 views

How to save uploaded images in a custom folder of pub media in magneto 2?

I want to provide a provision for uploading an image the image, should move/save to the custom folder which I have created in pub/media please be specific while explaining the code it will help me a ...
user avatar
0 votes
0 answers
18 views

Problem with product attributes

I have Magento 2.4.3 store. I'm using claue 2 theme which has the functionality to swap images on hover. I need to attach a swap attribute (which is a product attribute) to every product's second ...
user avatar
1 vote
2 answers
79 views

Delete all images in pub/media/catalog/product not linked to any product

I am facing a website wich media directory size is 88 GB, and that is getting problems with the server and some processes. After analyzing the product date, I determined that in this directory exists ...
user avatar
0 votes
2 answers
60 views

Magento 2.3 images in catalog_product_entity_media_gallery_value vs catalog_product_entity_varchar

When we update images programmatically, we see correct images in admin, but not in shop frontend. Correct images are saved to catalog_product_entity_media_gallery. But magento shop frontend shows ...
user avatar
0 votes
2 answers
29 views

How do I switch product images from magento 1 to magento 2?

I'm trying to migrate the images from Magento 1 to Magento 2, and I detected that the images are inside the media folder in both Magento versions, but when I get the media/catalog/product directory ...
user avatar
  • 177
0 votes
1 answer
36 views

Magento 2.3.4 images 404 after caching. Reappear after flush catalog images

I have migrated from Magento 1. The migration seemed to go fine. Orders and products are in. I have not installed any themes as I wanted to get it running on Luna before changing anything. So the ...
user avatar
0 votes
0 answers
127 views

Magnento 2.4 all images missing and 404 when trying URL directly

Been at this one for a few days now and tried every solution I have found with no luck. I have Magento 2.4 on a Cpanel account. It installed in a subdomain store.*****.com with the root pointing at ...
user avatar
2 votes
1 answer
69 views

How to upload media files in app/code/Vendor/Module/web/images directory?

How can I upload media files inside the "app/code/Vendor/Module/web/images" directory? I am creating a custom form page on the admin page. In that form, I have created an image uploader ...
user avatar
0 votes
2 answers
649 views

2.4.3 Page Builder 404 on Images from Media Gallery

I've just updated to 2.4.3 (which now includes Page Builder). When using Page Builder to add images from the Media Gallery, the selected image does not display properly because the image src is ...
user avatar
  • 721
1 vote
1 answer
33 views

Which of these folders inside of the Media folder do not need to be migrated from Magento 1 to Magento 2?

Magento 1.9.4 --> Magento 2.4.2-p1 I have done the settings and data migration by using the Magento Migration Tool. I am now using FTP to download all folders and subfolders in the MEDIA directory ...
user avatar
  • 306
0 votes
1 answer
134 views

Best way to migrate Media Files after running the Magento Migration tool?

Magento 1.9.4 --> Magento 2.4.2-p1 I successfully ran the settings and data migration using the Magento Migration tool. Now I read up on how to transfer the Media Files over (product images) and ...
user avatar
  • 306
0 votes
2 answers
76 views

Change Localhost Image URLs to Live Site URLs

This is my first time asking a question so here goes. I have recently moved my Localhost magento 2 site to a live server. Everything works great but I have a problem and was hoping to find a solution. ...
user avatar
  • 1
0 votes
0 answers
78 views

Product Image Cache - Image Resizing Error

My server admin manually deleted product images cache which cause product images are not showing on product detail page. I am running this command to regenerate product images cache but it is stopped ...
user avatar
0 votes
0 answers
33 views

Magento2 MultiStore Set Image as small, base and thumbnail programmaticaly not working

Requirement:- Upload multiple images from external url and mark them as thumbnail/small or swatch images. Using multi website, multi store. Issue:- When i tried to do this by custom api in that case, ...
user avatar
0 votes
0 answers
14 views

Stop extra thumbnail appearing configurable product Magento 2

I have a configurable product and it has its associated simple products (which all have images associated). When I click on the swatch function the main image changes (this is desirable), however a ...
user avatar
0 votes
1 answer
157 views

Where are media attributes/roles stored?

I was browsing through the DB, trying to find out where the media attributes of product-media-gallery-items are stored. For clarification: They are called "Roles" in the Admin-Frontend and &...
user avatar
1 vote
1 answer
118 views

Magento 2 set child product image from URL

Magento 2.3.5 How to set child product image from URL for configurable product on the product detail page Example - product URL is - http://xyx.com/product.html#447=5439 dropdown is selecting ...
user avatar
  • 1,123
1 vote
1 answer
685 views

magento 2 Uncaught TypeError: Cannot read property 'data' of undefined [closed]

Magento 2.3.5 getting error on the product detail page of configurable product - Getting this error - Uncaught TypeError: Cannot read property 'data' of undefined at Object.returnCurrentImages (...
user avatar
  • 1,123
1 vote
1 answer
797 views

The images show on frontend pagespeed.ic._LOWhFVaw2.webp after image filename

For example the images address on frontend website show this: https://takoda.shop/pub/media/logo/default/170xNxTakoda_met_Tijger_O_logo_kleuren_nieuw.png.pagespeed.ic._LOWhFVaw2.webp It adds at the ...
user avatar
0 votes
1 answer
54 views

Magento 2: changes made on one store must be apply to default store too

When you edit a product on the All Store View scope it applies the changes to all the stores. I want the reverse of it like if I made changes to a different store then that change must be applied to ...
user avatar
  • 871
0 votes
2 answers
51 views

Assign images to products programmatically

I want to assign images to products in my store. The images name the same SKU product name. I put my PHP file in root/pub and tried this code: <?php ini_set('display_errors', 1); ini_set('...
user avatar
0 votes
0 answers
1k views

M2 | ci6.googleusercontent.com gmail proxy server stopping images to load in email templates

I am having gmail proxy server issue for showing images in email templates. At the start of image URL which is http://localhost/pub/media/email/images/logo.png this is getting appended https://ci6....
user avatar
  • 1,521
0 votes
1 answer
755 views

Magento 2 : how to include custom image in email template?

I have made some email templates, i am not much sure where i can add image files & use it in email templates ? Is their is possible way to get it ? Please let me know your thoughts on this. ...
user avatar
  • 357
0 votes
1 answer
32 views

Image resize issue

I am uploading below image for the product via backend. But it changes to below image It is clearly visible that it changes the color. I have tried using ImageMagik also. I have even tried this ...
user avatar
0 votes
2 answers
792 views

Configurable product error: Call to a member function count() on array

I have an error that occurs in production only. And even then it is about 3/10 times that it occurs. Refresh, seems alright, refresh again, seems broken etc. On the staging site + my docker box it ...
user avatar
  • 141
0 votes
1 answer
574 views

How to import product images programmatically with the use of custom script in magento 2?

I have all product images in one folder. Images are in path like - pub/media/Fotos/MA/{{ sku }}/ So need to import images as per SKU folder. I want dynamic script for it.
user avatar
  • 1,948
3 votes
1 answer
155 views

Magento 2 : Custom API code to upload multiple product images programmatically

I am making custom Magento API to create products. I can make products using custom API. Now my requirements is to upload multiple images to that API. Can anyone helps me for reference code to upload ...
user avatar
  • 133
0 votes
1 answer
83 views

Data migration issue : SQLSTATE[23000]: Integrity constraint violation from maento 1.9 to magento 2.4.1

I am migrating the data from Magento 1 to magento 2.4.1 by running the following command php bin/magento migrate:data --reset vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.0.1/...
user avatar
  • 2,376
0 votes
1 answer
55 views

How to migrate product images before using Data Migaration tool from magento 1 to magento 2

I wish to migrate data from magento 1 to magento 2 using data migration tool. I know the procedure for migration using data migration tool. But i am having doubt on, how to migrate the product images &...
user avatar
  • 2,376
0 votes
2 answers
281 views

how to display images stored in pub/media folder

hello everyone I want to display an image from the folder "pub/media" and concatinate it with my path from the image field from database but I can't display it in detail page with the ways ...
user avatar
  • 109
0 votes
1 answer
282 views

API -> add image with external url instead of base64

Is there any extension that give us the possibility to add external url instead of a base64 string when I adding/update product via magento 2 api?
user avatar
  • 1
0 votes
2 answers
871 views

How to add and Remove media gallery images store wise programmatically magento 2

I have followed few blogs to add and remove media gallery images but not able to set gallery images as per store wise programmatically. https://www.siphor.com/adding-and-removing-media-images-...
user avatar
1 vote
2 answers
697 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 ...
user avatar
1 vote
0 answers
106 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 ...
user avatar
  • 473
1 vote
0 answers
167 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....
user avatar
1 vote
2 answers
91 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/...
user avatar
  • 15
1 vote
2 answers
49 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: ...
user avatar
3 votes
0 answers
1k 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. ...
user avatar
0 votes
3 answers
332 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 ...
user avatar
0 votes
1 answer
66 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 ...
user avatar
0 votes
1 answer
140 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 ...
user avatar
  • 1
0 votes
0 answers
368 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 ...
user avatar
0 votes
1 answer
43 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 $...
user avatar
1 vote
0 answers
81 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 ...
user avatar
2 votes
1 answer
127 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 ...
user avatar