Pass `Blob` to `View` (for `ImageView`)
This allows us to do JPEG auto-orientation based on EXIF metadata.
This commit is contained in:
parent
e6a414f2b2
commit
1602d7f610
|
@ -197,7 +197,7 @@
|
|||
if (!this.objectUrl) {
|
||||
this.objectUrl = window.URL.createObjectURL(this.blob);
|
||||
}
|
||||
this.view = new View(this.objectUrl, this.model.contentType);
|
||||
this.view = new View(this.objectUrl, this.model.contentType, this.blob);
|
||||
this.view.$el.appendTo(this.$el);
|
||||
this.listenTo(this.view, 'update', this.update);
|
||||
this.view.render();
|
||||
|
|
Loading…
Reference in New Issue