fix bug are valid values for alignment, templatetags image_obj