new get_image_variables. removed invalid alignment