Questions tagged [image]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
14 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
36 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
11 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
17 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
31 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
29 views

Un-linked Database Images Front/Backend Magento 1 to 2 Migration

I'm currently working on migrating a magento web-shop with 60k+ items to magento 2. I'm facing a weird problem where it seems like there was no base image defined in magento 1 due to a custom call ...
0
votes
0answers
12 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
23 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
17 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
44 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
30 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
108 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
51 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
10 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
18 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
14 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
50 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
60 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
155 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
160 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
38 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
33 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
19 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
33 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
327 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
31 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
vote
0answers
35 views

Magento 2: Upload image without Ui component

how can I upload an image by this way, please help me, thank you $fieldset->addField( 'image_field_name', 'image', [ 'name' => 'image_field_name',...
0
votes
0answers
17 views

Magento 2 custom image not working in pdf

I am trying to print a custom image in a custom pdf. This runs as a cron. Everytime I run bin/magento cron:run, it displays all the output on the terminal and crashes. Here's my code- $imagePath = '/...
0
votes
0answers
26 views

how to optimize storage problem in magento 2

magento ver 2.2.6 i have 2,000 products but storage 16GB (pub/media folder 14GB) how i can optimize this storage problem..
0
votes
0answers
28 views

Magento 2: How to fetch swatch_images url in product listing and how to loop them in an array

I am trying to fetch the swatch_image url of product list and pass them through the api. I am even trying to loop those images in an array if in case there are multiple images in the gallery.
0
votes
0answers
34 views

Module to rename the image name produced in Seo Friendly mode

There is a module to rename the image name produced in Seo Friendly mode? Ex: ..cache/test-12332.jpg => ../cache/name-product-bla-bla-bla.jpg
0
votes
1answer
43 views

Magento 2 Change base image when attribute is selected on catalog page

I want to change the base image depending on the color which is selected. So if i select "Olive Green", all the products with olive color single products must change the base images to the black ...
1
vote
0answers
30 views

Magento 1.9 Product Image Upload Console Error

Console Error : Failed to load resource: the server responded with a status of 403 (Forbidden) VM262:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse ()...
0
votes
0answers
19 views

Magento 2: jQuery: User Get Blank Image In Email

I'm using Magento 2.2.1, I have an issue to fix, I'm using drawpad jQuery but I'm stuck in it, there is a frontend page like this: Here user draw line where he wants to or mark the parts, and submit ...
0
votes
0answers
45 views

How to upload image by REST api (without base64) magento 1.9

I try to upload an image by rest API in Magento 1.9 version but getting "invalid content-type' error. Can any one help me for the same?
0
votes
1answer
22 views

compare images from catalog_product_entity_media_gallery with actual presence on server

So, In our catalog_product_entity_media_gallery table in the Magento 2.3.1. database are around 25.000 lines. Like: 18963,90,/_/_/__1_3.jpg,image,0 18965,90,/_/_/__1_4.jpg,image,0 10815,90,/_/_/__1....
1
vote
1answer
654 views

Magento 2.3 wrong image cache generation

I have upgraded my Magento EE store from 2.2.7 to 2.3.2. An issue occurred of images not showing on product pages. I debugged a bit and ran the command "catalog:image:resize" and images appeared. ...
0
votes
0answers
30 views

Adding 360 image iframe to carousel in Magento 1.9 - need help to show

I am attempting to add a couple of new elements to a Magento 1.9 image carousel on the products page. Ideally I would like to add at the end of the foreach loop but whatever I do it just keeps ...
2
votes
1answer
138 views

Product Images fail to load after Version upgrade magento 2.2.9

I tried to upgrade version 2.2.1 to 2.2.9 and for some reason images inside the product catalog on the frontend load forever. I did research and tried all the below solutions https://www.ctidigital....
0
votes
0answers
29 views

Cron job image import issue - Magento 2.3

In Magento 2.3, I am importing data from the .xml file. The product name, SKU and product description i can import via cron job but I cannot import the product image. Can you help me? Thanks in ...
1
vote
1answer
29 views

Programatically Product Save with Image

This is My File Uploader in .phtml file : <input type="file" id="imageUploader" name="imageUploader"> This my PHP file code where form post. <?php namespace VendorName\ExtensionName\...
0
votes
1answer
31 views

Consistent URL issue on magento1.9 site optimization

Getting issue in Website Optimization: Serve resources from a consistent URL All url are of small image of different products on the same page. https://www.text-machines.com/media/catalog/product/...
2
votes
1answer
50 views

Magento2: Production Critical Error on Cloudinary

I am trying to run the setup:upgrade command I get the following error PHP Fatal error: Uncaught Error: Call to a member function getCloud() on null in /var/www/asprod/vendor/cloudinary/...
2
votes
1answer
46 views

How get Image Url by product_id or other way

I am rendering sales_items rows in frontend Screenshot is: Can anyone please help me to find how get image path here from product id or any other solution. and set path in src tag ? My .phtml file ...
0
votes
3answers
53 views

Magento 2 Related Product Image is not Accurate

In Related Product Slider, All Images are of different size and default Magento is not resizing them. Screenshot : https://prnt.sc/oax7yl I want to show all images of the same size. In view.xml, I ...
1
vote
0answers
28 views

the number of images in Magento store

How many images I can upload for one product in my Magento store? I want to know the maximum number of images per one item. It's really important for my clothes store

1 2 3 4 5 16