adds back exception if article has no image associated with it to the api function.
adds date format function back to custom template tags