Questions tagged [image]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
22 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....
3
votes
1answer
618 views

Magento 2 : How to Add Image to Payment Method in Checkout

I want add images to payment method list on checkout like : I want add image before these payment methods Płatność przelewem bankowym Płatność przy odbiorze Can anyone help me how I can do it?
0
votes
0answers
15 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
24 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
13 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/...
1
vote
1answer
805 views

How to upload Multiple Images Of same product using CSV FIle in magento 2.0?

I am Trying to upload Multiple image of same product in magento 2 using csv file. I am adding one image each on base_image, small_image, and thumbnail_image and other remaining images on ...
3
votes
3answers
866 views

Magento 1.9.2.4 File Was Not Uploaded

Hey, I just installed Magento 1.9.2.4 and try to upload new product all goes well but when I try to upload image it uploads to 100% and then I am getting " File was not uploaded." error. Could ...
0
votes
2answers
27 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 ...
8
votes
1answer
12k views

Magento2 : How to path for background image in .less file? [closed]

I want to set path for background image in less file app\design\frontend\vendor\theme\web\<lessfile> in magento2.
0
votes
0answers
46 views

Magento 2: Some of the Products image disappear in list page

I am working in Magento ver. 2.1.6 facing the issue in thumbnail images disappears in list page for some of the products. And showing placeholder image instead of the product image. But that disappear ...
2
votes
1answer
33 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 ...
2
votes
1answer
23 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/...
1
vote
1answer
734 views

I used Magento2.1.7 get error image “404 error: Page not found.” about “pub/media”

My link is SSL HTTPS "https: //www.sample.com/pub/media/eby/tmpteone/store/images/bannerxinpin.jpg" ,picture can not loading on "pub/media/mypicture" Get error "404 error: Page not found." Can you ...
6
votes
3answers
13k views

Magento 2 get custom module image url from backend

I used <?php echo $this->getViewFileUrl('Vendor_Module::images/demo.jpg'); ?> <?php echo $block->getViewFileUrl('Vendor_Module::images/demo.jpg'); ?> But it's working only ...
6
votes
1answer
744 views

Watermark Category Images with Brand Logo

I'd like to add a watermark to each small image (but only in the category listing page) that is based on the manufacturer attribute. I don't want to alter the small image for that product on other ...
3
votes
1answer
683 views

Magento 1.9: Custom category field for an image not showing on front end

I want to add a picture on top of category name in frontend. I tried creating a custom field for the category and adding a picture that way. I can see the custom field from admin, but I can't see ...
1
vote
0answers
19 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
vote
1answer
29 views

Wrong media URL in WYSIWYG editor when adding images in various Magento store views

I will try to explain a strange behavior (maybe bug) when using WYSIWYG editor in Magento 1.9. Magento setup One website with three store views. Each store view is on different domains. For this ...
0
votes
1answer
32 views

How to display products images on page sales/order/view? [duplicate]

I'm very new in Magento. I want to display products images on page sales/order/view. How can I do that? Anyone can help? Thank you!
1
vote
2answers
883 views

Magento 2.2.4 : image not showing in product page

I haven't the image of the product on my product page, but I have it inside category page. I also have the link of the image if I go into html code through developer console. I tried to flush ...
2
votes
2answers
550 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(); ...
2
votes
3answers
758 views

product image missing from backend after updating

After upgrading to Version 1.9.2.3 will not product images are displayed in the backend only in frontend. All run on a single web server with the same rights on apache user. Someone who can help?
0
votes
2answers
753 views

Images not display both frontend and backend after import

I have try to import bulk images, after i import i got successful message, right after check front and back end there is no image, excel format : https://www.dropbox.com/s/ruh3bg6htuirybp/ready.csv?...
2
votes
1answer
32 views

Avoid loading product image from cache in magento 2

I have issue in product images. Right now products are loading from cache from the path like below. site_url/media/catalog/product/cache/2765542505660baab28ecd555e27366e/t/m/image_name.jpg This ...
0
votes
1answer
2k views

Magento 1.9.3.0 file was not uploaded error

When I upload the product background and click upload pictures, it always prompt, this file was not uploaded error
0
votes
1answer
786 views

Magento resizing images for cache and making them bigger

I've noticed on our Magento 1.9.3.1 store that when Magento puts product images into cache it's actually making them bigger. I'm not sure where to start debugging this or if there is a fix for it? ...
0
votes
1answer
34 views

How work with pub/media folder? [closed]

I should get file (image) in magento2/pub/media/vendor_name/.... How can i do this? Thanks
2
votes
3answers
107 views

How can I remove not existing images in magento 2

How can I remove not existing images from magento. In the database have images but file is not exist. I want deleted this images from database.
7
votes
1answer
97 views

Magento 2.3.1 override view.xsd Using Plugin Not working before 2.3.1 it's Working

