Welcome Guest, Not a member yet? Register   Sign In
set minimum upload size in codeigniter
#1

(This post was last modified: 03-15-2023, 05:14 AM by kenjis. Edit Reason: Remove BB tags. )

How can I set minimum width and height for image uploads in CodeIgniter? Here's the code I'm using:
$config['max_width'] = '480';
$config['max_height'] = '270';
$this->upload->do_upload();

I've successfully set the maximum dimensions, but I'm unsure how to set a minimum.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB