Stack Exchange Network

Stack Exchange network consists of 175 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.

2
votes
0answers
16 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
39 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 ...
0
votes
0answers
16 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
8 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 ...
0
votes
0answers
13 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
17 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
1answer
14 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
10 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
0
votes
0answers
31 views

Customize Image Tag

I am new to Magento. Currently, my site running on Magento 1.9.2.4. I need to integrate image CDN piio. For which I need to change img tag attributes. My current attributes are img src="/image/...
1
vote
1answer
23 views

Via block get custom type image or display default

I want to display my new product image type in my phtml. I use : echo $block->getImage($product, "custom_type_image")->toHtml() That work, but all my product didn't have an image with this type, ...
0
votes
0answers
11 views

How to gracefully handle image exceptions?

So I am having the same issue as what is talked about here. The images that are throwing the exception are broken, and I'm working on replacing them, but until I get them all replaced is there a way ...
1
vote
0answers
17 views

How to make left/right arrow appear only when hovering Magento 2 base image in gallery

I want to remove left and right arrow when first accessing the product page. By default it was set to appear even when not hovering base image in image gallery. Since it has that overlay effect around ...
0
votes
0answers
15 views

How to keep product catalog images the same size Magento 2

Having an issue with the image size in our product catalog pages, we are getting images in from feeds, but the vertically aligned images are coming out way bigger than they should be, as is shown in ...
0
votes
0answers
35 views

How to create custom module after installing Magento 2 Docker Image?

I have installed Magento docker Image and frontend, backend is working fine. The directory structure of Magento docker Image installed is: Now I am looking how to start my first module. I have these ...
1
vote
1answer
39 views

Magento 2 Change Minicart Product Image from thumbnail to regular image

After editing the minicart for a couple of days now i've noticed that the images are smaller versions of the images that you would see on the product pages. This means as i'm upscaling them to fit a ...
0
votes
1answer
40 views

Magento 2 How can I stop Google to index my product image and details?

I have b2b and b2c websites in my magento2 project. Is there a want to stop Google to index my product images and details in b2b website, I don't need SEO on b2b. How can I achieve this?
2
votes
1answer
68 views

Disable flush image cache button in the backend in magento2

Go to Admin > System > Cache Management I want to disable flush image cache button in backend given Which is highlighted in bellow image for security purpose. Can anyone give me solution. Thanks.
1
vote
2answers
66 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.
0
votes
0answers
23 views

Magento 2 get third product image for related products

Related products are now showing the default image, How can I change it so that the 3rd image is displayed for every item in the related section? I have looked at $_product->getMediaGalleryImages()...
2
votes
1answer
61 views

Display custom image in admin edit form magento 2

How do i display custom image only in admin edit form .. But dont want choose file button code: $fieldset->addField( 'file_path','image', [ 'name' => '...
0
votes
0answers
9 views

php7 update does not let me upar image in magento

after I did the php update for 7, and I changed the codes as in the article> How can solve error Magento 1.xx on PHP 7? -7 / 105604 # 105604 <, but in the last topic where the part of the checkout ...
2
votes
2answers
35 views

How to add Product image attribute in Magento2.2.5?

I have created Product image attribute in Backend in Magento2.2.5. Refer my screenshot But I am not able to see in Product detail page in Admin side. Is there any other way to do this or I am ...
2
votes
1answer
77 views

Magento 1.9.0. getimagesize(): Read error!

Does anybody know: 2019-02-21T19:45:40+00:00 ERR (3): Notice: getimagesize(): Read error! in /pub/app/code/core/Mage/Catalog/Model/Product/Image.php on line 221 2019-02-21T19:45:40+00:00 ERR (...
2
votes
0answers
71 views

Image slider for pwa studio

I have just started playing around with Magento 2 pwa studio. Now i need to add an image slider which I want to show in my pwa homepage. How i can add slider on pwa venia homepage any suggestions ?
1
vote
1answer
25 views

How apply Discount Sticker(Label,image) on Selected Product or Category

I want to this type of the image as a sticker on Product left or Right upper corner. Has any extension or anything else.
0
votes
0answers
24 views

Issue with “Insert Image” or “Insert Link” in WYSIWYG editor on catalog product pages

I have tried to add the image on product description, but its placed on the short description field ( Magento 2.7) Steps to reproduce 1.Go to catalog product and Click "Add Product" 2.Go to "...
1
vote
0answers
106 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 ...
1
vote
0answers
14 views

Changing image position using magmi

We use magmi to import images and other product details. We have a requirement right now where we need to upload a new image at position 1 for a lot of products. How can I achieve this using magmi?
1
vote
0answers
24 views

Disable image cdn stuck

I am having an issue with my Magento site and any assistance would be greatly appreciated. I recently migrated my Magento (1.4.1.1) site from Rackspace to a private server. The site was configured to ...
2
votes
0answers
31 views

Magento 2 I have added the custom field in the product attributes field but that not get save value at edit time in product attributes form

I have add the custom text field at the stores->attributes>product in form field that save into database but when i return edit that attributes that value not set at the edit times. Here is the ...
1
vote
1answer
171 views

Magento 2.3.0 WYSIWYG editor's image not loading on frontend

we have created some category's custom attribute of WYSIWYG editor type. While we are adding image in these custom attribute's editor, they are showing/loading fine in admin section but while we are ...
0
votes
0answers
18 views

Upload image in contact form

Can we add an option to attach files/images to form submission? This is so that customers can attach photos of any faulty items. Please help me
0
votes
3answers
88 views

ImageOptimizer - jpegtran is not executable

I installed the extension ImageOptimizer. I noticed that it is not working, progress is still at 0% so I activated error logging in the extension and get this: jpegtran is not executable. I ...
1
vote
2answers
342 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(); ...
0
votes
0answers
17 views

How to organise images when importing cvs into my own structure

in the docs of magento2 Method 1: Import Images from the Local Server On the Magento server, upload the image files to the pub/media/import folder. This is the default folder for importing product ...
1
vote
1answer
109 views

Magento 2 - how to upload an image from admin CRUD

I'm new to Magento, created a simple CRUD module, which have a name, description and logo columns, Name and description are saving to the DB without any problems, but I need help on how to upload an ...
1
vote
4answers
171 views

Magento unable to add webp images to category thubmnail

I want to add webp images to category thumbnail, how can we do this, it gives below error on adding webp images "File validation failed."
1
vote
2answers
21 views

Product Atttribute Image

How to get attribute image in Magento2 using product object?
0
votes
0answers
17 views

how to hide storage root while uploading image using wysiwyg

im totaly noob and new to magento 2 and im wondering if you can help me , while im trying to upload an image from html editor tinymice i dont want the other admin to see the root storge and all the ...
0
votes
0answers
153 views

How to fix low quality of product image? [2.3]

I'm using 2.3 When i upload product image will be blur on frontend. But backend is clearly. How to fix low quality of product image on frontend? Thank you! <?xml version="1.0"?> <!-- /*...
0
votes
1answer
22 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 ...
1
vote
1answer
128 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
0answers
31 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 ?
2
votes
0answers
73 views

Magento 2.3.0 unable to insert images in tinymce content

I notice that I couldn't insert images when adding products in tinymce content part. When I click on Insert Image button, I saw error as image below I granted access to /media directory 777. I ...
0
votes
1answer
37 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'...
4
votes
2answers
372 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
131 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
31 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
18 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
2answers
821 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 ...