Skip to main content

Questions tagged [media-images]

The tag has no usage guidance.

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

magento2.4.7 wysiwyg media images not showing on fronted

I've just upgraded magento from 2.4.0 to 2.4.7, but now when I upload image into media gallery so, image not showing on frontend but working fine on backend. https://i.imgur.com/MM3wSxc.png https://i....
Keval Chauhan's user avatar
0 votes
0 answers
34 views

Magento 2 : Media Gallery returns 404 Error Page and Images not uploading

As I click on Media Gallery tab inside content tab, it shows 404 error page. The default url also changed. The current url is : mydomain.com/admin/media_gallery/media/index/ -- while it should have ...
Gautam's user avatar
  • 1
0 votes
1 answer
27 views

Magento 1.9 sorting media gallery images with base image on first page

From a product I want to get all the images it has in the gallery and sort them so that the main/base image of the product is first in the list. Firstly, I have a problem because I can't get the main/...
Franci Melink's user avatar
0 votes
0 answers
30 views

Magento 2 : Programmatically Assigning images to product taking too much time

I have around ~10k of products to create programmatically. I also have around 20 custom attributes to each product. Saving the stock, the price, special price, those 20 custom attributes it takes ...
Attila Naghi's user avatar
  • 4,033
0 votes
0 answers
61 views

Skip loading and showing certain images in fotorama.js

Magento 2.4.6 I have a very specific requirement. I want to not load images in the media gallery on the product page, if the image is a placeholder. Do not ask why :-D, its a requirement and can not ...
user4095519's user avatar
1 vote
1 answer
364 views

wysiwyg editor does not show all folder after upgrading to Magento 2.4.6

I just upgraded to Magento 2.4.6 from 2.4.0. The issue i am facing is the editor is not showing images folder in storage_root. It is just showing me two folder catalog/category and Wyswig folder. I am ...
Tisha Jhanwar's user avatar
0 votes
0 answers
29 views

Where is the fotorama media gallery put together?

Magento 2.4.6 Id like to add a little extra code to the media gallery which shows the images below the main image. Id like to do that for a configurable product. I checked gallery.js and fotorama.js ...
user4095519's user avatar
0 votes
1 answer
742 views

Gallery images are broken on frontend and in page-builder

I've got a problem when adding images through the page-builder. When I open the gallery in the builder I see all images in the image gallery. When I select the image, I get an broken image because the ...
Nick Reijrink's user avatar
0 votes
1 answer
236 views

Magento 2.3.4 duplicate/clone media gallery images on 'save & duplicate' product, multistore

In the admin panel, when a duplicates a product, the product pictures duplicates themselves several times, for each store exist in db. Example, Have magento with 12 stores Have product A with 1 image ...
Yaraslove's user avatar
0 votes
1 answer
214 views

How to add roles in images of product with mysql database?

Is it possible insert not update (update is simple) image roles (base, small , thumnail) in catalog_product_entity_varchar table if in the table missing attribute row for the products images
Robinio's user avatar
  • 771
0 votes
1 answer
37 views

Why are images loading slowly on my website?

Our company is engaged in the production of mobile loading ramps, our website is https://ausbaurampa.de we have encountered a problem with slow loading of photos on the site. What could be the problem?...
AUSBAU's user avatar
  • 11
1 vote
0 answers
85 views

Magento 2: Product images are not generated in media cache on importing products

Facing weird issue for 2-3 days. Images are not showing on frontend Whenever I import new products using firebear module or default importer. I tried php bin/magento catalog:image:resize, ...
Sameer Bhayani's user avatar
1 vote
3 answers
1k views

Cannot create new folder under Storage Root - Magento Media Gallery

I get the attached error while creating a new folder under Storage Root. How can I fix this?? Is it not possible to create another folder under root Edit There were folders under StorageRoot that ...
Siri's user avatar
  • 115
0 votes
2 answers
4k views

How to run queue consumers

I want to use the media gallery image optimization.I read in the doc that I have to tun the media.gallery.renditions.update. I tried with the next command bin/magento queue:consumers:start media....
Camilo Torres's user avatar
0 votes
1 answer
158 views

