image_attachments gets post id on admin_head hook