add test image
check for existence of file
remove console log
remove console log
add resize test and method