Questions tagged [gallery-image]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Product View sort Images on gallery Magento 2.3.5

Im using fotorama vertical gallery widget gallery.phtml <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ // @codingStandardsIgnoreFile /** ...
0
votes
0answers
19 views

Change Bundle Product images based on option selection - Magento 2

I'm looking for some custom solution for Bundle Products. Where Product Gallery Images will populate according to the selection of the Bundle product Options Our requirement: On Products Detail page (...
0
votes
5answers
2k views

Images Import Successfully But Images Not shown - Import By Magmi?

How can I solve the error, images import successfully and images saved into catalog/product/desired folder, but images not shown front end backend. Images imported by using MAGMI.
3
votes
2answers
2k views

TypeError: settings.$elementF.fotorama is not a function

I am facing issue of TypeError: settings.$elementF.fotorama is not a function sometime on product details page. This question is duplicate of : Adding to cart breaks fotorama on page reload , Magento ...
2
votes
2answers
2k views

How to change max-width in the product gallery in Magento 2

How to change max-width in the product gallery in Magento 2 by using below code. <div class="fotorama__stage__shaft fotorama__grab" tabindex="0" data-gallery-role="stage-shaft" style="width: 684px;...
0
votes
1answer
28 views

Magento 2.4.1: Zoom_in and Zoom_out button is not working inside product popup image on product details page

I am facing issue with image zoom_in and zoom_out functionality inside product image popup on product details page, I am also including screenshot for better under standing Please help and how can I ...
0
votes
1answer
11 views

Where are media attributes/roles stored?

I was browsing through the DB, trying to find out where the media attributes of product-media-gallery-items are stored. For clarification: They are called "Roles" in the Admin-Frontend and &...
0
votes
2answers
1k views

Get all gallery images

I'm trying to pull through the gallery images on the product page because customizing the gallery with code: <?php $_product = $block->getProduct(); ?> <?php $gallery = $_product->...
0
votes
0answers
15 views

Resizing Zoomed image on Product Page

I am needing to resize (reduce) the zoomed product page image. After clicking on the image and the popup image opens, it fills the whole page. I need to reduce the size to where it is not so large, ...
0
votes
2answers
33 views

Limit Thumbnail Images on Product View Page

I am using Magento 2.4.1, I have added more than 3 images in the product but in the thumbnail, it only shows 3 thumbnails. However, on clicking the Previous and Next buttons I am able to see all ...
0
votes
0answers
23 views

Assigning Thumbnails via Magento REST API

I am trying to add thumbnail images to SKUs via REST API. However, the image is added but does not show as a thumbnail. Please see my POST request below https://url.co.uk/rest/V1/products/231877/media ...
32
votes
3answers
61k views

How can I change the default product images sizes on Magento 2?

In magento 1.x.x, we could change default thumbnail images in admin : System > Configuration > Catalog But in magento 2.0, how can I change theses value I can not seem to find any configs to allow ...
1
vote
1answer
153 views

magento 2 Uncaught TypeError: Cannot read property 'data' of undefined [closed]

