implement get_header for image