update deleting last image from album

add some filtering for image on file