Modal when clicking image thumbnail. Resizes based on image size.