Image upload size issue.

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
aimeo.alpesh
Posts: 16
Joined: 26 May 2023, 05:24

Image upload size issue.

Post by aimeo.alpesh » 13 Jun 2023, 10:35

When i upload image for product, it convert into new size.
Want to upload image with full its actual size for product.

I am uploading image from

Admin->Catalog->Products->New Product->Media Tab.

Actual Image Size : 320px X350px
Converted into when i have uploaded it : 240px X 320px

Please help me how can i do it.

Many Thanks.

User avatar
aimeos
Administrator
Posts: 7895
Joined: 01 Jan 1970, 00:00

Re: Image upload size issue.

Post by aimeos » 14 Jun 2023, 06:53

The uploaded images are automatically scaled to the sizes defined in the controller.php file:
https://github.com/aimeos/aimeos-core/b ... hp#L50-L66

You can overwrite these settings in your own ./config/controller.php of your extension.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply