Welcome Guest, Not a member yet? Register   Sign In
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']))?>"

[font=Menlo][font=Tahoma, Verdana, Arial, sans-serif]But now I want to crop it and I don't know how use Image manipulation class[/font][/font]

PHP Code:
$image = \Config\Services::image()

[font=Menlo]Any idea?. I try to create a function, but I allways get error[/font]

Theme © iAndrew 2016 - Forum software by © MyBB