Questions tagged [image]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
334 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
61 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!
2
votes
2answers
933 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
145 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
991 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.
0
votes
1answer
270 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\...
1
vote
1answer
42 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') -...
7
votes
1answer
321 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&...
0
votes
1answer
148 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 !!!
2
votes
0answers
339 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\...
1
vote
0answers
344 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
18 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
110 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/magento ...
1
vote
1answer
65 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
44 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
1
vote
1answer
30 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, ...
1
vote
0answers
113 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
213 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
2answers
2k 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
1k 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
218 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
3answers
673 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.
2
votes
1answer
294 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' => '...
2
votes
2answers
56 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
273 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 (...
3
votes
2answers
776 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
87 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.
1
vote
0answers
273 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
25 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
37 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 ...
3
votes
0answers
45 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
904 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
55 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
397 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 ...
2
votes
3answers
2k 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(); ...
1
vote
1answer
458 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
6answers
3k 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
40 views

Product Atttribute Image

How to get attribute image in Magento2 using product object?
0
votes
0answers
776 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
53 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
421 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)...
2
votes
0answers
159 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
48 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'...
1
vote
0answers
226 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 ...
4
votes
2answers
2k 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
432 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
52 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
2answers
1k 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 ...
2
votes
0answers
69 views

Change image cache directory

Is there a way to change the directory that M2 uses as image cache to something other than /pub/media/catalog/product/cache ? I'm using Magento 2.2.3 at the moment.
0
votes
1answer
154 views

Magento Frontend Dashboard Stuck Loading

Magento 2.2.5 Attached are screenshots of the errors in Chrome dev tools: jquery.js loader.js Also: There are some images being requested that are missing from an S3 bucket that are throwing out ...

1 2
3
4 5
17