Ensure that the url for a petition image is stripped of whitespace before saving.
(Leading whitespace causes an exception.)