最近在写博客时,上传照片,发现原图太大,影响阅读效果
后经过高手指点
具体实现过程为:
平常插入照片代码:
![在这里插入图片描述]
(https://img-blog.csdnimg.cn/2442d27b6a1f421891d296b701edcb89.jpg?
x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,
text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3l1ZTAwOA==,size_16,color_FFFFFF,
t_70#pic_center)
实现功能代码:
<img src =
"https://img-blog.csdnimg.cn/b003a9bdb36943acba602858d50c6a54.jpg?
x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,
text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3l1ZTAwOA==,size_16,color_FFFFFF,
t_70#pic_center " width = "300">