Fixed download photo on mobile

Closes #506
Improved attachments rendering