def generate_image_url(image_ref):
 return ('%s/images/%s' % (generate_glance_url(), image_ref))

def generate_image_url ( image_ref ) : return ( '%s/images/%s' % ( generate_glance_url ( ) , image_ref ) )
generate an image url from an image_ref .