-
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
After upgrade Magento 2.1.6 images of simple products (dropdown) do not display anymore #9275
Comments
@martijnhovinga: have you also tested this on the default Blank and/or Luma themes which come with Magento2? If not: would you like to test it first using one of these two themes? Thanks! |
Same problem.. Any solution how to fix this? |
@LG0012: Please confirm whether you have tested it with default Blank or Luma Theme? I haven't yet (I am using Infortis Ultimo, but am quite confident the theme is not causing it, as it worked fine before with the same theme) |
For us, after magento upgrade from 2.1.3 to 2.1.6 there is issue then running bin/magento indexer:reindex, it ruins all swatch images, they just became blank color swatches instead of image swatches. But then you clear cache, these images starts to show up... |
try running this i had a lot of image problem after i upgraded to 2.1.6 and this fix them all it will take a loooooooooooonnnngg time to run if you have a lot of images, but again, it fixed all of my problems |
@rip057 I have tried to run it, but it didn't helped... Strange thing is that for some reason some of image swatches works, and other one's just disappears after some time after cache clean ... |
I just created a NEW configurable product with drop down attribute and that works fine, i.e. images of underlying simple products show up. Have yet to run the images;resize command and will let you know. Thanks for the tip. |
Running magento catalog:images:resize and restarting varnish worked for me. |
It took a long time. But running magento catalog:images:resize solved the issue indeed. Thank you @rip057 |
Yeah it took me many many hours to complete
…On Apr 18, 2017 6:38 PM, "Martijn Hovinga" ***@***.***> wrote:
It took a long time. But running *magento catalog:images:resize* solved
the issue indeed. Thank you @rip057 <https://github.com/rip057>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9275 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJ0VcoAy0So4XeZVDeLc-GRVXwY4YcqQks5rxUlxgaJpZM4M_Msw>
.
|
@hostep I encountered a problem with images as well after upgrading to 2.1.6 in a plain vanilla Magento 2.1.x installation. The images did not display at all. Running the command below also solved this. As this is obviously not related to the theme or extension, I recommend to add to your version 2.1.6 upgrade notes "to please run magento catalog:images:resize after upgrading, if you encounter any issues with images. |
I'm not an Magento employee, but I agree that this should be mentioned as a very clear warning in the release notes. Because this change seems to introduce significant issues which nobody was expecting (I didn't actually test it myself, but I've seen multiple issues popping up here on github around the same problem) cc: @tanberry, @jfrontain |
I am having the same problems on version 2.1.6.
this occurs on every dropdown change. |
Thank you @martijnhovinga and all above very much for this information. We will work with the dev team to add info to the Release Notes. |
We've just published a revision of the 2.1.6 Release Notes that includes this information. Thanks so much for your help! |
@jfrontain: good, tnx! Is there any news from the developers if this change is going to be reverted? As this breaks backwards compatibility in a minor release. Or at least add a configuration switch where we can choose to let the images generate during a page request, and not only when saving a product or running I haven't tested out version 2.1.6 yet, but plan on doing so in a couple of days, so all the above is speculation, because I didn't really test anything yet. |
Hi just tested the I would also like to add that any configurable product created via import/export won't work unless you manually visit the simple product page so the cached image can be created or until you run de If you create a configurable product via the catalog page, everything will work. But if you delete the cache folder, images won’t be recreated until you visit the simple product page or run the |
Hi, catalog:images:resize doesn't do the trick for our shop. |
Hi, Edit: |
A little bit late to this one but we've just published a post on this here, hopefully it helps out. |
There's also another issue in this ticket which I think wasn't addressed (but I'll probably create another issue for it): product swatch images on configurable products only show up the first page-hit after you clear the cache (with FPC off), and then revert back to swatch colours (even though the swatch image has been set on the simple product). I've reindexed, run the @Sensejus did you manage to figure that one out? edit: actually, it doesn't matter whether it's on category or product pages - on the first page-hit image swatches show up correctly, and after that it reverts back to colour swatches, no matter whether you're on the product or category page. |
Magento just released 2.1.7 with a "reversion of the changes to image resizing that we introduced in 2.1.6": http://devdocs.magento.com/guides/v2.1/release-notes/ReleaseNotes2.1.7CE.html Can you please check if the problem is gone in 2.1.7? Thanks! |
Everything is fine for me with the 2.1.7 update. Thanks to the devs! |
2.1.7 - exact same issue as erfanimani - only first hit after cache flush shows swatches correctly - all pages after are black or use non-product image swatches. |
@erfanimani @dawhoo Thanks! |
@martijnhovinga this issue should be fixed in Magento 2.1.7. Could you please confirm that you do not experience it anymore? |
@erfanimani , @dawhoo if you experience another issue even connected with this one, please create separate GitHub issue and format it according to template: with steps, actual and expected results and environmentdescription. |
Thanks @veloraven The issue is now fixed for me after upgrade to 2.1.7 |
There is now an official patch for 2.1.6: |
Hi , Migration 1.7.2 to magento 2.1.6 Images issues : I am using magento 2.1.6 version , i have same issues product list and view page images path getting blank view . In admin panel each products having images , but frontend url as like same below , I am using image re-size command via putty , but didn't resize the images in folder . I am also install support patch regarding images issues , but not installed properly. Please check in this issues . Please help me ASAP. |
@prestashoppay: please use a newer version of Magento to upgrade to. The image resize changes in Magento 2.1.6 turned out to be very buggy and were reverted again in version 2.1.7, I'd recommend you to upgrade to the latest version of 2.1.x (2.1.9 currently) |
Hi @hostep , Thanks for your reply. I am using following commands magento upgrade 2.1.6 to 2.1.7 , and also 2.1.9 I am getting error below command run via putty ,
`./composer.json has been updated Problem 1 Installation failed, reverting ./composer.json to its original content.` How to upgrade magento 2.1.6 to magento 2.1.9 or latest version Please help me asap . |
@prestashoppay: please ask support questions on https://magento.stackexchange.com/ or https://community.magento.com/, GitHub isn't the place to ask these kind of questions, thanks! :) |
@hostep , Thanks for your reply. |
Hello |
[Spartans] Bugfix Delivery
Upgraded to Magento 2.1.6
Using Infortis Ultimo Theme, latest available version
Steps to reproduce:
Expected result:
Actual result
This used to work flawlessly before upgrading to 2.1.6
Image switching still works fine for image or text swatches and combinations
The text was updated successfully, but these errors were encountered: