[wordpress插件] Darkroom暗室

wordpress 插件 文章 2020-04-12 06:10 0 183 全屏看文
评分
0
描述

Darkroom is a plugin I wrote for my own blog and thought other people might like to use in their blogs.

Darkroom是我为自己的博客编写的插件,并认为其他人可能希望在其博客中使用。

Iíve tried

我尝试过

to build in some flexibility as well as ease-of-use, but there are always compromises.

增强灵活性和易用性,但总会有妥协。

I look forward to your feedback

我期待您的反馈

so I can make it better.

这样我可以做得更好。

To contact me about the plugin please use darkroom@innerturtle.com so that I know what

要与我联系有关该插件的信息,请使用 darkroom@innerturtle.com ,以便我知道什么

your e-mail is about.

您的电子邮件是关于。

Features: * Captions are loaded through EXIF/XMP tags.

功能:*字幕是通过EXIF / XMP标签加载的。

You just upload your pictures and go.

您只需上传图片即可。

* Use of lightbox through the slimbox plugin * The ability to list different ìgalleriesî either in your sidebar or directly in the page content.

*通过slimbox插件使用lightbox *能够在侧边栏中或直接在页面内容中列出不同的“图库”。

* Complete control over where your gallery appears.

*完全控制画廊的显示位置。

* The ability to watermark your pictures for copyright purposes.

*可以为图片加水印以用于版权目的。

* Most customization is done through the regular WordPress admin page.

*大多数自定义操作都是通过常规的WordPress管理页面完成的。

安装步骤

    1. Download the source, uncompress it, and put the darkroom folder in your WordPress plugins directory.
    2. 下载源代码,将其解压缩,然后将darkroom文件夹放入WordPress插件目录中。

    3. Create a folder called ìpicsî in the root of your WordPress installation.

    4. 在WordPress安装的根目录中创建一个名为“ pics”的文件夹。

      Create sub-folders and put pictures

      创建子文件夹并放置图片

      in them.

      在他们之中。

      For Example:

      例如:

        1. My blog is located at /usr/web/innerturtle.com/.

        2. 我的博客位于/usr/web/innerturtle.com/。

          I can access this via FTP.

        3. 我可以通过FTP进行访问。

        4. I created a new folder called pics.

        5. 我创建了一个名为pics的新文件夹。

          It lives at /user/web/innerturtle.com/pics/.

          它位于/user/web/innerturtle.com/pics/。

          This will be the place where darkroom gets all the pictures.

          这是暗室获取所有图片的地方。

          But wait, I canít put any pictures files into this folder SOÖ

        6. 但是,等等,我无法将任何图片文件放入此文件夹中。

        7. I create subfolders, maybe ìBirthdayPicturesî and ìHikingPicturesî.

        8. 我创建子文件夹,可能是“ BirthdayPictures”和“ HikingPictures”。

          These would live at

          这些将生活在

          /user/web/innerturtle.com/pics/BirthdayPictures/ and /user/web/innerturtle.com/pics/HikingPictures/ respectively.

        9. 分别是/user/web/innerturtle.com/pics/BirthdayPictures/和/user/web/innerturtle.com/pics/HikingPictures/。

        10. I put my birthday pictures in /user/web/innerturtle.com/pics/BirthdayPictures/ and I put my hiking pictures in

        11. 我把我的生日照片放在/user/web/innerturtle.com/pics/BirthdayPictures/中,而我把远足照片放在

          /user/web/innerturtle.com/pics/HikingPictures/.

        12. /user/web/innerturtle.com/pics/HikingPictures/。

        13. Now Darkroom will show that I have two ìcollectionsî: one of birthday pictures and one of hiking pictures.
        14. 现在,暗房将显示我有两个“收藏集”:一张生日照片和一张远足照片。

      1. Go into your WordPress Admin Console and create a new page.

      2. 进入WordPress管理控制台并创建一个新页面。

        The name of your page is as it will appear on your site (unless you change this, see below.) You must enter a custom field: make the KEY of ‘darkroom’ and the VALUE of ‘true’.

        页面的名称与将在您的网站上显示的名称相同(除非您进行更改,请参见下文。)您必须输入一个自定义字段:将KEY设置为“暗室”,将VALUE设置为“真”。

        Do not include the single-quotes and use all lower-case letters.

      3. 请勿包含单引号,并使用所有小写字母。

      4. View your new page.

      5. 查看您的新页面。

        If youíve done the previous steps correctly, youíll see a photo album.

      6. 如果您正确完成了上述步骤,则会看到相册。

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