1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Convert Image Resource 1.0

Converts hot linked images in Resource Manager into attachments.

  1. AndyB
    Compatible XF Versions:
    • 1.2
    • 1.3
    • 1.4
    • 1.5
    Description:

    Converts hot linked images in Resource Manager into attachments.

    Features:
    • Linked images are immediately converted after resource is saved.
    • Images resizing is done with ImageMagick for best quality.
    • Images resized to maximum width and height settings.
    Requirements:
    • Requires ImageMagick to be enabled on your server.
    • Requires the ability to execute the PHP exec() command.
    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.

    pic001.jpg

    Admin CP -> Home -> Options -> Attachments

    Convert Image Options:

    pic002.jpg

    Installation:
    1. Download convertimageresource_v1.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-ConvertImageResource_v1.0.xml file.
    5. Click the Install Add-on button.
    Question and Answers:

    Q: Some hot linked image are not converted, why is this?
    A: There are varying reasons why a hot linked image cannot be converted, in the rare occasion this happens upload the image as an attachment manually.

    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.

    Q: Are attachments reused, meaning if the same attachment is located in several posts does each one use up disk space?
    A: Each attachment is saved separately, however this is not a problem these days as disk space is so inexpensive.​

    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.
    JustinHawk likes this.