Questions tagged [image]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
407 views

How to create a dynamic generated admin fields with Image upload?

This is XML : <field id="threesegmentimages" translate="label" sortOrder="3" showInDefault="1" showInWebsite="1" showInStore="1"> <field id="threesegmentimages" ...
3
votes
3answers
2k views

How to get product image path by product id in magento 2

Hello friends i want to fetch image path like var/www/magento/pub/media i wand to display image in admin grid i am using rendarar to get image image path by passing Product id. How this can be ...
1
vote
1answer
88 views

Image not responsive on home page.

I've added an image to my home page and when I preview the home page from CMS pages in the admin the image is responsive. When I click on my logo the page is then fully responsive all except the ...
0
votes
3answers
2k views

Magento 2 - Where to put images to use in css

What is the best location to put the images that I use in my custom css file? And what is the best way to get to the image from the css file? The location of my custom css is: app/design/frontend/...
0
votes
1answer
576 views

Magento 2 product image gallery not responsive/resizing

I've made a custom Magento 2 Theme, updated the view.xml with all my image dimensions, and resized the catalog images through the cli. However, the Fotorama image gallery on product pages is not ...
4
votes
4answers
1k views

How to get product images based on its sku?

I implemented a custom module Company/Module. In the controller folder i have upload.php file. I need to modify this file to display the output in a tabular form with sku and product image. Please ...
0
votes
1answer
246 views

How to get product images which are associate with its sku?

I want to upload a csv file which contains product sku and i want to get product images which are associated with that sku.please help me out.thanks in advance.
2
votes
0answers
59 views

Configurable child products without image

I have one problem. I am using since a time a new theme, the problem is that when I select a size in a configurable image, don´t shows any image, shows the placeholder image of Magento. The theme ...
3
votes
1answer
2k 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?
2
votes
0answers
23 views

Upload Store image through Admin Control panel [closed]

How to implement store image uploading functionality in Admin panel?
2
votes
0answers
19 views

Do not display site photos magento1.9.3

I installed a theme but they will not be loaded after installing the site's photos.
2
votes
1answer
154 views

Magento 1 base image same selection as thumbnail or small image

Something went wrong with the import of many products. Only the small image and thumbnail are selected. Now I want to set the base image the same as the small image and thumbnail. How can I achieve ...
2
votes
2answers
1k views

How to add image-column in admin grid

I have create a form which can upload a image and it saved in to db. in admin side i have a grid to display the table. and it have view action it show all details from db. it only show the image url ...
0
votes
1answer
115 views

Magento2.2.2: Module override cause in Wysywig editor shows broken image

I have to override the Customer module. vendor/magento/module-customer/Model/Indexer/Source.php in my custom module app/code/Magenticians/Moduleproduct/Model/Indexer/Source.php here is ...
1
vote
1answer
239 views

Have any way to get product gallery image full path from image name in magento2?

I have product gallery image /d/i/digitalnumber_0209_text.jpg Using this image i want http://www.stm2local.com/pub/media/catalog/product\cache\5774940f9400924b0454113a9911cfd5/d/i/...
0
votes
1answer
592 views

Image upload resulting in empty $_FILES array in magento 2

In my custom module I'm trying to upload an image via my save controller, I added the form in my block with this code: protected function _prepareForm() { $model = $this->_coreRegistry->...
0
votes
1answer
263 views

Magento 2 - Custom theme - Change the background to an image

I know how to change the colour of my background in my custom theme however I was wondering if it were possible to change the background on all pages to an image? I imagine it is similar to changing ...
0
votes
1answer
144 views

Magento 2 model for adding images to media folder (not for products)?

