for each joomla image url replacing the base url by a shortcode wich gives the right url depending on the environment