Browse Source

Changed image mode.

pull/352/head
Sebastian Stehle 8 years ago
parent
commit
f27748440e
  1. 2
      src/Squidex/app/framework/angular/image-source.directive.ts

2
src/Squidex/app/framework/angular/image-source.directive.ts

@ -112,7 +112,7 @@ export class ImageSourceDirective extends ResourceOwner implements OnChanges, On
const h = Math.round(this.size.height);
if (w > 0 && h > 0) {
let source = `${this.imageSource}&width=${w}&height=${h}&mode=Crop`;
let source = `${this.imageSource}&width=${w}&height=${h}&mode=Pad`;
if (this.loadQuery) {
source += `&q=${this.loadQuery}`;

Loading…
Cancel
Save