When not working with products, is there a magento2 model/function that can be used for reading/writing images to the media folder? (like addImageToMediaGallery / getMediaGalleryProcessor()->...
2
votes
1answer
3k views

Please advise. How can I export all product images at once Magento 2.2.5?

I am having an product export issue with Magento 2.2.5. How can I download/export all of my product images (all at once)? They all are in different folders on server? Thanks!
3
votes
1answer
2k views

Category and sub category image widget

I tried to create category and subcategory image widget.I got first level of categories with category images. app/code/Customcategory/CatewithimgWidget/Block/Widget CatewithimgWidget.php class ...
1
vote
1answer
1k views

Magento 2.2.5: Warning: getimagesize failed to open stream: No such file or directory

I'm doing resize image, and there is an issue here: 1 exception(s): Exception #0 (Exception): Warning: getimagesize(C:/xampp/htdocs/magento/pub/media/Aht_BannerSlider/images/slide_1.jpg): failed ...
1
vote
5answers
7k views

Magento 2 How to get all images of a product?

How to get all images of a specific product in Magento 2?
0
votes
1answer
448 views

Magento 2 product image on product page load slowly

I'm using Magento 2.2.3 with a theme based on luma theme, no change did to the product images gallery. Images have all low size, even so, it takes like 3-4 seconds to load the first image. I have ...
0
votes
1answer
803 views

Magento 2 Admin Config - Add dynamic Image field programmatically - Setoptions

I am trying to add a dynamic image field to my admin configuration tab, so far I have the field appearing but I can't save and or preview an uploaded image. I can get this working fine with the ...
1
vote
1answer
521 views

Magento 2 : When you upload a thumbnail or category image in Magento 2 where does it go?

I am trying to find the filepath for where a category image or thumbnail goes after being uploaded in admin. Can anyone point me in the correct direction?
1
vote
0answers
33 views

Magento 1.9 - Pass value From Select into Gallery.phtml to uploadAction into GalleryController.php

I need check the value set into custom select during Upload Image Manage Product -> Product -> Image -> User Browse image into Gallery.phtml example i add this simple select <select id="type"&...
2
votes
0answers
1k views

Brand store Logo not showing in email

I have configured the concerned brand logo to the store theme under the Email Transaction section After saving the configuration, I flushed the cache and re-indexed. Then I created a customer, with ...
1
vote
0answers
109 views

Magento 2 upload category image with the same name but different image

Magento 2 upload category image with the same name but different image I am trying to compress the category images and upload with the image with the same name but it's adding "_2.jpg" to it. Ex: "...
2
votes
1answer
2k views

How does Magento 2 process & compress product images

Im looking for a complete explanation on how Magento 2 processes and compresses product images. How does Magento 2 compress JPG & PNG product images? What compression methods does it use? Which ...
1
vote
0answers
88 views

Custom Placeholderimage resize issue in magento 2

I have added custom placeholder image in backend. But it is not resized as thumbnail image while editing the product. expected result In the place of default placeholder, my custom image should be ...
2
votes
0answers
173 views

Placeholder image not resized in Backend in magento 2

I have uploaded place holder images in backend, while I am trying to edit the configurable product in backend. Under configuration section It displays the place holder image at larger size for each ...
2
votes
0answers
786 views

How to Change Magento Media Path?

Is it possible to change the image source path in the media folder: From: www.example.com/media/catalog/category/apple-iphonex.jpg To: www.example.com/apple/media/apple-iphonex.jpg
1
vote
0answers
83 views

Re-generate watermarked product images

For one of our clients, I want to change the watermark of the images to a better resolution image in Design > Configuration > Product Image Watermarks. My question, because I see no 're-...
1
vote
2answers
1k 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
4answers
759 views

Warning: array_merge_recursive() expects at least 1 parameter, 0 given

Warning: array_merge_recursive() expects at least 1 parameter, 0 given in /home/WEBSERVER/public_html/app/code/core/Mage/ConfigurableSwatches/Helper/Productimg.php on line 336 #0 [internal function]:...
0
votes
1answer
439 views

Magento 2.2.x: Watermark only large/fullscreen image?

If I set only the "base" image watermark in the admin panel, it watermarks not only the fullscreen image but also the "medium" image used in the main product view. On the full image, the watermark is ...
1
vote
0answers
43 views

How to do Progressive Image? [closed]

My website loading image like, How can i change to, Anyone help me, Thanks.
0
votes
1answer
172 views

Images ( PNG or JPEG ) file size increased when uploaded through wysiwyg editor

I have both optimized PNG and JPEG images that I want to upload in wysiwyg but everytime I check it in frontend after upload and save it to my computer, the file size changes to triple of the original ...
0
votes
1answer
85 views

Display Subcategories images on home page

I am trying to display my subcategories images on my home page with the following code: <?php /** * http://fishpig.co.uk - Magento Tutorials * Display top level categories and subcategories **/...
0
votes
1answer
28 views

Product titlle display on product image

The product tittle is display at the bottom of the product image and I want to remove it. I didn't find any settings in back end and cannot find the code for the display image. Magento 2.2.4
1
vote
1answer
68 views

Product image is not loading in product discription page in Magento 2.1.7

I am facing some problem here the images in the product description is not loading at all. But it is loading well in the category page. site link Please hint that what I can do to solve this problem,...
1
vote
0answers
431 views

ui_component image upload field in form

I've created ui_form Form in working fine, Image also render when i edit form. But when i am trying to update image it giving me below prompt. This is what I've in my ui_form for Image. <field ...
0
votes
0answers
51 views

Storing string larger than 65KB

I have a web call to an ERP system that contains a product's information including its image. All the information that I got from the web call is then stored to its corresponding repository. eg: Call ...
1
vote
0answers
47 views

Ngnix issue caching image with magmi importing

I have used magmi tool to import product images on Magento 2.0.6. There is one option is to replace the images if it exists. I have check that option, it uploads the file successfully physically (I ...
1
vote
1answer
814 views

Magento2 : CMS page images showing in admin but not on front-end (WYSIWYG)

My CMS images are showing in admin but not on the frontend for a content page (About Us) that I m making Though the links look clearly wrongly pathed :- https://www.giftshop.com/index.php/admin/...
0
votes
2answers
56 views

Extract image from echoed block

Is it possible to echo a image / images from a static block? So something like this: echo $block->getLayout()->createBlock('Magento\Cms\Block\Block')->setBlockId($optionText)->getImages()
0
votes
1answer
141 views

GET Magento2 category product images

How to get product images of a specific category in magento2?
1
vote
0answers
47 views

How to upload custom images in single product page in magento 1.9

How to upload custom images in single product page in magento 1.9? With product add to cart
0
votes
2answers
44 views

To retrieve image from Module

$image="<img src="echo $this->getViewFileUrl('Inchoo_Helloworld::images/Phone.jpg' To know whether this code is correct to retrieve image from Module
0
votes
3answers
115 views

Magento 2 : Access image from Module's block

I want to access image from a Block in my custom module. This is my current code: public function getCustomtxt() { $block->getViewFileUrl('images/Phone.jpg'); }

1 2 3
4
5
17