simplified mode in attachments
added missing property asset_type
improved redirection urls
Merge pull request #414 from xliiv/modes-in-attachments

simplified mode in attachments