简体   繁体   English

摆脱博客图片链接

[英]Get rid of blogger image links

When you insert an image into a blogger post it shows up as a link. 当您将图像插入博客文章时,它会显示为链接。 I know you can just edit the html and get rid of it but I dont want to do this for every image since I am posting at least once a day. 我知道您可以只编辑html并删除它,但是我不想为每个图像都这样做,因为我每天至少发布一次。

Is there a way to get rid image links in css? 有没有办法摆脱CSS中的图像链接? Then I could say for the post body section get rid of all image links. 然后我可以说,对于帖子正文部分,请删除所有图像链接。

Otherwise is there any other way that makes getting rid of the link faster? 否则,还有其他方法可以更快地摆脱链接吗?

There is no way to do it with CSS. CSS无法做到这一点。 You could do it with script, but then everyone that viewed you blog would have to execute the script, all because you don't want to edit the HTML ;) 您可以使用脚本来完成此操作,但是随后所有查看您博客的人都必须执行脚本,这都是因为您不想编辑HTML;)

Are you using the new interface in Blogger? 您是否正在Blogger中使用新界面? In the new version, blogger only seems to wrap images in a link if you position the image by dragging it. 在新版本中,如果您通过拖动图像来定位图像,博客似乎只会将图像包装在链接中。 If you position it using align left or right (in the toolbar) the image is not wrapped in a link. 如果使用左对齐或右对齐(在工具栏中)放置图像,则图像不会包裹在链接中。

Really, I see no issue with manually removing the links in the HTML view. 确实,我看不到手动删除HTML视图中的链接的问题。 Are you really posting that many images that it takes too long to do this?! 您是否真的发布太多的图像,而这花费了很长时间?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM