• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: Generate thumbnails in S3 bucket

Resolved: Generate thumbnails in S3 bucket

0
By Isaac Tonny on 15/03/2023 Issue
Share
Facebook Twitter LinkedIn

In this post, we will see how to resolve Generate thumbnails in S3 bucket

Question:

Maybe a stupid question:
I’ve defined S3 bucket in shopware.yaml file
But when I run bin/console media:generate-thumbnails I don’t see them in the S3 bucket, is it normal? Do I have to upload them manually?

Best Answer:

The thumbnails are automatically stored in the s3 bucket. They are stored in the same filessystem as the original media files.
Do you see the your original images in that bucket already? If not then the filesystem configuration might not be correct. Refer to the docs for help.
If you see your original images in the bucket, the config should be correct. Then please check whether you activated thumbnail generation on the media folders in the shopware administration, by configuring the thumbnail sizes that you need. Refer to the docs on how to do this.
If after that the thumbnails still are not generated properly make sure that you have a queue worker running as by default the thumbnails will be created async. You can run bin/console messenger:consume to execute the async messages.

If you have better answer, please add a comment about this, thank you!

Source: Stackoverflow.com

shopware shopware6
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: How to scroll bottom of div at launch?

02/04/2023

Resolved: how to get and read an xml file in a zip file using xml.etree

02/04/2023

Resolved: The ‘Access-Control-Allow-Origin’ header contains multiple values ‘*, *’, but only one is allowed. cors error not resolving

02/04/2023

Comments are closed.

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.