[wordpress插件] amtyThumb阿姆蒂姆

wordpress 插件 文章 2020-02-18 01:40 482 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin lets you fetch first image of any post.

此插件可让您获取任何帖子的第一张图片。

It is fully configurable.

它是完全可配置的。

You can crop an image or resize on the basis of its height, or width, or both.

您可以裁剪图像或根据图像的高度或宽度或两者兼而有之。

Ataached/uploaded images might not be displayed in case of localhost.

在本地主机的情况下,无法显示已加载/上传的图像。

Features over other plugins:

与其他插件相比的功能

    1. Can extract an image which is either on same server or on remote server
    2. 可以提取位于同一服务器或远程服务器上的图像

    3. Can extract attached images
    4. 可以提取附件图像

    5. It can fetch first image from the post even if it is a video from

    6. 即使是来自视频的视频,它也可以从帖子中获取第一张图片。

      a) Youtube

      a)Youtube

      b) Vimeo

      b)Vimeo

      c) Dailymotion

      c)Dailymotion

      d) Metacafe

      d)Metacafe

      e) Veoh

    7. e)Veoh

    8. You can use it to resize/crop an image instead of fetching it from any post.
    9. 您可以使用它来调整图像大小/裁剪图像,而不用从任何帖子中获取图像。

    visit my post

    访问我的帖子

    p>

    >

    Remember to pass default image path.

    记住要传递默认的图像路径。

    Note : I am pausing it’s development for some time due to other priorities.

    注意:由于其他优先事项,我暂停了一段时间的开发。

    However I’ll keep supporting for any bug, small features, and any request.

    但是,我将继续支持所有错误,小功能和任何请求。

    You can know more about furhter releases, support, plans, and my other developments on git.

    您可以在 git 上了解更多有关发行,支持,计划和其他开发的信息。

    >

    >

安装步骤

Installation of plugin is similar to other wordpress plugin.

插件的安装与其他wordpress插件类似。

e.g.

例如

    1. Extract amtyThumb.zip to the /wp-content/plugins/ directory
    2. amtyThumb.zip 提取到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    You may also add amtyThumb_post anywehre in your post or page using short code.

    您还可以使用短代码在您的帖子或页面中添加amtyThumb_post anywehre。

    For his;

    为了他;

    To fetch image from specific post.

    要从特定帖子中获取图片。

    Resize to half.
        

    调整为一半。
        

    [amtyThumbOnly percent=50 post_id=282]

    [amtyThumbOnly percent = 50 post_id = 282]

    To fetch image from current post.

    从当前帖子中获取图像。

    Resize by its width.(adjust height automatically)
        

    按宽度调整大小。(自动调整高度)
        

    [amtyThumbOnly width=50]

    [amtyThumbOnly width = 50]

    For any doubt or query visit wp-thumb-extractor

    如有任何疑问或疑问,请访问 wp-thumb-extractor

    Usage examples:

    用法示例:

    Importatnt:

    重要提示:

    Width and Height both are supposed to be provided

    应该同时提供宽度和高度

    if constrain is 0 then image will be streched, if it is 1 then it’ll be resized in ratio

    如果约束为0,则将拉伸图像;如果为1,则将按比例调整大小

    Resize an image to 25 x 25;

    将图片尺寸调整为25 x 25;

    default zoom

    默认缩放

    amty_lead_img(25,25,”,’path/to/image.jpg’);

    amty_lead_img(25,25,“,'path / to / image.jpg');

    Resize an image to 25 x 25, cropping

    将图像尺寸调整为25 x 25,裁剪

    amty_lead_img(25,25,”,’path/to/image.jpg’,”,1);

    amty_lead_img(25,25,”,'path / to / image.jpg',”,1);

    Resize an image to 50% the size

    将图像调整为尺寸的50%

    amty_lead_img(”,”,”,’path/to/image.jpg’,50);

    amty_lead_img(“,”,“,'path / to / image.jpg',50);

    Resize an image to 50 pixels wide and autocompute the height

    将图像调整为50像素宽并自动计算高度

    amty_lead_img(50,”,”,’path/to/image.jpg’);

    amty_lead_img(50,”,”,’path / to / image.jpg’);

    Resize an image to 100 pixels tall and autocompute the width

    将图像调整为100像素高,并自动计算宽度

    amty_lead_img(”,50,”,’path/to/image.jpg’);

    amty_lead_img(“,50,”,'path / to / image.jpg');

    Resize to 50 pixels width OR 100 pixels tall, whichever resulting image is smaller

    调整为50像素宽或100像素高,以较小的图像为准

    amty_lead_img(50,100,1,’path/to/image.jpg’);

    amty_lead_img(50,100,1,'path / to / image.jpg');

    Resize first image of current post

    调整当前帖子的第一张图片

    amty_lead_img($w,$h,1,”,”,0);

    amty_lead_img($ w,$ h,1,”,'',0);

    For direct recaching

    直接获取

    use getAmtyThumbRecacheLink($pid) somewhere in your theme.

    在主题的某个位置使用getAmtyThumbRecacheLink($ pid)。

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

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Autocomplete Post Search自动完成帖子搜索
[wordpress插件] BuddyPress Favorite NotificationBuddyPress收藏夹通知
[wordpress插件] Bible Text圣经经文
[wordpress插件] Cusmin URL Shortener孜然URL缩短剂
[wordpress插件] Categorize your Wishlist for Woocomerce,Posts & Custom Post Types将您的心愿单分类为Woocomerce,帖子和自定义帖子类型
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 7990
问题? 7222
如何快速搭建抽奖助手小程序(无需代码知识) 5014
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 5966
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 5491
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 5189
如何解决渲染层网络错误Failed to load media? 16544
小程序找号找回 释放昵称? 2412
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 2491
删除部分微信用户个人数据的通知,怎么删除? 5529