Skip to content
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

CSV product import wrong image height #235

Open
nollm opened this issue Dec 20, 2024 · 4 comments
Open

CSV product import wrong image height #235

nollm opened this issue Dec 20, 2024 · 4 comments

Comments

@nollm
Copy link
Contributor

nollm commented Dec 20, 2024

When I import a product with an image via the CSV import task in the scheduler, the image is higher than the original.
It seems that an empty area is created at the top and bottom of the image.

This is the image (open in new tab to see the empty areas)
------------------------------------------------------------
imported_image

And how it looks like in the catalog list
----------------------------------------
catalog

@aimeos
Copy link
Owner

aimeos commented Dec 20, 2024

Is that only the case for images imported via CSV or also for images uploaded in the backend?

@nollm
Copy link
Contributor Author

nollm commented Dec 20, 2024

Only for imported images.
And this problem occurs only for the .webp format, not the .png.
When I open the .png image it is without the empty areas.

webp

@aimeos
Copy link
Owner

aimeos commented Dec 20, 2024

The sizes of the generated preview images (in WebP format) are now defined here:
https://github.com/aimeos/aimeos-core/blob/master/config/mshop/media.php#L65-L91

@nollm
Copy link
Contributor Author

nollm commented Dec 30, 2024

I will check this next year.
Have a happy new year!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants