Convert Image All

Convert Image All 6.8

No permission to download
@AndyB - I tried this add-on (v5.8) on a test copy of my site and it performed exactly as advertised.

I just wish it would skip images that are hosted on my domain, since they aren't hot linked. If my forum were at "https://mysite.com/forum/", it would be great if any image links to images on the mysite.com domain would be skipped and not converted to attachments.

I use Xenforo Media Gallery, and it should skip any links to images there. So, if there was a link to "https://mysite.com/forum/media/img_2024.218/full", it should not convert it to an attachment. I already have that image hosted on my site twice (original version and a watermarked version), so it doesn't make any sense to store it as an attachment.

Also, we have a bunch of images that we make available for use in posts ("welcome") or signatures at "https://mysite.com/img/welcome.png" and "https://mysite.com/sigs/owner.png". Since these are not hot linked, they should not be converted to attachments.

That's an enhancement which would likely benefit everyone.

Beyond that, I still think it would be nice to add the ability to watermark images converted to attachments, just like Xenforo Media Gallery does (using ImageMagick). I wouldn't expect to retain the original without the watermark - just the watermarked version.

This is a very good add-on and it worked perfectly.
 
Fantastic resource but for some reason I just got the below error (have been using this for a while, just upgraded to 6.0)

Code:
Mysqli prepare error: Unknown column 'convert_image_all_id' in 'order clause'

Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 825
Zend_Db_Adapter_Abstract->fetchOne() in Andy/ConvertImageAll/ControllerPublic/ConvertImageAll.php at line 142
Andy_ConvertImageAll_ControllerPublic_ConvertImageAll->actionIndex() in XenForo/FrontController.php at line 351
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /home/oakleyfo/public_html/index.php at line 13
 
Does this convert signature images? We've just had our site converted to https & threads featuring posts from members with non-https 3rd party hosted images in their signatures are flagging the page up as insecure.
 
touch(): Unable to create file /../../public_html/tmp/convert_115039962 because No such file or directory

Doing manual. Changed nothing since last version. Convert image addon works fine.
 
Last edited:
fixed with reinstall. I don't know what the timeout for each image is set to, but this is extremely slow. I can't even get through 200 without a timeout.
 
Hello @AndyB , amazing addon.

I have covnerted more than 7000 posts and at the end of the proccess there is still 55 posts left that I simply can't convert them. I ask to update them, I wait the proccess, get the success window but when I come back, the screen still shows 55 posts to be updated.

Another question that I would like to ask is if files with "tmpconvert_*NUMNER*" have something to do with this addon.
 
Using version 6.1 of this add-on.

While checking something else recently, I noticed that the cron job for this add-on was inactive. I enabled it. Now I am getting server errors:

Code:
Undefined offset: 0 3 minutes ago - library/Andy/ConvertImageAll/CronEntry/ConvertImageAll.php:190
Undefined offset: 0 3 minutes ago - library/Andy/ConvertImageAll/CronEntry/ConvertImageAll.php:191

Xenforo 1.5.14
PHP 7.1

Any advice?

ADDED:
See below. Fixed in version 6.2
 
Last edited:
Hi - a great resource and given the recent palaver with Photobucket many will be glad they installed it.

One feature request if you get time would be appreciated. It's been mentioned a couple of times previously either a white list of sites to ignore and/or get it to ignore images hot linked on the same site either would do. We have quite a few threads where people have linked to images in other threads on the same site and these get flagged up on the list of images to convert.
 
I am having trouble with using this on my forums. It shows over 70,000 posts as having image tags. But at times I can only do 10 posts at a time before I get a 500 timeout error. I have extended PHP timeouts to 600 seconds, and the process doesn't continue to run in the background as the process stops.

Also, I left the cron entry on overnight and it did nothing. I deleted the lock file today in case that was the cause, and it still does nothing. I'm struggling to get all these posts processed. Any suggestions?
 
I am having trouble with using this on my forums. It shows over 70,000 posts as having image tags. But at times I can only do 10 posts at a time before I get a 500 timeout error. I have extended PHP timeouts to 600 seconds, and the process doesn't continue to run in the background as the process stops.

Also, I left the cron entry on overnight and it did nothing. I deleted the lock file today in case that was the cause, and it still does nothing. I'm struggling to get all these posts processed. Any suggestions?

Had same problem with 400.000 posts and had to optimize server settings. Locating enough ram to mysql was one of those things.
 
Had same problem with 400.000 posts and had to optimize server settings. Locating enough ram to mysql was one of those things.

Andy has been talking me through some steps, but I am struggling on the mysql side of things, I think this is due to limited options being on a shared host. I think certain posts are causing it though, sometimes I can process 75 posts ok, then sometimes it will timeout with 10 posts, unless I change the start post value to bypass some posts.
 
Andy has been talking me through some steps, but I am struggling on the mysql side of things, I think this is due to limited options being on a shared host. I think certain posts are causing it though, sometimes I can process 75 posts ok, then sometimes it will timeout with 10 posts, unless I change the start post value to bypass some posts.

On shared host it is more difficult and some posts contain more images to process that is why.

I suggest getting help from @MattW , he did settings for me and helped me a lot.
https://mattwservices.co.uk/
 
Top Bottom