refs #1222 Read exif and rotate image in Notifications
This commit is contained in:
parent
854482511c
commit
3fd6547afb
|
@ -83,7 +83,7 @@
|
||||||
<icon name="eye" class="hide"></icon>
|
<icon name="eye" class="hide"></icon>
|
||||||
</el-button>
|
</el-button>
|
||||||
<div class="media" v-bind:key="media.preview_url" v-for="media in mediaAttachments(message.status)">
|
<div class="media" v-bind:key="media.preview_url" v-for="media in mediaAttachments(message.status)">
|
||||||
<FailoverImg :src="media.preview_url" :title="media.description" />
|
<FailoverImg :src="media.preview_url" :title="media.description" :readExif="true" />
|
||||||
<el-tag class="media-label" size="mini" v-if="media.type == 'gifv'">GIF</el-tag>
|
<el-tag class="media-label" size="mini" v-if="media.type == 'gifv'">GIF</el-tag>
|
||||||
<el-tag class="media-label" size="mini" v-else-if="media.type == 'video'">VIDEO</el-tag>
|
<el-tag class="media-label" size="mini" v-else-if="media.type == 'video'">VIDEO</el-tag>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -85,7 +85,7 @@
|
||||||
<icon name="eye" class="hide"></icon>
|
<icon name="eye" class="hide"></icon>
|
||||||
</el-button>
|
</el-button>
|
||||||
<div class="media" v-bind:key="media.preview_url" v-for="media in mediaAttachments(message.status)">
|
<div class="media" v-bind:key="media.preview_url" v-for="media in mediaAttachments(message.status)">
|
||||||
<FailoverImg :src="media.preview_url" :title="media.description" />
|
<FailoverImg :src="media.preview_url" :title="media.description" :readExif="true" />
|
||||||
<el-tag class="media-label" size="mini" v-if="media.type == 'gifv'">GIF</el-tag>
|
<el-tag class="media-label" size="mini" v-if="media.type == 'gifv'">GIF</el-tag>
|
||||||
<el-tag class="media-label" size="mini" v-else-if="media.type == 'video'">VIDEO</el-tag>
|
<el-tag class="media-label" size="mini" v-else-if="media.type == 'video'">VIDEO</el-tag>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue