Photos from Thunderbird aren't loaded with correct url

Jira issue: WP-637