Adds image preview and appropriate image download via attachment id