Mirror Images

Mirror Images [Paid] 1.1.0

No permission to buy ($25.00)

Faust

Well-known member
I just purchased this addon, and tried to rebuild cache, and seems I have this issue:

GuzzleHttp\Exception\ServerException: Server error: POST http://api.resmush.it/ws.php resulted in a 503 Service Temporarily Unavailable response: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmln (truncated...) in src/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php at line 113

Looking forward to a fix, otherwise, I would like a refund.
 

NixFifty

XenForo developer
Staff member
I just purchased this addon, and tried to rebuild cache, and seems I have this issue:



Looking forward to a fix, otherwise, I would like a refund.
You’re going to have to post the full stack trace for that error to be of any use. In addition, while I don’t have the code in front of me right now, I don’t recall this add-on making requests to remush.it.
 

Faust

Well-known member
You’re going to have to post the full stack trace for that error to be of any use. In addition, while I don’t have the code in front of me right now, I don’t recall this add-on making requests to remush.it.
Can I open a tickets on your forum?
 

benFF

Active member
Be nice if this had an option to exclude nodes from the mirroring.
This is so unbelievably simple to add, I'll post it here incase anyone wants to do it.

Create a new option:
1652719365094.png

Edit file src/addons/NF/MirrorImages/XF/Service/Message/Preparer.php

Find (Line 29):
PHP:
if ($this->context == 'post')

Replace:
PHP:
if ($this->context == 'post' && in_array($this->messageEntity->Thread->node_id ?? 0, $this->app->options()->nfMirrorImagesExcludeForums) == false)

Voila :)
 

benFF

Active member
my bad.. even though they are labeled as “articles” I just viewed them as posts just presented in a different way.
I've rewritten this to support AMS (Articles and Pages) and Showcase (Items and Updates) - Assuming it's ok with @NixFifty and you can prove you have a license, I can send you my version.
 

voom

Member
Is there any chance this could be extended to also work with profile posts? They have the ability to add attachments and the editor button to include external images as well, and the mirroring is good for GDPR compliance.

I already have a licence and this is the only thing for me that is missing....
 

rdn

Well-known member
Anyone using this addon with [TH] Image Optimizer?
Does it work fine and still optimize the image attachment?
 
Top