dont show form if there are no images