Fix Download by Tags

Add validation for image_id and enable dump html for download by tags