[wordpress插件] DPIorDIEDPIorDIE

wordpress 插件 文章 2020-04-21 22:21 0 41 全屏看文
评分
0
描述

DPI, or Dots Per Inch, is a photography and printing term.

DPI ,或每英寸点数,是一种照相和印刷术语。

Essentially a pixel on any screen does not equal to a dot on a printed document.

本质上,任何屏幕上的像素都不等于打印文档上的点。

The resolution and detail of a print wouldn’t look good if you used a 72 DPI upload on a 300 DPI print.

如果您在300 DPI打印上使用72 DPI上传,则打印的分辨率和细节看起来会不太好。

The end result is either pixelated or blurry images.

最终结果是像素化或图像模糊。

You can’t just scale an image up either, detail can’t just be easily made.

您也不能只放大图像,也不能轻松制作细节。

It’s a big problem in the design and print industries.

在设计和印刷行业这是一个大问题。

A lot of people fight with their clients to upload the correct images.

许多人与客户争夺上传正确的图像。

Any image from the web just won’t do.

网路上的任何图片都不会。

DPIorDIE to the rescue.

DPIorDIE 进行救援。

This plugin was designed to filter out images based on the DPI of an image only a specific type of user can upload, “Uploader”.

此插件旨在根据仅特定类型的用户可以上传的图像的DPI(“上传器”)过滤图像。

It reads the EXIF data to get the horizontal and vertical DPI for now.

它现在读取EXIF数据以获得水平和垂直DPI。

It can also increase the max upload size to your desired choosing.

它还可以将最大上传大小增加到所需的选择。

There’s also the ability to upload said images to Dropbox in a dedicated app folder and offset path.

还可以将上述图像上传到专用应用文件夹和偏移路径中的Dropbox。

It seamlessly integrates with WordPress and I’ve done the work for people to give translations.

它与WordPress无缝集成,我已经为人们提供翻译服务。

NOTE: You don’t actually have to make a new user profile on the site with the role type;

注意:您实际上不必在网站上使用角色类型创建新的用户个人资料;

“Uploader”.

“上载器”。

It’s just looking for uploading privileges.

它只是在寻找上传权限。

Later there will be more allowance for flexibility in it’s user capabilities, but it’s unnecessary.

以后,用户功能将有更多的灵活性,但这是不必要的。

The Uploader role was designed to allow a user reduced privileges to a site, not giving them anything but uploading capabilities.

Uploader角色旨在允许用户减少对网站的特权,除了上载功能外,不给他们其他任何权限。

The Dropbox functionality is easy to setup.

Dropbox功能易于设置。

Click the button, authorize DPIorDIE on Dropbox, get the code they give you, punch it in, and save.

单击按钮,授权Dropbox上的DPIorDIE,获取他们给您的代码,进行打孔并保存。

The authorization token code will be generated on save.

授权令牌代码将在保存时生成。

The code lasts indefinitely, they just don’t expire.

代码可以无限期地持续下去,只是不会过期。

The offset path will generate the required folders or directories.

偏移路径将生成所需的文件夹或目录。

All duplicates get renamed and aren’t rejected.

所有重复项都会被重命名,并且不会被拒绝。

安装步骤

    1. Upload the plugin files to the /wp-content/plugins/dpiordie directory, or install the plugin through the WordPress plugins screen directly.
    2. 将插件文件上传到 / wp-content / plugins / dpiordie 目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress
    4. 通过WordPress中的“插件”屏幕激活插件

    5. Use the Settings->DIEorDIE screen to configure the plugin
    6. 使用“设置”->“ DIEorDIE”屏幕配置插件

    7. Create required user profiles.
    8. 创建所需的用户个人资料。

    9. Profit?
    10. 利润?

下载地址
https://downloads.wordpress.org/plugin/dpiordie.1.0.2.zip
-EOF-