Fix Download by Tags

Add validation for image_id and enable dump html for download by tags
v20140126
Update model
v20140222
- update test cases