Changed method of parsing attributes to accomodate parameter values with spaces.
Returning image if the map shortcode requires it.