1. 游客欢迎来到XFUM社区,请仔细阅读本站规则
    下载中心的资源要先点赞再购买才能下载,商店是不需要点赞的
  2. 如何购买积分下载资源,请看此贴

Add-on Convert Image All 6.4

把所有的图片链接变成图片附件

  1. admin
    兼容XenForo版本:
    •   1.2
    •   1.3
    •   1.4
    •   1.5
    安装需求:
    Convert Image

    Requires ImageMagick to be installed on your server
    Requires exec() and chmod execution
    Description:

    The Convert Image All add-on will convert hot linked images to attachments.

    The hot linked image will be replaced by a full size inline attachment.

    (hot linked image)

    pic001.jpg

    (attachment)

    pic002.jpg

    This add-on is designed to convert all existing hot linked images contained in all posts. It should also be used every few months to verify there are no hot linked images on your forum.

    The Convert Image add-on will convert hot linked images immediately after a message is saved.
    Key Features:
    • Images resized using ImageMagick for highest quality
    • Images resized to maximum width and height settings in Admin Control Panel (Options -> Attachments)
    • Setting for temporary image directory
    Requirements:
    • Requires ImageMagick to be installed on your server
    • Requires exec() and chmod execution
    XenForo Control Panel Requirements:

    This add-on requires a restricted Maximum Attachment Image Dimensions setting. You cannot use 0 or blank as an option. I use the 1600 x 1600 on my forum.

    pic003.jpg

    Admin CP -> Home -> Options -> Attachments

    Installation:
    1. Download convertimageall_v4.0.zip and unzip it.
    2. Upload the Andy folder to your server. The correct location will be library/Andy.
    3. From your Admin Control Panel, go to the "Install Add-on" page.
    4. Upload the addon-ConvertImage_v4.0.xml file.
    5. Click the Install Add-on button.
    Options:

    pic004.jpg

    User Group Permissions:

    Set the Administrative User Group Permissions to "Allow".

    pic005.jpg

    Operation Step 1:

    Be sure to disable any server side database caching programs.

    Operation Step 2:

    Add "convertimageall" to the end of the URL in your browser.

    Examples:

    代码:
    Full Friendly URLs
    http://www.domain.com/convertimageall
    http://www.domain.com/forums/convertimageall
    
    non-Full Friendly URLs
    http://www.domain.com/index.php?convertimageall
    http://www.domain.com/forums/index.php?convertimageall
    At this point you will see the following:

    pic006.jpg

    Operation Step 3:

    To convert hot links images, click the "Update X posts" link.

    At this point you will receive a confirmation "Update successful" message.

    Press the back button. At this point it will appear as nothing has happened because you are looking at a cached page, if you reload the page you will see the next post number to convert.

    Once you have verified the add-on is working correctly, you can increase the Limit in the Options, then reload the page. For example you can set the Limit switch to 1000:

    Click the "Update posts" link and 1000 posts will have hot linked images converted to attachments.

    Question and Answers:

    Q: Some hot linked image are not converted, why is this?
    A: If a hot linked image is corrupt and internal information about width and height are not able to be read, these images are not converted and will require manual fixing.

    Q: Why isn't GD supported?
    A: GD does a terrible job of creating large images.

    Q: Can files in the /tmp/ directory be deleted?
    A: Yes, they are not required.

    Sending a donation:

    If you like this add-on, please consider sending a small donation. My PayPal email address provided upon request via Private Conversation.

    Thank you.

最近更新

  1. See description
  2. See description
  3. See description