Questions tagged [image]

Denotes questions about image processing, importing, upload and management.

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

Set Product Image From Image Gallery

Is there any way to get an image for a new product direct from image gallery? i want to categorize photos into folders on image gallery and then putting them into the products. My Magento version is 2....
0
votes
1answer
17 views

Magento 2 file upload error

I have upload customer image using ajax.I have upload images jpg,png,jpeg etc extension is working fine.But i have upload pdf extension showing below error Notice: Trying to access array offset on ...
0
votes
0answers
9 views

Magento 2.3 - Image with SKU database dump

I need to export a CSV file with the following info: IMG name SKU I found the SKU in catalog_product_entity And I also found the IMG names in catalog_product_entity However I do not have any value ...
0
votes
1answer
31 views

Remove loader from product view page

Magento 2 adding page loading in product view page like this below in body tag <body data-container="body" data-mage-init="{&quot;loaderAjax&quot;: {}, &quot;loader&...
0
votes
0answers
18 views

Adding sku number in image field

I'm looking for an automated solution where the sku number is added to the image on frontend. Like this below: Running Magento 1.9.2 Thanks :-)
0
votes
0answers
16 views

How to save Image data using Magento 2.4.2?

I have created an input type image using Magento 2 Extension and want to save Image data. Now I want to save Image data in Magento 2 Database Custom table. I have created custom table and run Ajax ...
0
votes
1answer
60 views

Magento 1.9.2.4 : Product Images and browse and Upload button Missing

I am using Magento ver. 1.9.2.4, I have tried all solution available on different threads but unable to get "Browse Button" and "Upload Button" in product image tab. I have tried ...
0
votes
0answers
22 views

Changing Magento 2 Page Builder Images to use <picture> and srcset

I am trying to change the magento2 page builder image to include picture and source set tag. I made a module app/code/[Vendor]/PageBuilder/view/adminhtml/web/template/content-type/image/full-width/...
0
votes
0answers
12 views

in magento 2.4.1 and 2.4.2 customer custom image type attribute not save in frontend

I create Custom Image type Customer Attribute for save image but while create customer from backend save attribute but i will not work in frontend, image attribute not save from frontside so please ...
0
votes
1answer
23 views

Magento 2 preference not working for Magento\Customer\Model\Metadata\Form\File

I want to create preference for this file Magento\Customer\Model\Metadata\Form\File but its not working so please give some solution for this problem how to solve it di.xml code
1
vote
0answers
25 views

How to get Image id by image path?

Beginner at magento 2 and i want to know how can i get the image id using the image path "/3/4/341467-1_1.jpg", how can i do this programmatically? any help is apreciated.
1
vote
0answers
7 views

How to add images in js

