fit_dimensions_inverse: function(width, height) {
            var ratio = 1.0;
            if (this.is_portrait()) {
                if (this.width() > width) {
                    ratio = width/this.width();