Questions tagged [image]

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

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

Remove product image from checkout page

How to remove product picture from checkout page in opc-block-summary block
0
votes
0answers
12 views

Magento2 Responsive size Images for CMS pages

Magento2 - How can I upload responsive image for CMS pages. I have uploaded images on my CMS pages, but the google pagespeed doesn't take my images as responsive. How can I achieve this?
0
votes
0answers
13 views

Magento2 Product Image Size

Magento2, I am uploading Product Images via CSV, what is the size of product Image I should upload so that it displayed properly at all places like list page, cart page & Details page. Also ...
0
votes
1answer
15 views

How to Image resize this container in product page - Magento 2.3

In the product page i need to resize the product image container but i can't how to resize this, Please check the image for reference The below image shown with big gap between the image and border ...
0
votes
1answer
20 views

Customize mini-cart - delete image and edit button

How to remove the picture and edit button from the mini-cart without using CSS Expected Result
1
vote
0answers
7 views

Magento 2 system configuration image file upload into my custom directory with the size validation

I am working a Magento Extension, as per my requirement I've to upload an image from the system configuration field. I have done the image upload, once the image uploaded the file stored in (root/pub/...
0
votes
1answer
15 views

Magento 2 dynamically add image to email template

I am creating a custom module, In my requirement, I've to add a custom image a, the image available under the Namespace/Moduelname/view/frontent/web/images/image.jpg. The below code I've added image, ...
0
votes
1answer
26 views

Remove main product image from gallery (and placeholder)

Steps: I have a configurable product with main image for thumbnail and everything else. I create a variation with it's own image. I select hidden in product page in the main product's image. ...
0
votes
1answer
18 views

I get an error when I indicate the path to the Symlink 1.9

I am using the module Image Optimizer and I need to specify the media folder to optimize the pictures. But I don’t have a media folder for the project, there is only a Symlink to the directory /mnt/...
0
votes
2answers
57 views

How to resize webp image programmatically in Magento 2?

