当前位置:网站首页>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
边栏推荐
猜你喜欢
![Pyramid scene parsing network [pspnet] thesis reading](/img/05/4645c8a595083479dee6835620335d.png)
Pyramid scene parsing network [pspnet] thesis reading

【TA-霜狼_may-《百人计划》】1.2.1 向量基础

Implement pow (x, n) function

TEC: Knowledge Graph Embedding with Triple Context

Appium自动化测试基础 — APPium基本原理

报错:Plug-ins declaring extensions or extension points must set the singleton directive to true

Review column - message queue

【TA-霜狼_may-《百人计划》】2.1 色彩空间

ASGNet论文和代码解读2

Are you still wasting brain cells for self-study? This interview note is definitely the ceiling of station C
随机推荐
【TA-霜狼_may-《百人计划》】1.3纹理的秘密
214. minimum palindrome string
[party benefits] jsonobject to string, leave blank
bootsrap中的栅格系统
Implement pow (x, n) function
392. 判断子序列
Database DDL (data definition language) knowledge points
Unexpected token o in JSON at position 1 ,JSON解析问题
241. Design priorities for operational expressions
How keil displays Chinese annotations (simple with pictures)
4. [WebGIS practice] software operation chapter - data import and processing
Test function in pychram
Take you through a circuit board, from design to production (dry goods)
Appium自动化测试基础 — APPium基本原理
Pytorch training deep learning network settings CUDA specified GPU visible
165. 比较版本号
The preorder traversal of leetcode 144 binary tree and the expansion of leetcode 114 binary tree into a linked list
IPv4 and IPv6, LAN and WAN, gateway, public IP and private IP, IP address, subnet mask, network segment, network number, host number, network address, host address, and IP segment / number - what does
在 C 中声明函数之前调用函数会发生什么?
Appium自动化测试基础--补充:C/S架构和B/S架构说明