Issue on assigning base image, small_image, Thumbnail_image programatically using csv?

I have created a php file to assign the base_image, small_image, Thumbnail_image using below script. $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $state = $objectManager->...
Mujahidh's user avatar
  • 2,813
0 votes
1 answer
1k views

Media folders missing from admin in 2.4.3-p3 update

There are multiple media folders missing in 2.4.3-p3 I have read this --> https://developer.adobe.com/commerce/php/tutorials/backend/modify-image-library-permissions/ Does anyone know exactly where ...
Marcello Berti's user avatar
1 vote
0 answers
379 views

Magento 2.3.2 > Some products images are broken and some are not loading correctly in frontend

I'm a new to magento and don't know much about magento, Recently I have installed a custom theme in magento2 and then some products images became broken and some are having images with src=".../...
Ibrar Akhtar's user avatar
1 vote
1 answer
126 views

Magento 2.4.2-p2 change "Select From Gallery" root folder

Good afternoon all, I am working on a site that has large amount of images (110k +) in the media folders. The media select screen opens and sits loading from storage root but I would like to set the ...
Baber's user avatar
  • 192
0 votes
2 answers
651 views

How to confirm the working of Remote Storage with Magento Cloud?

I have successfully configured and synced the media files to the Amazon S3 bucket(as mentioned in https://devdocs.magento.com/guides/v2.4/config-guide/remote-storage/config-remote-storage-aws-s3.html) ...
Prema Karthik's user avatar
0 votes
1 answer
393 views

Magento 2: How to display product image caption instead of product title below the image in product details page?

We want to replace product title/heading under product image with its caption(value in title attribute of IMG element). The things that do need the captions are: When clicking on another image in the ...
CodeForGood's user avatar
2 votes
0 answers
788 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 ...
TBNPL IT Programmer's user avatar
0 votes
1 answer
640 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 ...
DhwaniBhatt's user avatar
0 votes
1 answer
2k 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: ...
Camilo Cifuentes's user avatar
0 votes
1 answer
471 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'...
albert franco's user avatar
0 votes
1 answer
2k 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 ...
Aniket Singh's user avatar
1 vote
2 answers
499 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 ...
Eliacim DAVILA - CENSERE's user avatar
0 votes
2 answers
384 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 ...
Matthias's user avatar
0 votes
2 answers
204 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 ...
lucas's user avatar
  • 309
0 votes
1 answer
193 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 ...
Vinylnet's user avatar
2 votes
1 answer
729 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 ...
Siranjeevi K S's user avatar
1 vote
3 answers
2k 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 ...
Hunter's user avatar
  • 809
1 vote
1 answer
141 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 ...
Allysin's user avatar
  • 260
0 votes
1 answer
677 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 ...
Allysin's user avatar
  • 260
0 votes
2 answers
546 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. ...
Adrian's user avatar
  • 1
0 votes
1 answer
989 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 &...
Hurrpadurr's user avatar
1 vote
1 answer
292 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 ...
sumeet bajaj's user avatar
  • 1,316
1 vote
1 answer
3k 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 (...
sumeet bajaj's user avatar
  • 1,316
1 vote
1 answer
1k 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 ...
Alain Stout's user avatar
0 votes
1 answer
492 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 ...
Ghulam.M's user avatar
  • 973
0 votes
2 answers
658 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('...
Talal Aswad's user avatar
0 votes
0 answers
3k 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....
Ajwad Syed's user avatar
  • 1,591
2 votes
2 answers
4k 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. ...
devhs's user avatar
  • 507
0 votes
1 answer
43 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 ...
Magento Learner's user avatar
1 vote
2 answers
2k 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 ...
JerGrun's user avatar
  • 343
0 votes
1 answer
1k 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.
ZealousWeb's user avatar
  • 2,108
3 votes
1 answer
546 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 ...
Viral's user avatar
  • 133
0 votes
1 answer
159 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/...
Jaisa's user avatar
  • 2,626
0 votes
1 answer
133 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 &...
Jaisa's user avatar
  • 2,626
0 votes
2 answers
2k 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 ...
coding mv's user avatar
  • 129
0 votes
1 answer
713 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?
Seb's user avatar
  • 1