Support croped thumbnails
Added edit image function