Mirror Images

Mirror Images [Paid] 1.3.0

No permission to buy ($25.00)
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.
 
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.
 
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?
 
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.webp

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 :)
 
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.
 
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....
 
Anyone using this addon with [TH] Image Optimizer?
Does it work fine and still optimize the image attachment?
 
How to ignore any CLI errors and just proceed with the image import.

Right now I'm running this:
php cmd.php xf-rebuild:nf-mirror-images --resume -n

But every time it encounters a problematic IMG BBCode, it stops the task.
Like this error:
Unable to parse URI

It would be great if the error log also includes the POST ID with problematic BBCode so we can easily fix them.
 
When a remote image is embedded (and converted as attachment using this addon)
Images are uploaded twice and other one always "Unassociated".

Related report: https://xenforo.com/community/threads/tl-image-optimizer-for-xf-2-x-paid.140261/post-1582952
Same issue happens when I previously use the Themehouse Image Optimizer, so it's seems an issue with this addon.

This is causing me new issue with XF 2.2.10 P1 :|
I'll take a look at this in a little bit and report back.
 
  • Love
Reactions: rdn
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.
Sorry, just seeing this now. If you send me your changes, I can incorporate them in to the main version so you don't need to juggle versions.
 
When a remote image is embedded (and converted as attachment using this addon)
Images are uploaded twice and other one always "Unassociated".

Related report: https://xenforo.com/community/threads/tl-image-optimizer-for-xf-2-x-paid.140261/post-1582952
Same issue happens when I previously use the Themehouse Image Optimizer, so it's seems an issue with this addon.
This is causing me new issue with XF 2.2.10 P1 :|
I can't reproduce this. When I hotlink an image and submit a post, it is correctly replaced with an attachment. There is only one new attachment added and it's associated with the post I submitted.

Can you provide some definitive reproduction steps and confirm this issue occurs when other add-ons except for this one are disabled?
 
Top Bottom