- Compatible XF Versions:
The Convert Image All add-on will convert hot linked images to attachments.
(hot linked image)
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.
- 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
XenForo Control Panel Requirements:
- Requires ImageMagick to be installed on your server
- Requires exec() and chmod execution
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.
Admin CP -> Home -> Options -> Attachments
- Download convertimageall_v3.8.zip and unzip it.
- Upload the Andy folder to your server. The correct location will be library/Andy.
- From your Admin Control Panel, go to the "Install Add-on" page.
- Upload the addon-ConvertImage_v3.8.xml file.
- Click the Install Add-on button.
User Group Permissions:
Set the Administrative User Group Permissions to "Allow".
Operation Step 1:
If using Full Friendly URLs, add "convertimageall/show?limit=1" to the end of the URL in your browser.
If using non-Full Friendly URLs, add "convertimageall/show&limit=1" to the end of the URL in your browser.
Code:Full Friendly URLs http://www.domain.com/convertimageall/show?limit=1 http://www.domain.com/forums/convertimageall/show?limit=1 non-Full Friendly URLs http://www.domain.com/index.php?convertimageall/show&limit=1 http://www.domain.com/forums/index.php?convertimageall/show&limit=1
At this point you will see the following:
Operation Step 2:
To convert hot links images, click the "Update 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 switch in the URL and reload the page. For example you can set the limit switch to 1000 and reload the page:
Click the "Update posts" link and 1000 posts will have the hot links converted to attachments.Code:http://www.yoursite.com/forums/convertimageall/show?limit=1000
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.
- You must like to download this resource
[Free Add-on ] Convert Image All 5.5
Converts ALL hot linked images to attachments.