yusr 发表于 2025-11-11 22:44:40

为啥就没有这个插件?

喜欢文字展示的就默认可以


但是喜欢图片展示的,开启图片列表,必须图片本地化上传的才能显示封面列表,而且手机端的图片列表显示,那个封面裁剪了,不能显示图片本来的宽高比全貌


怎么没人做个电脑端和手机端都支持自动把贴内第一张外链图设置为封面的插件,并且封面支持JPG.PNG.GIF,封面图的宽高比就是贴内外链图的宽高比


我知道答案 回答被采纳将会获得1 贡献 已有6人回答

ROBOT 发表于 2025-11-11 22:45:09

外链图片的可靠性太不确定,也不能被裁剪,不建议作为封面图展示。另外,gif无法进行有效裁剪还保持gif特性,一般都不会支持的。

封面图的宽高是基于设置的,否则就乱套了。现在的时代,存储空间是最廉价的成本之一,不要轻易用外链了

站帮网 发表于 2025-11-11 22:46:06

你说的真对,昨天我就测试的时候发现这两个问题。确实挺着急,而且实用的功能。

ROBOT 发表于 2025-11-11 22:46:28

我以前也用过外链图片,当时想着人家大平台肯定比我网站稳定,事实还真不一定,出现好多次图片挂了的情况,后来就又改回来了。

可可的可 发表于 2025-11-11 22:46:52

需求少, 所以就没人开发 如果有需求可以找开发者定制呀~

月落秋水 发表于 2025-11-11 22:47:34

跟稳定不稳定没关系,现在大网站全都有防盗链,要用referrerpolicy="no-referrer"来应对(但有些浏览器不支持这个属性

可可的可 发表于 2025-11-11 22:48:13

可以花钱定制;
       

                        但那费用, 不如 将 图片本地化 到自己空间里面了;使用https://addon.dismall.com/plugins/twpx_remote_img_down.html 这个插件 可以自动 下载外链图片到自己空间里面
       

.ce-block {    margin-bottom: 20px;}.ce-block__content,.ce-toolbar__content {        /* max-width:calc(100% - 50px) */        margin-left: auto;    margin-right: auto;}.ce-paragraph {    line-height: 1.6em;    outline: none;    text-indent: 2em;    font-size: 16px;}.ce-paragraph--right {    text-align: right;}.ce-paragraph--center {    text-align: center;}.ce-paragraph--left {    text-align: left;}.ce-paragraph--justify {    text-align: justify;}.ce-paragraph-text-indent {    text-align: justify;}.ce-paragraph:empty::before{content: attr(data-placeholder);color: #707684;font-weight: normal;opacity: 0;}/** Show placeholder at the first paragraph if Editor is empty */.codex-editor--empty .ce-block:first-child .ce-paragraph:empty::before {opacity: 1;}.codex-editor--toolbox-opened .ce-block:first-child .ce-paragraph:empty::before,.codex-editor--empty .ce-block:first-child .ce-paragraph:empty:focus::before {opacity: 0;}.ce-paragraph p:first-of-type{    margin-top: 0;}.ce-paragraph p:last-of-type{    margin-bottom: 0;}.svg-icon {    width: 1em;    height: 1em;}.svg-icon path,.svg-icon polygon,.svg-icon rect {    fill: #4691f6;}.svg-icon circle {    stroke: #4691f6;    stroke-width: 1;}.inline-code {background: rgba(250, 239, 240, 0.78);color: #b44437;padding: 3px 4px;border-radius: 5px;margin: 0 1px;font-family: inherit;font-size: 0.86em;font-weight: 500;letter-spacing: 0.3px;}
页: [1]
查看完整版本: 为啥就没有这个插件?