Magento 2.3.5 getting error on the product detail page of configurable product - Getting this error - Uncaught TypeError: Cannot read property 'data' of undefined at Object.returnCurrentImages (...
0
votes
0answers
13 views

How to show a higher quality image in Magento2 Gallery Fullscreen

I want to load the product_page_main_image (which is larger) rather than the product_page_image_medium when you click the Fotorama Gallery. This will give me a higher quality image because it's ...
1
vote
2answers
2k views

Magento 2 Product base image and thumbnail images are not showing!

Product images are not showing on product detailed page. Small images are showing on listing page but base images and thumbnail images are not showing on the product page. I have given 777 ...
0
votes
0answers
51 views

Magento 2.4.1 Exception #0 (ReflectionException): Class media_image does not exist

I have migrated the website from Magento 2.1.0 version to the Magento 2.4.2 version. When I open the product edit section then I got the following errors: Exception #0 (ReflectionException): Class ...
0
votes
1answer
14 views

Magento 2: changes made on one store must be apply to default store too

When you edit a product on the All Store View scope it applies the changes to all the stores. I want the reverse of it like if I made changes to a different store then that change must be applied to ...
0
votes
0answers
31 views

How to show all images on product page M2

I'm trying to show all images on the product page like this but I still need to keep the zoom functionality and carousel for mobile. Is this possible whilst using fotorama?
1
vote
1answer
331 views

Magento2 - What is the best way to remove and add an image in magento using rest API?

For an SKU, I have multiple images. Every time I change something related to the SKU, I do a PUT. But before that I also DELETE the images using in a loop https://<magentoInstance>/rest/all/V1/...
0
votes
0answers
21 views

view.xml Fotorama gallery thumbnail sizes @2x?

I just want to increase the size of the gallery thumbnail images, but then set their display size smaller via css to achieve high resolution display. (The default display is 1x which is noticeably ...
0
votes
0answers
25 views

Hide Alt Text Image Gallery

In Magento 2.3.6 how can I hide Alt Text of the first image in fotorama image gallery? I saw there is a setting for hiding caption trough /etc/view.xml but it applies on all images, I want to hide the ...
0
votes
1answer
28 views

How I can add Gallery Images for custom form in Magento 2

I am creating a Custom form in admin of magento 2,and I want to add media gallery for same product form(Images and video Tab https://prnt.sc/w926fk ) into this form https://prnt.sc/w928bi please help ...
0
votes
1answer
1k views

SQL export of products and associated image gallery files

I need to list all product entity_id, SKU and associated images from the value field of catalog_product_entity_media_gallery. I need the output to be CSV based, so all images of each product will be ...
0
votes
0answers
17 views

product details page still have product gallery issue image are not showing sometime in magento 2.4

Now i added image back-end but still have product gallery issue image are not showing sometime in product details page magento 2.4
0
votes
1answer
44 views

Magento 2 - How to resize image using image's url?

How is the right way of resizing images in Magento 2. $image->getData('url'); I have the url of the image, how to resize it using the url? Is there an API / helper that does that?
12
votes
2answers
13k views

How can we load product image gallery instantly without the delay in magento?

this is my first question bare with me :) Problem: The fotorama gallery used in Magento 2 makes the user experience sluggish. It does not matter how fast my cached static Magento 2 runs if the product ...
0
votes
0answers
28 views

Magento 2 center align product view page image

I have resized all images but still I can't vertically center align the images in product view page. Please take a look at the image. I now we can achieve it using css but I'm willing to know is there ...
0
votes
0answers
11 views

Fancybox include a View Product Button

I am using the Land Of Coder Image gallery extension and when I click on an image, it opens a larger version of the image which is what we want. However, I also want to add a button to the bottom ...
0
votes
0answers
10 views

Change first product image that is displayed on product page - Magento 2.3.5

How can we change the product image that is displayed first when the productpage is loaded? At the moment this is the first image in line, but we want to change this to be the "base" image. ...
0
votes
0answers
57 views

Magento 2 - add data attributes on product page to main img

I need to add few data attributes to main image on product page (using Magento 2.3). I tried following code in block, which I added to product page. But it is not working. Alert outputs code, but data ...
0
votes
1answer
69 views

when hovering on images only show arrow Magento 2

I want to show only left/right arrow appear only when hovering the image.
0
votes
1answer
39 views

Magento 2.3.5-p - Show product page > product image alt and title tag (replaced fotorama gallery)

I'm using the following code to replace the fotorama image gallery on the product page based on this article. app\design\frontend\Mypackage\mytheme\Magento_Catalog\templates\product\view\gallery....
0
votes
3answers
7k views

Magento 2 : How to override fotorama.js in magento custom theme

I need to show gallery arrow always visible on product gallery page. I tried in gallery.phtml variable arrows="always", but its not working. I want to show both arrow always visible on product ...
0
votes
2answers
178 views

Image cache is not generated properly when importing new products - Magento 2.3.4

I have recently imported 200 products, the import went well and the images do show up on the back-end correctly, however there is no cached version available. If I look at the category page and image ...
0
votes
1answer
30 views

Magento_Catalog Custom Gallery customization event

What event do I have to listen for in Javascript to detect that the user has changed the customization in a customizable product? I am working on a custom gallery for my product page, but i am ...
0
votes
0answers
192 views

mobile view image quality as blurry in product list and details page magento 2.2.4

Image quality blurry issue in mobile view product list/details page. magento ver is 2.2.4. I found the reason for this issue. Having 2 MB image file and product uploaded in admin side. Then i can see ...
0
votes
1answer
96 views

I want to get images form product gallery of a product and display them one by one in Product detail page

This is the gallery.phtml code which is displaying main thumbnail image only <?php $images = $block->getGalleryImages()->getItems(); $mainImage = current(array_filter($images, function (...
0
votes
0answers
30 views

How to disable fotoroma fullscreen image gallery?

I want to disable fotoroma fullscreen image and I did that by disabling the fullscreen in view.xml in the theme but it doesn't make any effect. Any help is appreciated.
0
votes
1answer
39 views

magento 2 product page gallery images not showing

I am facing issue with gallery images I have images in backend but not showing in front-end product page gallery slider I have checked there is no error in the console.
0
votes
0answers
56 views

Magento 2 Fotoroma Gallery last Image display in first position when image are greater than 7

I am setting product gallery image and trying to upload more than 10 image as thumbnail image but when I am uploading thumbnail images more than seven last image comes at first place.While last image ...
2
votes
3answers
5k views

Magento 2 : How to make product image zoom on mouse over

I want to zoom product gallery image on mouse over in magento 2. How to do that. Thanks.
2
votes
0answers
18 views

What renders the gallery images? Gallery returns thumbnail versions

I'm currently making a M2 site and I'm fairly new to the platform. I'm trying to make it so that people can customize their product. I found this extension: https://github.com/develodesign/magento2-...
1
vote
1answer
539 views

magento 2 Remove product specific image programmatically not all the gallery images?

I am updating the product from the frontend and I want to only remove specific images which client is deleted not all the images. Is there any method available ? help will be appreciated.
0
votes
2answers
718 views

move left product gallery on product page

How to move the slider to the left of the main picture?
0
votes
2answers
28 views

product image getting bigger as the gallery image number increases magento 2 and vise versa after adding bootstrap css (cdn)

product image getting bigger as the gallery image number increases magento 2 and vise Versa after adding bootstrap css (cdn) How to make the product image load in big size no matter what number is the ...
1
vote
0answers
23 views

Make the same multiple tab work separately in form Magento 2

$fieldset->addField('media_gallery', 'note', [ 'label' => '', 'title' => __('Media Gallery'), 'name' => 'media_gallery', // '...
0
votes
1answer
50 views

Magento 1.9 - Product image resolution issue

We are facing an issue while trying to upload product images. The PNG format images looks fine like original image color/ resolution but JPG format images not looks good like the original image. JPG ...
3
votes
1answer
137 views

Magento 2 override /lib html file [duplicate]

I am trying to override an html file in the lib folder, but I cant get it to work. Here is what I have so far: Path to file I want to override: /lib/web/mage/gallery/gallery.html Path to file I want ...
0
votes
1answer
446 views

Gallery images returns 0 images for product page Magento 2

For one product I am getting gallery images 0. in gallery.phtml <?php $galleryImages = $block->getGalleryImages(); ?> gives me count 0. I checked it database table ...
2
votes
2answers
93 views

Product Gallery Image Upload Issue in Magento 2.1.4

While uploading an image to the product gallery in magento backend product edit, I am getting the below error. "We Dont Recognize or Support this File Extension type" For all extension types i am ...