Questions tagged [gallery-image]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
19 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
0answers
30 views

Magento 2.3 base image not appearing after product import

What might be the reason? Or where should I start looking for a fix in the Magento import process? What happens? When we import product (or only images to an existing product) to CSV through import ...
0
votes
2answers
17 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 ...
0
votes
1answer
18 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 ...
0
votes
0answers
17 views

How to remove aria-described by in product vertical thumbnail for accessibility Magento 2

So when I ran chrome audit(lighthouse) it showed me [aria-*] attributes do not have valid values, it refers to this HTML element <div class="item-thumb slick-slide slick-current slick-active ...
0
votes
0answers
20 views

Magento 2.3 Where is “hide from product page” image attribute store in mysql?

I need to run a mysql statement to disable the image attribute "hide from product page" for all products. Where can I find this attribute in database?
0
votes
0answers
19 views

Product thumbnail image order issue Magento 2

I am using the amely theme and overridden the code, The images which I display on thumbnail somehow the first images come at the end. I am not able to figure out why this is happening. <div id="...
3
votes
1answer
32 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
49 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
49 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 ...
2
votes
0answers
182 views

Magento2 - fastest way to save product after several calls to addImageToMediaGallery() method

We had several issues when trying to build a catalog for a customer using native Import/Export functionality. Unfortunately it seems Magento2 has some difficult to download & process cloudfront....
1
vote
1answer
286 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 ...
1
vote
1answer
46 views

How can i remove product gallery “ fotorama__stage” class height?

I am facing issue of image height on product details page gallery. If i remove fotorama__stage class height from inspect element then its work fine. Please check below image. How can i remove ...
1
vote
0answers
41 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 ...
2
votes
0answers
245 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 ...
0
votes
0answers
73 views

magento 2 admin product image detail custom textfield value gone after dialog close

I override app\code\Magento\ProductVideo\view\adminhtml\templates\helper\gallery.phtml file following below steps. 1) Create module name app\code\Hs\Mageenhancement. 2) Create event.xml file under ...
2
votes
2answers
333 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.
1
vote
1answer
31 views

Magento media duplicates images and swap when not needed

I have come across a strange issue. Whereby, on the products page magento creates duplicate images for each image from the "More views" gallery. I have located the relevant code to the file media....
0
votes
0answers
34 views

Magento2: how can I change size popup the image used in gallery in the product page

On product page i need to change size of 'fotorama__stage' popup. is there a way how i can do it? In result i want to have smaller popup with gallery.
1
vote
1answer
57 views

Programmatically add image to media gallery in Magento2

I am looking at this article on the Gallery API in Magento2. I am testing the code samples in my browser var api = $('[data-gallery-role="gallery"]').data('gallery'); However, this returns undefined....
0
votes
2answers
265 views

How to stop magento to generate all types of images in cache on page visit

I'm using Magento 2.2.5 and when we visit listing or product page Magento creates the various sizes of images in pub/media/catalog/product/cache/ directory which I don't need except some. I have ...
0
votes
0answers
156 views

How to resize product view page image on different devices in magento 2

I'm trying to resize product view page image in mobile view. it's very small and not visible I tried resizing by adding new size in <Theme Root>/etc/view.xml and php bin/magento catalog:images:...
0
votes
0answers
13 views

Export gallery image paths in the correct order from Magento 2

I tried to export the images paths from the admin panel [system]->[export], i can see all the images in [base_images] column and [additional_images] column. however, the paths in [additional_images] ...
0
votes
0answers
50 views

How to disable catalog image scrolling in details page magento 2.3

Actually in my case for details page base images scrolling is available with mouse.we can scroll it but by looking wise it wont show slider is available there. so i want to disable image ...
1
vote
1answer
41 views

How to restrict allowed catalog image extensions?

I created a module that overrides ImageUploader like so: <preference for="Magento\Catalog\Model\ImageUploader" type="MyCompany\MyModule\Model\Catalog\ImageUploader" /> The code looks ...
0
votes
0answers
37 views

Show media image that is NOT base, small_image or thumb ? on product view page

Steps to reproduce : 1) go to admin, create a product and add two images and set roles as a) base image b) small image or thumbnail 2) now go to product page in frontend , reload the url. you can ...
0
votes
1answer
21 views

Magento 2 Gallery Images HTML

I am trying to find where in the template files I can add microdata to my products gallery images, but struggling to find the template/file that actually outputs the HTML img tags. I am actually ...
0
votes
1answer
59 views

magento 2: Product Page gallery.js issue

