iAlexandru93
TCTwill CMS
•Created by iAlexandru93 on 4/23/2024 in #👊support
Croping not working
and everything works now! thank you guys!
22 replies
TCTwill CMS
•Created by iAlexandru93 on 4/23/2024 in #👊support
Croping not working
location /img/ {
try_files $uri $uri/ /index.php?$query_string;
}
22 replies
TCTwill CMS
•Created by iAlexandru93 on 4/23/2024 in #👊support
Croping not working
Well, finally I have figured out where the problem was. Thanks for debug! In my case the problem comes out from nginx, I'm using a default nginx config file for docker which was forwarding all .img/png/etc requests to files directly, I just added
22 replies
TCTwill CMS
•Created by iAlexandru93 on 4/23/2024 in #👊support
Croping not working
I do not have any route that can overwrite default image path
22 replies
TCTwill CMS
•Created by iAlexandru93 on 4/23/2024 in #👊support
Croping not working
Hello, @ifox! Thanks for your reply! It looks like the original image is rendered even if I add any parameter to the url. I added a die in index.php main project file and the die is not executable from image path, so it looks like the image is not rendered via Laravel project, it's rendered directly from assets path.
22 replies
TCTwill CMS
•Created by iAlexandru93 on 4/23/2024 in #👊support
Croping not working
wish you a wonderfull week guys
22 replies
TCTwill CMS
•Created by iAlexandru93 on 4/23/2024 in #👊support
Croping not working
hello, anybody any idea about how can make the crop works? 😦 @ifox
22 replies
TCTwill CMS
•Created by iAlexandru93 on 4/23/2024 in #👊support
Croping not working
Based on the url yes it should be cropped, but check out the result, it's not 200x200, the rendered image is the one from my picture
22 replies
TCTwill CMS
•Created by iAlexandru93 on 4/23/2024 in #👊support
Croping not working
I took a look into glide documentation and there you have to define assets route in order to be accesed from laravel project and croped by glide plugin. While using glide & twillcms, do I have to define assets route?
22 replies
TCTwill CMS
•Created by iAlexandru93 on 4/23/2024 in #👊support
Croping not working
thanks for the point, I also tried with fixed width and height but still not working, I'm not sure how this functionality should work, I have changed the parameters into image get url (ex: host/img/f9877556-5ce8-4a01-8b1f-aa7a40fbaaf9/black-friday-super-sale-realistic-black-gifts-boxes-with-golden-bows-dark-background-with-present-boxes-and-golden-percent-symbols-horizontal-banner-poster-header-website-illustration-vector.jpg?fm=jpg&q=80&fit=max&crop=200%2C200%2C297%2C0) and the image it's not croped. The image should be already croped when I access the url directly, no? Also I have added a die into index.php of laravel project and the image request is not going there, the image is accesed directly and rendered from assets folder, pb that's why the image is not croped
22 replies
TCTwill CMS
•Created by iAlexandru93 on 4/23/2024 in #👊support
Croping not working
Hello, @kallefrombosnia, thank you for reply! Sure
22 replies