[wordpress插件] BMI Wrong Image Link FixBMI错误的图片链接修复

wordpress 插件 文章 2020-03-08 03:20 424 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

The company ByteMobile came up with a great idea: Deliver compressed images instantly!

ByteMobile公司提出了一个好主意:立即交付压缩图像!

So,

所以,

if your Provider ( e.g. Vodafone ) cooperates with ByteMobile, they will most likely deliver

如果您的提供商(例如Vodafone)与ByteMobile合作,他们很可能会提供

compressed pictures on your mobile screen.

手机屏幕上的压缩图片。

How this works:

工作原理:

You call a webpage and this webpage contains images.

您调用一个网页,并且该网页包含图像。

Your provider now rewrites these SRC-Attributes

您的提供商现在重写了这些SRC属性

to http://1.1.1.1/bmi/[url] and there a compressed picture is waiting for you.

转到http://1.1.1.1/bmi/[url],压缩的图片正等着您。

I don’t want to discuss the advantages and disadvantages of this method, but for WordPress Admins

我不想讨论这种方法的优点和缺点,但是对于WordPress管理员来说

and Editors, who are using Mobil to edit blogposts, this can be a huge problem.

还有使用Mobil编辑博客文章的编辑者,这可能是一个巨大的问题。

By this method, your Image-URLs can be overwritten, so you dont save
 

通过这种方法,您的图片网址可以被覆盖,因此您无需保存
 

but

In the end, the picture won’t show up at all.

最后,图片完全不会显示。

BMI Wrong Image Link Fix helps now with this problem.

BMI错误的Image Link Fix现在可以解决此问题。

It hooks into the ‘save_post’ and ‘edit_post’-methods and rewrites the wrong Image URLs to the correct

它挂接到“ save_post”和“ edit_post”方法中,并将错误的图片网址重写为正确的

one.

一个。

At the moment the following wrong URLs are known, and this plugin can correct them:

目前已知以下错误的URL,此插件可以纠正它们:

    • 1.1.1.1/bmi/
    • 1.1.1.1/bmi /

    • 1.1.1.2/bmi/
    • 1.1.1.2/bmi /

    • 1.1.1.3/bmi/
    • 1.1.1.3/bmi /

    • 1.1.1.4/bmi/
    • 1.1.1.4/bmi /

    • 1.1.1.5/bmi/
    • 1.1.1.5/bmi /

    • 1.2.3.4/bmi/
    • 1.2.3.4/bmi /

    • 1.2.3.9/bmi/
    • 1.2.3.9/bmi /

    • 1.2.3.10/bmi/
    • 1.2.3.10/bmi /

    • 1.2.3.11/bmi/
    • 1.2.3.11/bmi /

    If you are fighting with another URL, pleaes contact me, so we can update the code.

    如果您要使用其他网址,请与我联系,以便我们更新代码。

    More information at http://websupporter.net/blog/mobile-users-attention-editing-blogposts-from-mobile-can-inject-wrong-image-paths/

    “> http://websupporter.net/blog/mobile-users-attention-editing-blogposts-from-mobile-can-inject-wrong-image-paths/

安装步骤

    • Download this Plugin
    • 下载此插件

    • Unzip it in your Plugins Folder (most likely /wp-content/plugins/
    • 将其解压缩到“插件”文件夹中(最有可能是/ wp-content / plugins /

    • Go to Plugins and Activate the plugin
    • 转到插件并激活插件

    Every blogpost you edit from now on, will be checked for wrong addresses, and they will be corrected

    从现在开始,您编辑的每个博客文章都将检查错误的地址,并且将对其进行纠正

下载地址
https://downloads.wordpress.org/plugin/bmi-wrong-image-link-fix.0.2.zip
-EOF-

AI助手支持GPT4.0