Questions tagged [image-resizing]

The tag has no usage guidance.

0
votes
0answers
13 views

Magento 2 catalog:image:resize register error

I'm trying to do image resize on dev site, but it always returns errors due to register. Errors like: /var/www/magento/pub/media/catalog/product/p/h/image.jpg Because name of folder can be /P/h/ ...
0
votes
0answers
32 views

Some Images could not be resized. See log file for details

Some Images could not be resized. See log file for details I use Magento 2.2.6. I use allways the same picture only name change! 5781-R101.png do not work ABCDEFG.jpg work fine picture has only ...
0
votes
1answer
27 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 ...
0
votes
1answer
29 views

catalog:images:resize command stops at 100/2115 images with Error sending QUERY packet

I just migrated an inventory from one Ecommerce Platform to Magento and while running the image:resize command to re-scale the images for them to display, the command consistently fails when it ...
1
vote
2answers
85 views

Magento2-Product PNG Image is resizing as Transparent due to which it's showing as blank on Product/Category/Product Admin Grid Page

PNG product image is not showing on the front end. When i checked for the reason then found this format is resizing but always resized a blank image due to which it's not showing(as we know that to ...
1
vote
1answer
41 views

Magento 2 How to resize product gallery images?

I have to resize the product gallery images. I'm using this link to resize image Resize Image but it's only allow to resize image product_base_image. While I have to resize all other image then ...
3
votes
2answers
261 views

Magento 2 stop (or) avoid resize product image at admin end?

In Magento 2.2.3 CE, Is it possible to get default maximum image dimensions in Magento when uploading images at admin end? For example, I uploaded some images to a product that were 2400x2400 and ...
2
votes
1answer
408 views

Magento 2.3.0 product image cache resizing images to look very bad

i have uploaded images to magento 2.3 and when i look on product page i can see it been resizing to different size with white lines. look at original image that has been uploaded: https://...
2
votes
2answers
487 views

How to resize Image in Magento 2?

I want to resized image of subcategory. for that, I added this code in .phtml file.I'm getting wrong path for image <?php $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); ...
0
votes
1answer
692 views

Image Resize not working for catalog images magento 2.3

Please check the below code app\code\Vendor\Category\etc\di.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/...
1
vote
1answer
156 views

resize image without loss quality in magento 2

I want to resize image without loss quality in magento 2 i used code $imageResize = $this->_imageFactory->create(); $imageResize->open($absolutePath); $imageResize->constrainOnly(TRUE)...
0
votes
0answers
158 views

Magento 2 : Change image sizes in fotorama

How do I change the images sizes of the fotorama gallery ? From what I understand I need to edit my view.xml But what Image Id's do I need to change please. Also do I need to run some mage command ...
0
votes
1answer
133 views

Magento 2.2.x Product Image automatic Resize when height more than 1200px

Magento 2.2.x Product Image automatic resize when height more than 1200px Might be default m2 bug. LMK how to fix that problem?
0
votes
2answers
427 views

Magento 1.9 - Resize images

I create a custom module in Magento 1.9 to upload some images. But I want to have this big images as a thumbnails too, how I can made a resize of the big images? if(isset($_FILES['image']['name'])...
2
votes
1answer
262 views

get image by position and resize

I need to get images by its position and I need each image resized to a concrete heigh and width. If I want a image by its position I can do it by this code: $_product ->getMediaGalleryImages(...
5
votes
2answers
2k views

Magento 2: Getting “Warning: getimagesize(): Filename cannot be empty” after switching to a new empty theme with no parent

I wanted to start building a theme from scratch & my first step was to create a new theme with "Blank" as a parent. I then browsed a few pages & saw that everything works just fine. On the ...
0
votes
1answer
100 views

How to resize pictures from list page on Magento 2

I tried to set the product pictures from category page to 800x800 px and i can't. Be default the picutres size is 270x270 px; I changed in view.xml the values for this fields into 800x800 px but ...
0
votes
1answer
2k views

How to resize image of product view page in Magento 2?

I want to resize product view gallery image. I want to resize main product image to 500X500 size? How can we achieve this?
1
vote
0answers
52 views

Magento image resizing - own method

Is Magento preparing images while the page is loaded by the device or use cached images regardless the device size? If it creates and caching images - same for each device - I would like to change it ...
2
votes
1answer
2k views

Resize and Crop to set width/height without stretching

I am trying to get magento 2 to resize my images to a set width and height then crop them to the correct dimensions. I am trying to do this via view.xml and php but both are running into the same ...
0
votes
1answer
799 views

Image resizing not working if height and width values are different

I am trying below code to resize height and width of image. If i give resize(350 ,250) instead of resizing , its displaying image 350px away from left and 250px away from top from its original ...
1
vote
0answers
254 views

Catalog images resize command not working in Magento 2?

Catalog images not resizing as per view.xml dimensions. php bin/magento catalog:images:resize This command run successfully but still not resizing images. What is the reason behind it? Can somebody ...
1
vote
2answers
1k views

magento product resized image optimization

I have optimized product images: when I upload those in admin they remain as optimized. However, in fronted when I resize images with cache, these already optimized images need to be optimized. How ...
2
votes
1answer
52 views

What are the different parts of an image URL, and how to generate new sizes?

I have an image URL like this: http://example.com/media/catalog/product/cache/1/thumbnail/65x65/9df78eab33525d08d6e5fb8d27136e95/r/a/random-product_8.jpg What is the meaning of the "...
0
votes
0answers
47 views

Magento jQuery Image Scaling issue, image not resizing

We have just moved to a new server & we have around 800+ cms pages with images. Some of the pages have images where we have used tag to specify the width & height, but the issue is the images ...
1
vote
0answers
183 views

Using Magento resize vs uploading already resized images

We have custom magento review module that have lots of 70x70 image icons which when clicked load big images. Currently we manually resize them and upload 2 version of files - big image 640x480, and ...
2
votes
1answer
2k views

Magento 2 - Why is product image size & dimensions changed after upload?

When uploading new images to a product in Magento 2, it is not only decreasing the dimensions of the image, but it's increasing the image file size: Image Details Before Upload Dimensions: 1185 × ...
0
votes
2answers
454 views

Home page product slider image resize issue

I want a image of size 550x550 for single product slider, but my slider is getting small_image and resize into size 270 x270, this leads image to be blur. I have checked at my end and found that it is ...
1
vote
2answers
830 views

Magento 2 resize swatches images

I want to resize swatch images See this http://awesomescreenshot.com/0d466soja3 We will change this color swatches to product images and i want to resize this & if we can remove this resize ...