-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Composer Upgrade 2.1.4 -> 2.1.6 Breaks Item Images on Category Pages #9276
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
Comments
Same problem, any solution how to fix this? |
the very simple solution is to recreate the magento cache images by running magento catalog:images:resize I put my server in maintenance mode before running, and for me it took many hours to complete. |
@rip057 @LG0012 Thank you for reporting the issue. As of 2.1.6:
To get all images generated for existent products while not re-saving all Products you need to run command: |
Yep I had already figured that out, but for companies like myself that
don't really use the back end for much other than some odds and ends, this
is a problem. I have engineered my own API if you will for the backend and
I don't use product save when I add images I just create the appropriate
MySQL database entries and post an image through my Android application.
If you could give some pointers on how to save an item from a php file that
would be appreciated
|
I have this issue but |
I have a hacky workaround for my case where 'hidden' images are used on the category page (i.e. the hidden image is also set as the 'base' image.)
Is anyone else able to verify this as a bug? |
I am having the same issue. Spent ages debugging my Docker container before reading this (Doh!). |
@airdrumz: I can confirm your issue, we have the same problem on one of our webshops. @victorgugo: hopefully you are aware of this new issue @airdrumz is reporting? |
UPDATE: Removed temporary workaround for @airdrumz issue from this thread, and moved it to #9498 (comment) |
The problem is point 1. does not work. When creating a new product or editing an existing product in admin panel, when product is saved Magento is not generating the category view image. Has to be done via CLI every time. |
@rip057 thank you for your feedback. |
I must admit I need to update I will do it tonight
…On Jun 15, 2017 9:53 AM, "Olga Moyseyenko" ***@***.***> wrote:
@rip057 <https://github.com/rip057> thank you for your feedback.
Is this issue still actual for Magento 2.1.7? There were fixes for images
in this version.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9276 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJ0VcrNN_8e3vQU8q4YZ5WBhGRFqeLDeks5sET-CgaJpZM4M_ULg>
.
|
I'd advise to test it on a dev. Not in production. The problem could be fixed in Magento core but not in your theme.
Testing directly in production is at your own risk..
cheers!
---- On Fri, 16 Jun 2017 00:28:02 +0200 [email protected] wrote ----
I must admit I need to update I will do it tonight
On Jun 15, 2017 9:53 AM, "Olga Moyseyenko" ***@***.***> wrote:
@rip057 <https://github.com/rip057> thank you for your feedback.
Is this issue still actual for Magento 2.1.7? There were fixes for images
in this version.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9276 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJ0VcrNN_8e3vQU8q4YZ5WBhGRFqeLDeks5sET-CgaJpZM4M_ULg>
.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
It's fine it seems to be working, I just use my own API to add pictures
from my proprietary Android application, and it doesn't use any of the
Magento apis, it just inserts into the MySQL db into
catalog_product_entity_media_gallery catalog_product_entity_media_ga
llery_value, catalog_product_entity_media_gallery_value_to_entity, and into
catalog_product_entity_varchar. Since I never save the product after
adding the images, and I haven't quite learned all the magento code (they
keep changing it) i prefer my method, but the new way (now old way) of
caching pictures would never be initiated the way I insert them. I'll let
you guys know when I do some work on products in the next day but as it is
it looks good.
…On Jun 16, 2017 1:46 AM, "romeof1980" ***@***.***> wrote:
I'd advise to test it on a dev. Not in production. The problem could be
fixed in Magento core but not in your theme.
Testing directly in production is at your own risk..
cheers!
---- On Fri, 16 Jun 2017 00:28:02 +0200 ***@***.*** wrote
----
I must admit I need to update I will do it tonight
On Jun 15, 2017 9:53 AM, "Olga Moyseyenko" ***@***.***>
wrote:
> @rip057 <https://github.com/rip057> thank you for your feedback.
> Is this issue still actual for Magento 2.1.7? There were fixes for images
> in this version.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#9276 (comment)
>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AJ0VcrNN_
8e3vQU8q4YZ5WBhGRFqeLDeks5sET-CgaJpZM4M_ULg>
> .
>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9276 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJ0Vct63fpznXN7ALNU2ldOIEIbh-DWNks5sEiThgaJpZM4M_ULg>
.
|
@rip057 I'm closing this issue as it seems to be fixed from your comment. |
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. |
Current Versions I am using:
Magento 2.1.6 using the luma theme
PHP 7.0.17 Zend 3.0.0
mysql Ver 15.1 Distrib 10.1.21-MariaDB, for Linux (x86_64) using readline 5.1
Apache/2.4.25 (Fedora)
Upgrading from 2.1.4 -> 2.1.6 (Mind you I have upgraded many times since 1.9.1 ), using composer CLI upgrade method using this guide
http://devdocs.magento.com/guides/v2.1/comp-mgr/cli/cli-upgrade.html
and following it to the T. Results in images on the category pages for the items to be broken.
you can see the item has a broken link for the picture, and although its not shown it does show the price and the title for the item below it. (sorry for all the masking)
if i got into the backend admin page and find the product in the catalog section and resave it, everything appears fine, but i have something like 65 thousand products, so this is not a viable solution to this issue.
It appears from the inspect element of the broken link that it is infact broken as the is no directory abc160262df37b5fdc3dd1b353c3ece1 inside the cache directory and when i flushed the image cache there is no more cache directory.
Sorry if this isnt proper for a github issue I just dont know what to do, and i dont want to revert back to 2.1.4 as there are security holes.
The text was updated successfully, but these errors were encountered: