当前位置:网站首页>Visit the image URL stored by Alibaba cloud to preview the thumbnail directly on the web page instead of downloading it directly
Visit the image URL stored by Alibaba cloud to preview the thumbnail directly on the web page instead of downloading it directly
2022-07-01 03:45:00 【My little brother】
When doing the grain college project , Because the teacher didn't make the backstage front end of the rotation map , Here I realized it myself , There's a problem , I'll make a list of the broadcast pictures first :
Here are the pictures stored by Alibaba cloud URL It is directly displayed , I think it's better to show pictures here ,
Later, it was used in web pages img label :
<el-table-column label=" Picture path " >
<template slot-scope="scope">
<img :src="scope.row.imageUrl">
</template>
</el-table-column>

It's ridiculous , Here is a direct display of the whole picture , Later, I considered whether it was possible to show it in the form of a thumbnail , I really found , Alibaba cloud pictures url Followed by ?x-oss-process=image/resize,m_fill,h_100,w_200 You can show a thumbnail , You can also customize Width and Height, Here, the front end is directly spliced :

Barely achieve the effect :
Reference link : Alibaba cloud oss How to get thumbnails of specified pictures 、 Video thumbnail
边栏推荐
- 165. 比较版本号
- LeetCode 31下一个排列、LeetCode 64最小路径和、LeetCode 62不同路径、LeetCode 78子集、LeetCode 33搜索旋转排序数组(修改二分法)
- 复习专栏之---消息队列
- 72. edit distance
- 10. regular expression matching
- torch.histc
- 快速筛选打卡时间日期等数据:EXCEL筛选查找某一时间点是否在某一时间段内
- [daily training] 1175 Prime permutation
- 5、【WebGIS实战】软件操作篇——服务发布及权限管理
- 还在浪费脑细胞自学吗,这份面试笔记绝对是C站天花板
猜你喜欢

Access denied for user ‘ODBC‘@‘localhost‘ (using password: NO)

AfxMessageBox和MessageBox的用法

ASGNet论文和代码解读2

pytorch nn. AdaptiveAvgPool2d(1)

RSN:Learning to Exploit Long-term Relational Dependencies in Knowledge Graphs

Cygwin的下载和安装配置

The method to measure the similarity of two vectors: cosine similarity, pytorch calculate cosine similarity: torch nn. CosineSimilarity(dim=1, eps=1e-08)

FCN full Convolution Network Understanding and Code Implementation (from pytorch Official Implementation)

【TA-霜狼_may-《百人计划》】2.4 传统经验光照模型
![[small sample segmentation] interpretation of the paper: prior guided feature enrichment network for fee shot segmentation](/img/b3/887d3fb64acbf3702814d32e2e6414.png)
[small sample segmentation] interpretation of the paper: prior guided feature enrichment network for fee shot segmentation
随机推荐
171. Excel 表列序号
72. 编辑距离
208. 实现 Trie (前缀树)
168. Excel表列名称
谷粒学院微信扫码登录过程记录以及bug解决
5. [WebGIS practice] software operation - service release and permission management
在 C 中声明函数之前调用函数会发生什么?
[daily training] 1175 Prime permutation
Random seed torch in deep learning manual_ seed(number)、torch. cuda. manual_ seed(number)
idea插件备份表
ECMAScript 6.0
Appium automation test foundation -- supplement: c/s architecture and b/s architecture description
Use of comment keyword in database
Test function in pychram
pytorch中的双线性插值上采样(Bilinear Upsampling)、F.upsample_bilinear
Edlines: a real time line segment detector with a false detection control
Gorilla/mux framework (RK boot): RPC error code design
【EI会议】2022年第三届纳米材料与纳米技术国际会议(NanoMT 2022)
还在浪费脑细胞自学吗,这份面试笔记绝对是C站天花板
Leetcode:829. Sum of continuous integers