I have a function that saves image path to database.
now i want to make a thumb
considering the path saved in the db is image.png and the image is stored in assets/uploads
foreach($results as $result) {
<img src="assets/uploads/'.thumb($result->image(), array('width' => 200))->filename().'">
}
i tried that but i doesn’t crop or make thumb