How to include images in js, My code : if (firstStore.address && firstStore.state && firstStore.zip && firstStore.store_hours_weekdays && firstStore....
0
votes
1answer
22 views

Image is not loaded in product detailed page only magento 2.3

I have added the image in admin panel backend image show homepage,category page show but product detailed page image is not shown certain url link.i have shared. URL:https://sarikart.com/3003maroon-...
0
votes
1answer
22 views

Image url adding some of the pagespeed codes

I have not loaded for any scripts but automatically added the pagespeed in image url adding some of the webp image format. so how to rectify the error and images are not show. xxx.com/pub/media/logo/...
0
votes
0answers
13 views

Image url converted into webp format by which image not coming on my magento 2 store

Image url converted into webp format by which image not displaying on my magento 2 store, suddenly my live website get hampered . please anyone help me how this possible my image Url changed by itself....
0
votes
0answers
36 views

After Magento 2.3 to 2.4 upgrade Category page not loading in frontend

Magento 2.4 upgraded successfully. All are working in admin and storefront but only problem with category page showing error " Error: Call to a member function getUrl() on null in /home/mydomain....
0
votes
1answer
91 views

WYSIWYG Editor media url not working in magento 2.4.0

Add this code WYSIWYG Editor <p><img src="{{media url="wysiwyg/menu/test.jpg"}}" alt=""></p> but it's not working in magento 2.4.0
0
votes
0answers
11 views

Resize just bundge and grouped images for list and PDP

How to resize just bundge and grouped images for list and PDP? Looks like it's necessary to do via view.xml, but IDs are not clear
0
votes
0answers
42 views

Magento 2.4.1 Exception #0 (ReflectionException): Class media_image does not exist

I have migrated the website from Magento 2.1.0 version to the Magento 2.4.2 version. When I open the product edit section then I got the following errors: Exception #0 (ReflectionException): Class ...
0
votes
0answers
30 views

display image admin ui magento 2.3.1

I have an issue with display image from admin UI component in magento 2.3.1.Who is solution help me ! Here is my source: <?php namespace Booking\Hotel\Ui\Component\Listing\Column; use ...
0
votes
1answer
25 views

Images not showing on configurable products

I have all of the needed attributes in the attribute set, but none of the images are showing on configurable products. They're visible on the backend, and I see them when I add the images to the cart, ...
0
votes
2answers
42 views

How to change only a specific image size in magento 2?

I have changed the below section of my custom themes' view.xml <image id="product_page_main_image_default" type="image"> <width>1200</width> <height>...
1
vote
3answers
40 views

Magento 2 Get product image url by sku

What is the best way to get product image(thumbnail) by sku ?
0
votes
1answer
23 views

How to include image path in script

My script : <script> require(['jquery'], function($){ jQuery.ajax({ url: '<?php echo $this->getUrl('customwishlist/index/wishlist') ?>', method: 'get', dataType: 'json', success: ...
0
votes
2answers
31 views

image upload in home page banner

Root slideshow, home page banner image upload error "error": Disallowed file type.","errorcode":0 magneto 1 , please solve
0
votes
1answer
23 views

Magento 2 - Images are not getting loaded after changing Media Base Url

I have two projects: relaunch.company.de redesign.company.de (clone from relaunch.company.de) Note: The base url of both projects is set to their pub directory. I want to setup redesign.company.de ...
0
votes
0answers
10 views

Export/import base images in Magento 1,9

I would like to export ALL base images on my database in Magento 1.9 platform in order to edit them in an image editor and import them (rewrite) once edited.
0
votes
0answers
17 views

Image uplaod when creating admin user

I am looking to add an image upload when creating/editing admin users. I am trying to figure out the best way to do this. I have already added a custom text field to this form using a plugin. Magento\...
0
votes
2answers
124 views

Can no longer upload images on Magento 1.9 now Flash is no longer supported

Is there any way to still upload images on Magento 1.9 now that flash is not supported on Chrome or any other browsers?
0
votes
1answer
26 views

Increase product image size in Amasty's One Step Checkout Magento 2

Amasty put their product image size at 75px in the 'Your Order 'Order Summary area, and mine is displaying at half that due to some css I can't locate. Please put an item into the cart on their demo ...
0
votes
1answer
27 views

How to override phtml / add a static image to .phtml file from the extension?

I'm try to add a banner image to the list.phtml, but it's not displaying. This is what i did: step 1: copied /public_html/vendor/mirasvit/module-rewards/src/RewardsCustomerAccount/view/frontend/...
0
votes
0answers
22 views

Magento 2 - Add image to a product programmatically without saving the whole product

I'm writing a script which saves products programmatically using a large file of data (6k products). My file can add or update a product. Saving a product is a long process, so if the product already ...
0
votes
1answer
32 views

How to update value of custom customer attribute (image) from frontend in magento 2

Trying to update custom customer attribute value while customer edit from frontend , and my field is file upload control but unable to save the attribute Tried $customer = $observer->getEvent()->...
1
vote
1answer
55 views

How to get image in PHTML file?

Image path -> app/design/frontend/Mycustom/Mytheme/web/image/one.png how to get image in PHTML (app/design/frontend/Mycustom/Mytheme/Magento_Search/templates/form.mini.phtml) file, <?php echo ...
0
votes
0answers
18 views

Placeholder image huge on sticky header

When I have a product with an image and I scroll down, the image in the sticky header is 50x50px, but when I don't have an image and it defaults to the placeholder, the placeholder shows up as 470x470....
0
votes
0answers
30 views

Image color shift after uploading to Magento admin

When I upload any product image, that images change his saturation and color This is the original image: This is the image post uploaded: I'd searched on Google about this error, and the most ...
0
votes
1answer
37 views

How to remove default cart icon image in header from my custom theme?

I have developed custom theme, and added own cart icon image using app\design\frontend\Mytheme\theme\web\css\source_extend.less .minicart-wrapper .showcart::before { // content: "" !...
0
votes
0answers
11 views

M2 Image jumps in product details page

There's an annoying effect of an image 'jumping' on the page when a product page is opened up. It can be seen on any default Magento 2 installation. It looks like even provided with the exact pixel ...
0
votes
2answers
33 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 ...
0
votes
1answer
113 views

multiple image in array in input field custom form in magento 2.4

Now i am using input field file[] array so how to $filesData = $this->getRequest()->getFiles('files'); use foreach loop <input type="file" name="file[]" id="file"...
0
votes
1answer
27 views

how to upload image in custom from in magento 2.4

How to upload image array in custom from in Magento 2.4 <div class="file-item-container mb-2"> <div class="row"> ...
0
votes
0answers
23 views

Bulk delete product images from a single category

I had a csv upload issue, and now one category of products has 4 of the same image. How can I bulk delete images form these 1000 products? Thanks
0
votes
1answer
70 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?
0
votes
1answer
40 views

How to optimize images in magento2

My site speed is very slow. Can anyone please let me know how can I optimize all the images? So, my site loading can be faster.
0
votes
0answers
17 views

product details page still have product gallery issue image are not showing sometime in magento 2.4

Now i added image back-end but still have product gallery issue image are not showing sometime in product details page magento 2.4
1
vote
1answer
18 views

Change product image size for virtual products only

Is it possible to change the product image size for virtual products only? I'm aware of the view.xml file to change image resolution, but it changes the product image size for all product types. Maybe ...
0
votes
1answer
33 views

Magento 2 - How to resize image using image's url?

How is the right way of resizing images in Magento 2. $image->getData('url'); I have the url of the image, how to resize it using the url? Is there an API / helper that does that?
0
votes
0answers
17 views

Magento 2: Invalid backend response. Data is not JSON in dashboard

When i try to upload a image from dashboard i get the following error: ¿What is the problem? :( Thanksss
0
votes
0answers
26 views

Category Image with Category Id in Magento 2 Api

I want to show category id with category image in magento 2 rest api http://domainname/rest/all/V1/categories?rootCategory=2 this is my api response and here not show category image { "id": ...
0
votes
1answer
506 views

How to create a docker image of an existing Magento 2 website running with Apache/PHP7.2/MySQL/ubuntu 18.04 version

We have a Magento 2 website and are trying to deploy the website as docker containers running in Kubernetes in GCP. At present, we have the website set up with a LAMP. So I believe we need to have the ...

1
2 3 4 5
18