On product page the below console error showing i just set fullscreen=false gallery.phtml <script type="text/x-magento-init"> { "[data-gallery-role=gallery-placeholder]": { ...
0
votes
0answers
21 views

After Migrating my site magento1 to magento2 On product detail page images display wrong

After migrating My site magento1 to magento2 on product detail page images display with watermark. How can i display original small images? Original image:(magento1) Magento2 images after migration:...
1
vote
0answers
178 views

Magento 2.2.6, Configurable Products: Blank Image-Area after deselecting “visual swatch” on product-page

Preconditions 1. Update from Magento 2.2.4 to 2.2.6 Steps to reproduce 1. Add Product in the Backend 2. Create Configurations 4. Use Attributes with the input type "Visual Swatch" 3. Save Product 4....
0
votes
0answers
11 views

Image gallery sort order across multiple store fronts

I have multiple storeviews, and for each view I set to use the defaults on the images tab. However, whilst each view has the correct images, the sort order is incorrect. ie: it follows the sort order ...
0
votes
1answer
131 views

Pinit Button is not working in IE11 in magento 2

I have added pinit save button using following guide Pinit Widget builder in product detail page in gallery widget. I have added pinit.js at the end of app/code/Vendor/Module/view/frontend/templates/...
1
vote
0answers
10 views

Magento 2, How copy and resize image of category atfer upload

Using Magento 2, Admin, Catalog-Category. I would like make an image which copy and resize after upload category image. Example: I upload image name : rest04.jpg magento will genterate : /pub/media/...
0
votes
2answers
2k 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
900 views

How to Display 5 images by default in magento 2 product gallery vertical

I need to show by default 5 images in magento prduct page gallery. I change the view of gallery is from vertical to horizontal. I need to know that which js file i have to modify for display default 5 ...
1
vote
0answers
11 views

VERY small Png image not showing in frontend?

I have looked for an answer with no sucess. In my 1.7.0.2 Magento I can upload a QR code png image, dimensions 164 x 164, size 400 bytes, it shows fine in the admin area, but will not display in ...
0
votes
0answers
32 views

performance considerations for re-sizing product images

I've been tasked with resizing the product images used on an old Magento 1 website for 400px*400px  to  600px*600px. In their custom theme they are adding the image with... <img src="&...
2
votes
1answer
260 views

Magento 2 : How reduce size of fotoroma gallery icons on product detail page

I would like to reduce size of following icons appearing on detail page, enabled native fotoroma widget. 1. Fotoroma plus icon and minus icon 2. Fotoroma close icon <var name="magnifier"> ...
1
vote
1answer
292 views

Magento2 remove slider of gallery images on product detail page

I'm using Magento2.2.5 Version, On product detail page by default gallery images showing in the slider. Here is the screenshot for the same:- http://nimb.ws/YrIb2P But I want to show, gallery ...
1
vote
1answer
301 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?
2
votes
0answers
40 views

Magento 2.2.2 product images are not loading on product page

I am using Magento 2.2.2 in which product images loading on all other pages except product page. After solved bootstrap error
0
votes
1answer
478 views

Magento 2 Bundle product options images

I am trying to make a couple of things working with bundle products. But i cant seem to get it working properly. Also i cant seem to find the correct module that does this with bundle products. What ...
2
votes
1answer
17 views

Product Image Uploader to Preview Product M2.2.2

My goal is to have the same functionality as the "Image and Video" uploader to preview my products in a block I created. As of right now, this is what my module looks like. If you need any more ...
0
votes
1answer
450 views

Load all gallery images in category on hover (Ajax)

I have a code to load all the gallery images of a product in category, it will work but the problem is that will load ALL gallery images for products in the category (list.phtml) so will increase ...
0
votes
1answer
95 views

Magento 2 : get full file path of full size image currently assigned to product

I want to get the full file path of the full-size image currently assigned to a product so as to rename and upload it again, any help would be appreciated.
1
vote
0answers
65 views

How to disable the draggable image feature from product add/edit in admin area magento 2

I am trying to disable the draggable feature so I can keep the position as it is. Also trying to implement the position input into img-dialog-tmpl but it not saving the values. disabled the draggable ...
0
votes
1answer
595 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 ...
1
vote
1answer
932 views

How to display product image slider's arrow if image count is greater than 4?

I want to display arrow if image count is greater than 4. In view.xml <var name="navarrows">false</var> I changed from true to false. Now arrow is not displayed but I want arrow if ...
0
votes
1answer
48 views

Image attributes in Magento 2

I have created a custom image attribute and I can get this to appear as a Role option. The problem is roles can only be assigned to a single image and I need an attribute that I can assign to ...
0
votes
1answer
714 views

How to save product gallery image with param image is url, in Magento-2?

In Magento 2, I have created an extension, syncs products with another store. I have the data image_url which is in the following format , ["images" => ["0" => "http://image_url.jng", "1" =>...