FIX: fix bug resizing images and add time