marello-application icon indicating copy to clipboard operation
marello-application copied to clipboard

product image can not display

Open soitun opened this issue 6 years ago • 7 comments

hi, Product image can not display.

soitun avatar Aug 14 '19 12:08 soitun

Hi @soitun,

Thank you for reporting, can you be a little more specific in regards to your setup and steps to reproduce the issue?

Kind Regards,

Jaimy Casteleijn

24198 avatar Aug 14 '19 12:08 24198

hi @24198 thank you for reply quickly . product image src /media/cache/attachment/resize/840/product_grid/5d49a95f95577299995203

soitun avatar Aug 14 '19 12:08 soitun

Hi @soitun,

Could you please provide:

  • The Marello version you are using
  • The Marello edition you are using
  • The steps to reproduce this issue, what did you do in order to come across the problem you're reporting.

Thanks!

Jaimy

24198 avatar Aug 14 '19 12:08 24198

Marello version : 2.1.0 Community I installed it according to the following steps. The image of the product after installation can not be displayed correctly.

  1. git clone -b 2.1.0 https://github.com/marellocommerce/marello-application.git
  2. cd marello-application
  3. composer install --prefer-dist --no-dev
  4. php bin/console oro:install --env prod
  5. php bin/console gos:websocket:server --env prod &
  6. php bin/console oro:cron --env prod &
  7. php bin/console oro:message-queue:consume --env=prod

After installation, all seems to work fine, but the product image can not be displayed

soitun avatar Aug 14 '19 12:08 soitun

Hi @soitun,

Thank you for the information, we'll try and see if we are able to reproduce the results.

Kind Regards,

Jaimy

24198 avatar Aug 14 '19 12:08 24198

@24198 thank you again.

soitun avatar Aug 14 '19 12:08 soitun

Hi @soitun,

We have been trying to reproduce the issue, but we were not successful in doing so. We have installed a clean version of Marello 2.1.0 CE and are able to upload the images, see them on the product grid and view.

One of the possible issues we can think of, is that it might have to do with permissions on some of the directories from which the image is being fetched. Could you please verify that permissions for the var/attachment and public/media have sufficient permissions to fetch the images?

Another thing you could try, is uploading a new image for a product and see whether this is being displayed correctly (on the view and product grid).

Kind Regards,

Jaimy

24198 avatar Aug 15 '19 07:08 24198