Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [image]

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

0
votes
1answer
15 views

CMS wyswig images wrong path

In blocks or cms pages I'm trying to add an image (Magento 2). But after selecting an image and choosing insert (from insert image popup) image URL of the image is wysiwyg/image.jpg and preview is ...
0
votes
1answer
19 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
1answer
21 views

i list through linnworks and every time i list a product the main image becomes the no image

see attached image it always shows as no image i have tried everything with no luck any one ?
0
votes
1answer
26 views

Maganto 2.2.7 product image loading and loading on product details page but it appears on the Homepage/Frontpage

Product images are shown on the Main Front Home page but when single product image clicked and land on the product details page, product image is not shown not appearing instead a gif is loaded. I can'...
3
votes
2answers
92 views

How to get the image directory

I need to get image directory means full path. I get the image path from the following code $product = $this->productmodel->load($orderItem->getProductId()); $product->getThumbnail(); I ...
0
votes
0answers
29 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
22 views

Get Image in Magento

How many ways to get an image in Magento! Anyway, I'm trying to get an image. I'm in a foreach loop like this: <?php foreach ($this->getItems() as $key=>$item): ?> Product details are ...
0
votes
0answers
10 views

Magento 1.9 Image swatch not switching images

Magento 1.9 image swatch not changing images when clicking swatch options. We have set attribute color with labels and also include it at attribute sets.
0
votes
1answer
186 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 nothing ...
0
votes
0answers
26 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" ...
-1
votes
0answers
32 views

Magento 2: Copy image from my module to a public/pub/media/wysiwyg

I want to copy the image of my module in web/images/test.png to a new directory that I have created in public/pub/media/wysiwyg with a InstallSchema.php. use Magento\Framework\Filesystem\...
3
votes
3answers
210 views

How to get product image path by prodct 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 ...
0
votes
0answers
22 views

Magento 2: Some of the Products image disapper 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 ...
1
vote
1answer
39 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
0answers
11 views

Loading default image failing with quote in name

I have several product in my store. Some of them have no image and have quote in the name Example of name: My product "a detail" This is causing this issue : SyntaxError: JSON.parse: ...
0
votes
0answers
17 views

Trying to add local pictures - image not found

I'm trying to use data flow feeds to import images already on the server (in the catalog directory). I've created a basic Python script to create this csv which includes some basic transformations ...
0
votes
3answers
36 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
64 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 ...
0
votes
0answers
29 views

Placeholder images not showing in magento 1.9.0

I have facing one image related problem in magento 1.9.0 Question: when i have upload my magento store in live server. then after products default placeholder images are not show In local (xampp) ...
4
votes
4answers
281 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
75 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
1answer
130 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
14 views

Upload Store image through Admin Control panel [closed]

How to implement store image uploading functionality in Admin panel?
2
votes
0answers
16 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
59 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
209 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
25 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 ...
0
votes
0answers
22 views

Magento 1.9.2. - Stopping the image cache creation in the FTP (media / catalog / product / cache)

In my ftp the folder media/catalog/product/cache is very heavy, about 3.70 GB, this takes up a lot of space and creates problems in my web space. How can I reduce the large cache that is formed and ...
1
vote
1answer
39 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
0answers
197 views

How can we add multiple file upload image upload as customer attribute in magento 2

I want to add Multiple file upload as customer attribute in Magento 2 how can I achieve this. I have tried $customerSetup->addAttribute(Customer::ENTITY, 'upload_images', [ 'name' =&...
0
votes
1answer
105 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
0answers
12 views

Grainy Product Images After PHP 7 Upgrade - Magento 1.8

I'm running Magento 1.8.1 and after upgrading my server to PHP 7 (And applying a heap of compatibility fixes) I'm still having issues with my product images appearing very grainy. It doesn't seem to ...
0
votes
1answer
26 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
33 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()->...
1
vote
1answer
288 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!
2
votes
1answer
96 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
221 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 ...
0
votes
5answers
587 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
117 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
314 views

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

Good afternoon, I'm a little new to this Magento 2 game so any advice will be happily received. I am trying to add a dynamic image field to my admin configuration tab, so far I have the field ...
1
vote
1answer
179 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
17 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"&...
0
votes
0answers
161 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
20 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: "...
1
vote
0answers
205 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 ...
0
votes
0answers
28 views

No such file or directory - even though directory exists and has permissions

I can't upload images for my CMS pages. I get: Array ( [type] => 2 [message] => chdir(): No such file or directory (errno 2) [file] => /home/mycompany1/mycompany2/lib/Varien/Io/...
0
votes
0answers
44 views

Can't edit or upload product images on Magento 2

I'm getting the following error in the Console on Magento 2.2.3 after migration from 1.9.2.2. Uncaught TypeError: Cannot use 'in' operator to search for 'length' in The error shows when editing a ...
1
vote
0answers
30 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 ...
1
vote
0answers
107 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 ...
0
votes
0answers
271 views

Problems after patch SUPEE-10752

I recently installed Magento Patch SUPEE-10752 for Magento CE 1.9.2.4 and I am now experiencing some issues which I didn't have before the patch. First, I can no longer upload images though the admin ...