XenForo Modifications

Convert Image 4.3

Submitted by nulledatbirth, , Thread ID: 28965

Thread Closed
03-02-2017, 04:51 PM
This post was last modified: 03-02-2017, 04:54 PM by nulledatbirth
#1
Compatible XF Versions:
  • 1.2
  • 1.3
  • 1.4
  • 1.5
Description:

The Convert Image add-on will convert hot linked images in messages to attachments. Hot linked images are those images that have been inserted using the Image icon in the editor toolbar.

Quote:Note: In addition to this add-on, please be sure to install the Convert Image All add-on located here:

http://xenforo.com/community/resources/c...-all.2527/

The Convert Image All add-on will convert all hot linked images on your forum. It is also very useful to use every few months to verify all images have been properly converted to attachments.

(Example of hot linked image)

[Image: pic001-jpg.60745]

(Example of attachment)

[Image: pic002-jpg.60746]

Features:
  • Linked images are immediately converted after message is saved.
  • Images resizing is done with ImageMagick for best quality.
  • Images resized to maximum width and height settings in Admin Control Panel.
  • Setting for inserting full-size or thumbnail attachments.
  • Setting for temporary image path.
  • Setting for optional log file.
  • Setting for ImageMagick environment path.
  • Attachment links automatically removed on full size attachments.
Requirements:
  • Requires ImageMagick to be enabled on your server.
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 suggest using 1600 x 1600.

[Image: pic003-jpg.71586]

Admin CP -> Home -> Options -> Attachments

Convert Image Options:

[Image: pic004-jpg.142967]

Installation:
  1. Download convertimage_v4.3.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.3.xml file.
  5. Click the Install Add-on button.
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, those images are not converted and will require manual conversion.

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.


Content locked
This content has been locked. Please login or register in order to unlock it.

Users browsing this thread: 1 Guest(s)