小技巧:怎么调节上传图片的大小和方向 (另加简单的图片引用实例)

本帖于 2024-04-06 09:03:13 时间, 由普通用户 JSL2023 编辑

https://bbs.wenxuecity.com/culture/634440.html


上传上照片并发表后,再进入编辑, 并点击 [H T M L源代码]

图片是在 img src="https://...."  style="...." 里
这时候你就可以改变"style" 来改变图片大小和方向。

上面链接提供了一个例子作参考,它的完整style如下

style="height:97px; margin-top:0px; transform:rotate(90deg); width:150px"

你若发过图片,可以马上换上或加上这个style试试:)

 

若你上传图片到文学城,你可以获得图片的位置,象老姚的躺平照片

https://bbs.wenxuecity.com/upload/album/8f/b4/e2/3f230fc37041qKKDfyW3.jpg

我们可以盗取老姚图片,并用上述style把它竖起来:)

 

 

老为的地铁歌手 style="margin-top:150px; transform:rotate(90deg)"  

所有跟帖: 

谢了!我还真不知道怎么调方向和大小。 -为人父- 给 为人父 发送悄悄话 为人父 的博客首页 (325 bytes) () 04/02/2024 postreply 19:23:12

只要你不怕编辑,有很多可改。只是有点费眼睛:) -JSL2023- 给 JSL2023 发送悄悄话 (0 bytes) () 04/02/2024 postreply 20:28:25

大师开楼盘了牙 -stonebench- 给 stonebench 发送悄悄话 stonebench 的博客首页 (0 bytes) () 04/02/2024 postreply 19:57:57

主要是害怕老姚躺平:) -JSL2023- 给 JSL2023 发送悄悄话 (0 bytes) () 04/02/2024 postreply 20:23:11

以后要你多多指点。活得很勉强啊! -姚顺- 给 姚顺 发送悄悄话 姚顺 的博客首页 (0 bytes) () 04/03/2024 postreply 05:40:48

你还勉强,那叫我怎么过:) -JSL2023- 给 JSL2023 发送悄悄话 (0 bytes) () 04/03/2024 postreply 06:52:44

多谢,抽时间学习试试。 -山水苍茫- 给 山水苍茫 发送悄悄话 山水苍茫 的博客首页 (0 bytes) () 04/02/2024 postreply 20:33:35

不会写诗,会写程序:) -JSL2023- 给 JSL2023 发送悄悄话 (0 bytes) () 04/02/2024 postreply 20:36:01

很简单啊,山水兄, 有几个步骤如下: -eciel567- 给 eciel567 发送悄悄话 (817 bytes) () 04/02/2024 postreply 21:19:56

多谢E君,这个方法好,容易操作,记下了。 -山水苍茫- 给 山水苍茫 发送悄悄话 山水苍茫 的博客首页 (0 bytes) () 04/03/2024 postreply 08:19:28

不客气, 山水兄。 是吧, 这个方法更容易操作。 J 君的方法要修改源代码, 我想对非理工科 专业的比较难。 -eciel567- 给 eciel567 发送悄悄话 (0 bytes) () 04/03/2024 postreply 09:52:46

是的,现在一般的相册都带有简单编辑功能,旋转和剪裁一下就行。 -JSL2023- 给 JSL2023 发送悄悄话 (0 bytes) () 04/03/2024 postreply 10:22:53

请您先登陆,再发跟帖!