problem with image resizings
-
hello
when i upload a product image in bagisto, the size ratio of medium image url is not same as the original image.for example if my picture is 400 X 400 px the medium image size is 280X200 px. how can i fix this probelm -
same issue with me too..
I have uploaded product image in size 600x600 but it shows the size 250 x 350.
so that image gets stretched.
please do the needful its urgent. -
I have the same problem.
-
-
@rahul wouldn't it be more user-friendly to add a option in the admin panel to change these values?
-
Hi @ghermans
Sure !!! We will implement it.
-
@rahul said in problem with image resizings:
change dimension accordin
Hi @rahul ,
I changed in medium.php but it won't work. still, 280 x 350 dimension is taken in the product image.
should I change it into CSS?
if yes please provide the class name and file were to change the CSS. -
Hi @shreyasi
Run following command after changing dimension -
- php artisan config:clear
- composer dump-autoload
and clear your browser's cache. (Cached Images )
Thanks
-
@rahul said in problem with image resizings:
composer dump-autoload
Hello @rahul ,
I followed all your steps but it won't change the dimension.
it takes default 280 x 350 pixel -
-
Hi @rahul ,
Yes, It works.
Thank you... -
If we are making code changes, how will we update Bagisto when a new release comes out?
-
@andrewc don't make changes to the core files, instead create a custom package
more info can be found herehttps://devdocs.bagisto.com/create_package.html#how-to-create-package
or https://forums.bagisto.com/topic/221/how-to-override-view-file-in-bagisto