-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.1.2 - Product page gallery image not visible until swipe or zoom on IOS #7357
Comments
Thanks for reporting, internal ticket MAGETWO-60948 |
Also having this problem, doesn't seem to matter what browser is being used on iOS (Safari, Chome, etc.). |
Hello!
You can fix this problem with additional checking
With best regards! |
@Hawok This doesn't seem to fix the issue, unfortunately. Added the code, cleared static content and redeployed, but with no luck. |
@Hawok Unfortunately it didn't fix my issue. It still exists. I checked on a vanilla 2.1.2 using Vagrant and the same issue is visible there. It happens in a Safari browser on a MacOS Sierra, but also on an iPhone 6 and a iPad (all Safari) I have the same issue. Also notice the fact that the navigator below the image is activated on the actual first image, but the slider shows the second one. It works great on Chrome (same Sierra) and on Android. (note: the gif shows the loading part, then suddenly the image slides to the next and then stops) |
@Tristan-N i'd raise this Also notice the fact that the navigator below the image is activated on the actual first image, but the slider shows the second one. As a seperate issue. doubt it will be picked up here. |
@sam-g-roberts I'm not sure about that, because the images which is active in the navigator is the actual image that should be displayed in the slider above it. In this gif, nothing is clicked or so what causes the slider to move to the second image. The navigation stays with the right picture, but the slider automatically slides to the second one. My point is that the navigation works properly and shows the right image activated, but the slider itself moves while it shouldn't. |
I am also facing this same issue on Magento 2.1.2. Is there any expected date for the fix? |
In my case this behavior was caused by a problem with the product import, both the main image and the first additional image get the same media position (table catalog_product_entity_media_gallery_value). Somehow the slider tries to scroll to the first additional image, failing in a different manner on iOS. The problem disappeared once I touched the image order in the product admin. |
Hi, Also another issue on ios, if we set the "allowfullscreen" option to false in the mage/gallery/gallery. Can you recheck this issue as well? Regards, |
My original issue was resolved in a recent version. (Can't remember which one). There are multiple issues raised here which are separate to the one i initially flagged. Please raise your issues as separate tickets or they will not be attended to. |
Hi Sam and anybody else who reads this. In my version of CE 2.1.4 the original issue reported by Sam happened again. But not for all products. And it only seemed to happen for products with more than 2 media images. So I read all the other posts/comments here. And the problem for me was linked to the media image position (DB table catalog_product_entity_media_gallery_value). I found that some of the media images had the same position value! When I looked at that product in Chrome it appeared fine. But in Safari no joy. To fix it, I simply edited that product in the Admin Panel and repositioned the images by dragging and dropping them into the correct order. Then click Save. Make sure the base/main image is the first one listed. That stops the navigation effect on the product page itself. So why did my position get out of sync. The Admin Panel Save fixes it as mentioned above. Well it's linked to how the products were imported. In our test import file the base/small/thumbnail image is the same image. Nothing wrong there. But when it comes to defining the addtional_images column we were only including the extra images (i.e. base image not listed here). If we include the base image here too listing it first, hey our import works perfectly and the position order in the DB is exactly as we defined it. For example (before fix): The corrected import fix: This was tested on Community 2.1.4 only. Thanks for all the others who've commented. If they hadn't then I might not have found my issue. But as Sam has said if your issue is a little different to the original bug reported then it's best to report this separately. All the best, |
I was able to fix it, instead of editing each product and ordering the images.
create a file
clear the var folder and refresh the frontend, hopefully gallery will work fine. |
We have the same issue in Magento 2.1.7. |
Magento support provided a patch containing the changes in this commit (4386f8db) to us. If you have this issue, I'd encourage you to apply that change to your Magento installation to see if it fixes your issue. It looks like that change will be released in 2.2.0, but it's not in 2.1.9. |
…ync-122021 Sync of 2.4.4-develop with 2.4-develop
Magento ver. 2.1.2
On an IOS device go to a product page that contains an image in the fotorama gallery.
Expected result would be the image for the product in the fotorama gallery box.
Instead the box is blank white until you either click the box to zoom or swipe at which point the image appears.
I've tested this on IOS mobile (ios 10.1.1) and Tablet (9.3.5) on my local website which is a theme extending blank and also on this Luma demo theme.
http://magento2-demo.nexcess.net/
The text was updated successfully, but these errors were encountered: