Skip to main content

Questions tagged [image]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
56 views

Magento 2.4.7 When uploading a GIF image of a product, it is converted into PNG format

Product GIF image uploads in Magento 2.4.6 but not working in Magento 2.4.7 Error Screenshot: https://i.imgur.com/1qWandr.png
Magecomp Product Team's user avatar
0 votes
0 answers
12 views

How to add link in Slider image using page builder in magento 2 cloud edition

The Slider images were created using page builder and it displayed properly. How to add a redirect url, when clicking the slider image (when clicking the slider image, that url should be redirected to ...
JAYASHREE N's user avatar
0 votes
0 answers
23 views

Bundle products like this page

I have a magento 2.4 installation and I'm looking for a products bundle page like the one in cremelondon, https://cremelondon.com/tools/bundle-builder/9zWm/new. there the customer have to select 6 ...
spnova05's user avatar
0 votes
3 answers
44 views

How to change upsell image size in Magento 2?

I'm trying to change the size of the images of the upsell products shown on the product page, but can't figure out how to do it.'
dulce's user avatar
  • 1
0 votes
0 answers
12 views

Associated Products Missing in STEP 4: Summary page in Explorer, but are visible in Chrome

I have used Explorer for years to load items, then load assets including images based on Color attributes. Upon reaching Step 4: Summary page, I have a view of all children, including those that ...
MMiller's user avatar
0 votes
0 answers
34 views

Magento 2.4.6 GraphicsMagick Image support error

I have a magento 2.4.6-p3 instance with php8.2 I have installed superdav42 / magento-image-quality for support of GraphicsMagick Image processing. I am having this is issue when trying to print PDF ...
G. G.'s user avatar
  • 1,191
0 votes
2 answers
43 views

Magento2: How to export product SKUs along with their respective image URLs

I use magento on a basic level for my work. I was wondering if there is a way to export all the data onto a spreadsheet, including data from all the products on the site, especially the product codes, ...
Marketing5555's user avatar
2 votes
2 answers
53 views

wysiwyg image path is {{media url=wysiwyg/eye-tracking-study-by-eyequant.jpg}} but image not found error in console magento 2

WYSIWYG image upload from custom module but not sow in frontend .phtml file showing [src="{{media url=wysiwyg/gutenberg-diagram_1.jpg}}" ] like this but image not found and image not show ...
Umang Bambhaniya's user avatar
0 votes
0 answers
12 views

How to save create og image from featured image in wordpress

I have to create og image url from featured image because along with featured image i have to send text from post title. i have created custom field in editor named as tnation_og_image and i have to ...
Tisha Jhanwar's user avatar
1 vote
0 answers
17 views

Image Not Shown Unless Added & Deleted First

I've been working on a module that adds Configurable Child Products to Cart at the Simple Product they are. This all works fine. The part of the module I'm working on now is to get the Child Product ...
Chris Oliver's user avatar
0 votes
0 answers
38 views

Change the order of the images

Does anyone know if it is possible to change the order of the images already imported through a CSV template? Example this is the loaded order I want to alternate it by this order I appreciate the ...
Erick Vernaza's user avatar
0 votes
1 answer
31 views

get Image thumbnail Resize in custom Class magento 2

I am getting my images in the array. I need to check the if image in the array is empty then it should be replaced with the thumbnail image. Here is my code : if (is_null($imageData->getData('...
Rana Zain's user avatar
  • 676
0 votes
1 answer
185 views

Getting CORS Error for Image in PWA

I am facing a CORS issue while fetching image in PWA Studio..Image works fine in magento root but while fetching with same URL in pwa it is giving cors error in console.. The Code of the page is below:...
MihirBangia's user avatar
0 votes
0 answers
17 views

How to allow "cyrillic" characters in new Media Gallery (description for images, tags)

Just today I found out that Magento 2.4.4 have a new "Media Gallery" allowing to add a description (alt text) for images and tags.I want to benefit from it to add "alt text" to ...
rt89's user avatar
  • 11
0 votes
0 answers
18 views

Dynamic banners not loading after cache clear

Can some one please help me here. I cleared the Product images cache as many images were incorrect. I'm unable to recall the cache. The main dynamic banners on the homepage are not loading. I ran the ...
Sushma Varadaraj's user avatar
1 vote
1 answer
94 views

Porto theme - Magento2 - Product page - Image position

Check this image: This is my product details page. Image on the left is moving up with scrolling. I don't want it to move up. I want too always be fixed on the right as long there is a text on the ...
XraySensei's user avatar
0 votes
1 answer
161 views

Ratio of images changed after update

After updating from Magento 2.3.5 to Magento 2.4.5-p1, I noticed that the aspect ratio of 1 image of 1 specific productpage has been changed. The rendered size, rendered aspect ratio, intrinsic size ...
JanosDjango's user avatar
1 vote
1 answer
128 views

Magento 2.4: How to show scaled images in a product list or grid?

I have 300x300 image size for "Small" images, which shown in product list and grid views. The issue is that my goods contain text and it barely visible on optimized 300x300 pictures. ...
DeniDoman's user avatar
1 vote
0 answers
162 views

magento2 image add in pdf how to? this code not working for me

$post = $this->getRequest()->getParam('sku'); $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $helperImport = $objectManager->get('\Magento\Catalog\Helper\Image'); $...
milan's user avatar
  • 21
2 votes
3 answers
1k views

How to add <picture> around the fotorama__img on the productpage - Magento 2.4

We would like to add a <picture> </picture> element around the main image with class fotorama__img on the productpage. How can we achieve that?
JGeer's user avatar
  • 1,420
0 votes
1 answer
48 views

Images in content from another url doesnt appear on frontend

Images with another url than our own: https://takoda.shop Doesn't appear on frontend but broken. While images from our own url does appear. Can't find a solution for this, anybody knows? See here: ...
Alain Stout's user avatar
0 votes
0 answers
118 views

Capture image button for mobile and laptop device: M2

How can i take (Capture) image from camera for laptop and mobile devices? this navigator.mediaDevices.getUserMedia isn't working in magento2. Note: This (capture.html) simple html is also not working ...
Jimit Bhavsar's user avatar
0 votes
1 answer
30 views

How to change an image used in template for magento 2.2.6

My template includes a background image on the front page that's unnecessarily huge. I've created a resized, tinyfied version of the same image but I can't figure out how to change it. Can anyone help?...
Bella's user avatar
  • 51
0 votes
1 answer
426 views

How to get absolute path of default place holder image in magento 2

How to get the absolute path of the default placeholder image of the products in Magento 2 I used the below code $imagePath = $this->imageHelper->getDefaultPlaceholderUrl('image'); but it is ...
Jaisa's user avatar
  • 2,626
0 votes
1 answer
819 views

Set programmatically image roles

I have that in my backoffice : and I need that: This solution does not work for me : if($key == 1){ $prod->addImageToMediaGallery($imgPath, array('image', 'small_image','thumbnail'), ...
idIA Tech's user avatar
1 vote
1 answer
59 views

Add image attachment on already existed default shipping email magento 2.4

I am trying to add the image as an attachment along with the shipping email when a customer is notified like this $this->_shipmentNotifier->notify($orderShipment); can anyone have any ...
Asad Ullah's user avatar
  • 1,461
0 votes
1 answer
24 views

Darken the arrows below the magnified image

Here's a screen shot from the bottom of a product page, magnified image, in Shopify. Please zoom in the image. Notice that the < X > is very faint. Sometimes on some pages, they're almost ...
CodeForGood's user avatar
0 votes
1 answer
207 views

Configure button to remove image from imageUploader

Good morning, could someone help me configure the button to delete image from the imageUploader field, the image uploads it without problem, but when I press the delete button, the entry is clean, but ...
GStiven's user avatar
  • 41
0 votes
2 answers
667 views

How to add picture tag in fotorama.js to load webp image in Magento 2

How to add picture tag in fororama.js to display the webP image. Generally we wants to give control to browser to load the webp image based on the versions. Please suggest if incase any alternate. ...
Shanmugam's user avatar
0 votes
1 answer
374 views

Premium image gallery that support WebP

Which Premium Image gallery supports WebP format for Magento 2. Or how to find does my gallery supports WebP format. And when I say support I mean no conversion. I just want to know will the extension,...
Stefy's user avatar
  • 1
0 votes
1 answer
30 views

why not save into folder magento 2

Save in DB but not in folder if ((isset($_FILES['featured_image']['name'])) && ($_FILES['featured_image']['name'] != '') && (!isset($data['featured_image']['delete']))) { ...
NoOn's user avatar
  • 65
0 votes
1 answer
1k views

How to remove cache images if they not in used in magento 2?

i need to create new script if the image not present in real folder and not in used than delete from cache folder example Cach folder image pub/media/catalog/product/cache/...
Jay Parmar's user avatar
0 votes
2 answers
461 views

Remove main product image from child products of configurable products from product details page in magento 2

Why Magento2 is showing the Main products(Configured products) image in child product while choosing the option from the products details page. I don't want to show the main product image in the child ...
Shreyas Vispute's user avatar
0 votes
2 answers
165 views

magento 2.3.5 image cache being auto generated

Images inside cache folder are being auto generated I've truncate 3 specific folder that I know we don't need it after while checking again it has generated all over again when there hasn't been image ...
Juliano Vargas's user avatar
0 votes
1 answer
740 views

Magento 2 : How to save jpg image in var/custom folder?

How to save my image in var folder ? Now I have code in controller file.
Darshit Parmar's user avatar
2 votes
1 answer
581 views

Magento 2 : How to display cms_page custom attribute image in frontend?

After save image is store in pub/media/cms/page/attribute/my_image. And save image name in database cms_page table my custom column. So how to display image in frontend ? Backend image Fronted Image :...
Darshit Parmar's user avatar
0 votes
1 answer
569 views

Magento 2 file upload error

I have upload customer image using ajax.I have upload images jpg,png,jpeg etc extension is working fine.But i have upload pdf extension showing below error Notice: Trying to access array offset on ...
Mohit Patel's user avatar
  • 3,923
0 votes
1 answer
1k views

Remove loader from product view page

Magento 2 adding page loading in product view page like this below in body tag <body data-container="body" data-mage-init="{&quot;loaderAjax&quot;: {}, &quot;loader&...
Ramesh KR's user avatar
  • 876
0 votes
1 answer
181 views

Magento 1.9.2.4 : Product Images and browse and Upload button Missing

I am using Magento ver. 1.9.2.4, I have tried all solution available on different threads but unable to get "Browse Button" and "Upload Button" in product image tab. I have tried ...
Muhammad Ajmal's user avatar
0 votes
2 answers
3k views

Changing Magento 2 Page Builder Images to use <picture> and srcset

I am trying to change the magento2 page builder image to include picture and source set tag. I made a module app/code/[Vendor]/PageBuilder/view/adminhtml/web/template/content-type/image/full-width/...
Jason Kollias's user avatar
0 votes
1 answer
243 views

Magento 2 preference not working for Magento\Customer\Model\Metadata\Form\File

I want to create preference for this file Magento\Customer\Model\Metadata\Form\File but its not working so please give some solution for this problem how to solve it di.xml code
Amruta's user avatar
  • 3
1 vote
0 answers
104 views

How to get Image id by image path?

Beginner at magento 2 and i want to know how can i get the image id using the image path "/3/4/341467-1_1.jpg", how can i do this programmatically? any help is apreciated.
Rafael Fagundes's user avatar
1 vote
0 answers
123 views

How to add images in js

How to include images in js, My code : if (firstStore.address && firstStore.state && firstStore.zip && firstStore.store_hours_weekdays && firstStore....
zus's user avatar
  • 175
0 votes
1 answer
24 views

Image is not loaded in product detailed page only magento 2.3

I have added the image in admin panel backend image show homepage,category page show but product detailed page image is not shown certain url link.i have shared. URL:https://sarikart.com/3003maroon-...
maharajikr Kr's user avatar
0 votes
2 answers
188 views

Image url adding some of the pagespeed codes

I have not loaded for any scripts but automatically added the pagespeed in image url adding some of the webp image format. so how to rectify the error and images are not show. xxx.com/pub/media/logo/...
maharajikr Kr's user avatar
1 vote
0 answers
372 views

After Magento 2.3 to 2.4 upgrade Category page not loading in frontend

Magento 2.4 upgraded successfully. All are working in admin and storefront but only problem with category page showing error " Error: Call to a member function getUrl() on null in /home/mydomain....
tech clouds's user avatar
0 votes
1 answer
646 views

WYSIWYG Editor media url not working in magento 2.4.0

Add this code WYSIWYG Editor <p><img src="{{media url="wysiwyg/menu/test.jpg"}}" alt=""></p> but it's not working in magento 2.4.0
Ravindrasinh Zala's user avatar
0 votes
0 answers
119 views

display image admin ui magento 2.3.1

I have an issue with display image from admin UI component in magento 2.3.1.Who is solution help me ! Here is my source: <?php namespace Booking\Hotel\Ui\Component\Listing\Column; use ...
Conal's user avatar
  • 1
0 votes
1 answer
188 views

Images not showing on configurable products

I have all of the needed attributes in the attribute set, but none of the images are showing on configurable products. They're visible on the backend, and I see them when I add the images to the cart, ...
web master's user avatar
0 votes
2 answers
1k views

How to change only a specific image size in magento 2?

I have changed the below section of my custom themes' view.xml <image id="product_page_main_image_default" type="image"> <width>1200</width> <height>...
Mujahidh's user avatar
  • 2,813

1
2 3 4 5
18