Fix has no attribute on templatetags image_obj