Add https://secure.flickr.com/photos/{user-id}/{photo-id} as a valid Flickr image URL and remove hardcoding of URL lengths