Questions tagged [image-resize]

The tag has no usage guidance.

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

Magento 2 Change image size of product detail page

Need to change product image size 850 X 750 on the product detail page I made changes in file view.xml but width is taking randomly /app/design/frontend/vendor-name/theme-name/etc/view.xml ...
0
votes
1answer
28 views

Images are not shown on Magento 2.3.5 for the product page

I have an issue with the images. On the category pages images are shown for the products, but on the PDP page the img is missing. Instead i got the placeholder img. On the admin, the img is set to ...
2
votes
0answers
19 views

Magento 2 image resize command error images are not same

Magento 2.3.4 run image resize command give error images are not same size domain/pub/media/catalog/product/m/e/megilbert.gif @ error/layer.c/OptimizeLayerFrames/1023
0
votes
1answer
125 views

magento 2 : resize image before upload on server

I want to upload images for custom module, so before upload image on media folder I want that resize image. How can I set resize image before upload on media folder ? Here is my code: public function ...
1
vote
2answers
49 views

Can you run a command to re-size only certain image types in Magento2?

The below command will re-size all images based on new specified dimensions: php bin/magento catalog:images:resize Is there a variable to add to run for a certain image type only? For example, ...
0
votes
0answers
7 views

What is the ideal size for category photos on Magento 1.9?

Magento 1.9.x Porto theme We will be paying for a special photo-shoot just for category photos. What would be the best photo size/ratio and quality to have the photographer create? If there is no '...
0
votes
0answers
15 views

How to reduce the Product detail page Image size in magento 2.3

How to reduce the product detail page image size i tried to reduce the image size using the view.xml but it is not reducing i run the below command after changing the file php bin/magento catalog:...
0
votes
0answers
54 views

Magento 2.3.4 Catgeory Image Resize

I am using Magento 2.3.4, I need to resize the category image to display in the home page. So I have a created resize function which is working fine in Magento 2.3.3. But in Magento 2.3.4 I have ...
3
votes
1answer
2k views

Wrong File Error Resize Image Magento 2.3

I just migrated from Magento 1.9.3.8 to Magento 2.3.4, then i copied the image from Magento 1.9 media to Magento 2 media, i noticed product images still not showing in my Magento 2 frontend, then i ...
1
vote
1answer
37 views

Resize images of Magento 2 doesn't work correct

My product images have size is 600 x 600px. in file view.xml I have configured: <image id="category_page_grid" type="small_image"> <width>300</width> <height>366&...
1
vote
1answer
142 views

catalog:images:resize not working in CLI in 2.3.4

We just upgraded our dev site from 2.3.3 to 2.3.4 and I'm trying to run the bin/magento catalog:images:resize command in CLI in hopes that it will fix some image styling issues I'm trying to resolve (...
0
votes
1answer
52 views

Magento 2.3.3. error in command catalog:images:resize

Some images are missing in products, and I have tried running bin/magento catalog:images:resize like this: php -d memory_limit=-1 -d max_execution_time=86400 bin/magento catalog:images:resize after ...
0
votes
0answers
10 views

Magento 2.3 Remove image resize in product detail page

I need to remove the image resize in Product detail page. If I remove the value and set as below, <image id="product_page_image_medium" type="image"> <width></width> &...
0
votes
0answers
6 views

How to show magnifier size based on different product image sizes?

I need to show the magnification sizes as fixed for all different sizes of images in product pages. How can I change this? <var name="magnifier"> <var name="fullscreenzoom">2&...
1
vote
0answers
39 views

Image Resize Command Issue in Magento 2.2.X

I have Magento 2.2.x running website which is having more than 50K products and each product has up to 27 additional Images. When we run resize command (bin/magento catalog:images:resize), it takes ...
0
votes
0answers
13 views

Magnifier showing in different sizes for a different product in Magento 2

Magnifier showing in different sizes for a different product; app/design/frontend/vendor_name/theme_name/etc/view.xml <var name="magnifier"> <var name="fullscreenzoom">20</...
1
vote
1answer
348 views

Magento 2.3.3 can't resize images

I have upgraded my Magento from 2.2.7 to 2.3.3. After I upgrade it, I can't run command line: php -dmemory_limit=2G bin/magento catalog:images:resize It always shows bug: libpng warning: Interlace ...
0
votes
1answer
206 views

How to override or extend etc/view.xml file in custom module in Magento2?

I would like to override or extend some of gallery setting(view.xml) and catalog image size changes with my custom module. I have tried to override in app/code/<vendor>/<module>/etc/view....
0
votes
0answers
25 views

magento 2 image upload not keeping the size it should from view.xml Luma theme

I have upload one image size width=700 AND height=900 Luma path is: ../vendor/magento/theme-frontend-luma/etc/view.xml I can see the bellow : ... <image id="product_page_image_medium" type="...
1
vote
2answers
727 views

Magento 2.3.2 Remove white background created by Image resize

How can I remove the extra white background added to resized images from Magento? we have setup 700x700 image size for Product main image in view.xml. Image resize is working fine for the images ...