I can safely resize an image with jpg or png format like this : public function __construct( \Magento\Framework\Filesystem $filesystem, \Magento\Store\Model\StoreManagerInterface $...
1
vote
2answers
26 views

Changing icon on CMS homepage

I am new to Magento. I am trying to make changes in CMS homepage. The page looks like this: I am able to change page title and heading from cms_page table. But not able to find way to change the ...
0
votes
2answers
29 views

General image processing model

Is there a general class that deals with image processing (mainly resizing) that just receives a path to an image, some parameters and processes and saves the image somewhere and returns the new path? ...
0
votes
1answer
24 views

Magento2 how to stop generating Cache for Images?

I don't want Magento to generate cache for images. How can I restrict cache generation for images?
0
votes
0answers
12 views

Image compression Magento 2

What I have found is that compressing before uploading is relevant to the compression in Magento For example I have found if I compress to 60 and have 80 in magento nothing happens. My process now is ...
0
votes
0answers
10 views

Magento2 How to upload cache images to Amazon s3 server while importing product from beckend

i have upload images to amazon s3 server and it is uploaded images to amazon s3 server while importing products. but i am not able to view images in product view page , and i have check cache folder ...
0
votes
1answer
18 views

Magento2 How to resize product images by product id without using resize command

Does any one know how we can resize product image by product id ? i do not want to use resize command,becuase it takes much time
0
votes
1answer
45 views

external images link magento 2.2

I'm trying to show images from external images in catalog search results I created a text attribute containing the full path URL named custom_image for each product This phtml is responsible to ...
0
votes
0answers
22 views

Second product image on category page

I'm trying to display second image of a product in a category page on hover. I managed to get images by $_product->getMediaGalleryImages() but I have problems with resizing them to ...
0
votes
0answers
17 views

Images invisible on catalog page upon resizing images in view.xml

I have changed the size of image in view.xml as <?xml version="1.0"?> <!-- /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ --> <view ...
0
votes
0answers
31 views

Magento 2 site does not load gif images

I have a testimonials page, where my customer has added a .gif image. The image is not getting loaded on the frontend , hence alternate image text getting displayed. This is the code <img src="../....
0
votes
0answers
18 views

check unused product images

How to check unused product images? I have used this query but it also remove the used images. query="SELECT value FROM catalog_product_entity_media_gallery; What is not from the results of this ...
0
votes
0answers
19 views

how to retrieve the image information from the magento 2 store in python

client.get_product('SKU ') in python is used to retrieve product info from the magneto 2 store but how to retrieve image information related to specified product using python.
0
votes
2answers
46 views

Magento2 - Change my account label to image

I tried to change the my account link to a image but then found that it was called in xml in vendor/magento/module-customer/view/frontend/layout/default.xml as label . So how could I change it to ...
0
votes
0answers
13 views

Magento 1.9 - Newsletter images not showing to Gmail customer other email services showing my images

Gmail customer not able to see my newsletter images, but perfectly working with other mail services like yahoo, rediff, domain mail account.
2
votes
1answer
34 views

Help! image appearing twice on product page

we have had our website developed with an offshore team located in India and it to see I would be putting it lightly if I said it has been frustrating. I have no idea about coding and pretty much ...
1
vote
1answer
35 views

Magento 2 - Dynamic Product Image Magnifier

I want to add magnifier with settings of top position,left position ,width and height to setup and show magnifier accordingly to settings when hovered on image.
0
votes
0answers
20 views

(Magento\Framework\Exception\LocalizedException): Element with ID 'gallery_schedule_block1.uploader' already exists

I am getting this error: (Magento\Framework\Exception\LocalizedException): Element with ID 'gallery_schedule_block1.uploader' already exists Here is my code: class Content extends \Magento\...
0
votes
0answers
39 views

Imported resource (image) could not be downloaded from external resource due to timeout or access permissions with amazon AWS image links

I am trying to upload the products on my website using Magento 2.3 import. I have images stored on Amazon AWS server and I've provided the path to each image but unfortunately I am getting the below ...
0
votes
0answers
20 views

Unable to get only Image URl in Magento2 Custom Widget

I have requirement of Image in the widget and i have using Wyswigy editor to add image, but i Image url to be wysiwyg/pic 01.jpg but i am getting <img src="{{media url=&quot;wysiwyg/pic 01....
0
votes
1answer
84 views

Magento 2 - can't upload images in CMS (File validation failed.)

I try to upload a small (900 KB) .jpg image to my CMS Site, but I get File validation failed. I made sure that I have all necessary permissions as stated in the magento documentation. find . -type f ...
0
votes
1answer
35 views

Magento 1.9 : How to get Image on Product page -> 2columns-left.phtml?

I want to display my below image on product page left side, https://i.stack.imgur.com/OEZDN.jpg I just added directly into 2columns-left.phtml, <div class="col-left sidebar col-xs-12 col-sm-3"&...
0
votes
2answers
135 views

image path for a phtml file

Hello I would like to add a image to a phtml file. however it didn't get use to the magento code to get the image path <img src="{{media url='/ca_flag.png'}}"/> Somehow the image address was ...
0
votes
1answer
67 views

Magento 2 error module image optimizer

I installed the Image Optimizer for Magento 2 I'm having trouble getting a scan on pub/media, follow the errors attached. The error message is "Something went wrong while scan image. Please review ...
1
vote
1answer
11 views

How do I add images to custom theme

I need to add an extra, static image in the page header. Right after the logo. My child theme directory structure in [magento project root]/app/design/frontend/My_Vendor/My_Theme/ ├── ...
0
votes
0answers
26 views

Invalid parameter given. A valid $fileId[tmp_name] is expected. uploading logo image

I am trying to uploading a logo image in m2.2.3 but it is giving error "Invalid parameter given. A valid $fileId[tmp_name] is expected."
0
votes
0answers
15 views

how to display image with custom attribute, base on the bundle product custom attribute?

I did create custom attribute for image at simple product, which is called imageA and imageB. I have a bundle product also create a custom attribute to determine it show imageA or imageB, since ...
1
vote
1answer
61 views

Magento2 System configruation

I upgraded my magento2.2.8 to 2.2.3 after that I open system configuration and try to open configuration but some configuration shows a blank page and some option showing normal.
0
votes
0answers
7 views

Magento2: Issue in basket with configurable product image

For configurable product when I add product to the basket, then in mini cart image displayed correct. URL image in checkout looks: pub/static/frontend/vendor/theme/pl_PL/Magento_Catalog/images/...
0
votes
2answers
78 views

Create a section in the admin panel to upload pictures and get a picture in the template

I have a place on each side where I need to get the loaded picture by the user from the admin panel. The admin panel has similar functionality and I want to copy it and display this image in the ...
1
vote
1answer
273 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
3answers
264 views

Unable to get Product custom image role in magento 2

i have created new image role name "tiles_images", i product listing page i want to show tile_image only , for this i have done below code but that seems not working i am using below code in my ...
0
votes
0answers
12 views

magento 1.9.4.2 PNG display very bad and pixelatted/bad quality

I've moved my magento 1 site to a new host/server and also upgraded to 1.9.4.2 (from 1.9.2.1) Once i'd completed that I changed my theme too. I have an issue with PNG files not displaying well - they ...
0
votes
1answer
64 views

Concatenate static Image path with KnockoutJS data-bind

This is my JS File code define([ 'uiComponent' ], function (Component) { 'use strict'; var some_products = window.checkoutConfig.my_specificProducts; return Component.extend({ ...
0
votes
0answers
42 views

Images not loading on mobile view

I am using magento 2.3.2. My product images are not loading on mobile. Please help.It a critical issue. Its just shows infinite loading and then hang ups. This happens on product view page.
0
votes
0answers
7 views

home page image not show in resposnisve mode in magento2

i have home page.On google search the SEO title and image shown.But image is not display on mobile view.what will be the issue for it?
0
votes
0answers
22 views

Magento 2 Image issues

I've been having an issue with getting the product images to load properly. I migrated the site from M1 to M2 and brought over all of the media files per the recommended methods. Some of the product ...
0
votes
1answer
44 views

Magento 2 category image 404 with store code in url

I have a phtml file in my theme that is added to category page via XML updates tab. I read image in phtml like so: $this->getUrl('media/catalog/category/').$_category->getImageUrl() My theme ...
0
votes
1answer
538 views

Convert Base64 to Image file and save file directory : Magento 2

How to convert base 64 image format to image file and save image in local file directory in magento 2 public function setProfileImage($customerId, $base64) { if ($customerId)...
0
votes
1answer
32 views

PNG image modified after image uploads in Magento 2

I have Uploaded .PNG image for the product. But it displaying differently on the frontend. most of the image automatically become transparent. please check the attached image.
0
votes
0answers
21 views

Magento 2.3.1 : Image Validation is not working in back end form

I wants to add width and height validation for image in admin form so please help me.!! Thanks

1
2 3 4 5
17