I am trying to override view.xsd using Plugin and it's working on magento 2.1.x and 2.2.x but not working in 2.3.1. I Add Same code To describe Here. Extending the complexType named "imageType&...
1
vote
0answers
69 views

Override ImageFactory Block in Magento2

I am trying to override the way that the Images in the Catalog, Checkout and Cart are going to be loaded someway different then Magento does it by default. Thats why I'm trying to create a module ...
0
votes
1answer
21 views

How to get small_image in Magento 2

I am trying to get URL of small_image. Magento 2 offers a helper helper('Magento\Catalog\Helper\Image'). I used this code to load small_image <?php echo $this->helper('Magento\Catalog\Helper\...
0
votes
1answer
27 views

How to get url of last image from $this->helper('Magento\Catalog\Helper\Image') Magento 2

I am trying to get URL of image of last image. <?php echo $this->helper('Magento\Catalog\Helper\Image')->init($block->getProductForThumbnail(), 'cart_page_product_thumbnail') -...
0
votes
0answers
17 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
1answer
34 views

Product Image is not display on frontend Magento 2

I am facing this issue. Product image is not show on product page in magento 2.3.1 My backend is : So Please help me !!!
3
votes
1answer
906 views

Custom widget image is not showing on frontend Magento 2

I have a custom widget with an image uploader. Backend is working perfectly, but uploaded image path is showing like this http://db7005.web49.ixl.nu/achterkant/cms/wysiwyg/directive/___directive/...
2
votes
0answers
39 views

Image upload error, unable to upload images in magento 2

Need a solution tried checking uploader.php for file extension MIME type. <?php /** * * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ namespace MGS\...
0
votes
0answers
85 views

Magento 2 REST API copy image from another SKU

I am trying to use an existing image from one SKU and add it to another SKU. For example: SKU0 -> Image uploaded via Admin SKU1 -> Copy image details from SKU0 to SKU1 via API I've tried using ...
1
vote
0answers
163 views

Due to permission issue Not able to insert the images using wysiwyg editor in Magento 2.2.7

Due to permission issue Not able to insert the image using WYSIWYG editor in page or block creation. Insert file and create folders buttons are not working. Suggest me with suitable permissions. We ...
0
votes
0answers
19 views

Can't upload image to magento 1.9.4.1

My version magento 1.9.4.1 When i clicked on buttons, nothing happens. Because of this, I can not add a picture to the product I looked at this question and saw that I do not have files skin/...
0
votes
0answers
9 views

Magento 1.9.3 images lost its roles

I was trying to execute this Bulk change image extension to convert all my images to webp But after that all products images lost their roles. I have to many products. Is there a way to restore ...
2
votes
1answer
1k views

Magento 1.9 : How to get Image label under the main image?

How can I get image "label" to print/output under the main image?? Need to display the Image label change according to the selection of the thumbnail image. (e.g Front, Rear, Side etc)
0
votes
0answers
14 views

Show Block class image upload to Ui form image upload

How can i change from this To this My Code to create image upload is below. I don't want to create the form with UI component but i want to make the image upload like it. $fieldset->addField(...
1
vote
1answer
19 views

how to solve configurable product image adapter error in magento 2.2.6

I'm getting error in magento2.2.6 on frontend for configuration type product Exception #0 (InvalidArgumentException): Image adapter for 'SLGD2NEW' is not setup. also command not working bin/...
1
vote
2answers
117 views

Magento2 How to Integrate background image in my email template

I want to integrate a image in tag as background in style for my account creation email template. Where can I place this image in my folder and how can I call the image as background.
1
vote
1answer
18 views

How can I get full-sized image on swatch attribute? Magento 2.3

I added swatch images for my brand. I get swatch data in my template: $swatchData = $block->getSwatchData(); Next step - I show image inside my template: $swatchThumbPath = $block->...
0
votes
0answers
11 views

The gallery images repeated in PDP page

In My PDP page, the thumbnail images which is shown on the bottom side of the product image are displayed twice Please refer below screenshot, It repeats the product image twice in bottom
3
votes
2answers
2k views

How can we add/update a image path with own code without using addImageToMediaGallery()

Can we update a own defined product image path to database, I am adding products with own custom code.I want to add image database without help of ->addImageToMediaGallery() Is it doable?? ...
0
votes
0answers
472 views

Executing JS function onclick button which is present inside form

We have button "create" and onclick "Create" button, it will create product programmatically and assign custom image to that product. app/design/frontend/rwd/Theme3/template/aitcg - js_styles1.phtml ...
1
vote
2answers
4k views

Serve resources from a consistent URL

I'm working on optimizing our website & am getting this notice when using GTMetrix. The following resources have identical contents, but are served from different URLs. Serve these resources ...
0
votes
2answers
928 views

magento 2 : logo image file could not be selected / uploaded

In content > design > configuration theme , I try to upload new logo by click on the Upload button. However, after select the image from PC, the ajax icon only spin a couple of times and then ...