Use of Image Manipulation class in news app |
In this demo: https://codeigniter.com/user_guide/tutor...ction.html I have add a line to show photo of news:
PHP Code: <img src="<?=site_url('../fotografias/'.($news_item['filename']))?>"> But now I want to crop it and I don't know how use Image manipulation class PHP Code: $image = \Config\Services::image() Any idea?. I try to create a function, but I allways get error |
Welcome Guest, Not a member yet? Register Sign In |