Fixing img width parameter to be of int type...again