Resource icon

MetaMirror 1.6.1

No permission to download
I am in the process of doing an import and I do not want to use this addon anymore.

If I uninstall this addon will I lose my current attachments? Will my current attachments still work?
 
I am in the process of doing an import and I do not want to use this addon anymore.

If I uninstall this addon will I lose my current attachments? Will my current attachments still work?

Metamirror does nothing once it has converted the external files to attachments. However removing MetaMirror will not restore the external links. It should not break anything, just prevent future external files from being rehosted.
 
  • Like
Reactions: DRE
I´ve got slow querys in my mysql log from MetaMirror every 5 Minutes:

Code:
 Time: 131107 11:40:22
# User@Host: myhost @ localhost []  Id: 154743
# Query_time: 1.577506  Lock_time: 0.000094 Rows_sent: 35  Rows_examined: 458325
SET timestamp=1383820822;
SELECT * FROM xf_post
                WHERE  MetaMirror_Processed != 1008
                AND message LIKE '%[/IMG]%'
                LIMIT 0, 1000;

That is not good.
 
I´ve got slow querys in my mysql log from MetaMirror every 5 Minutes:

Code:
 Time: 131107 11:40:22
# User@Host: myhost @ localhost []  Id: 154743
# Query_time: 1.577506  Lock_time: 0.000094 Rows_sent: 35  Rows_examined: 458325
SET timestamp=1383820822;
SELECT * FROM xf_post
                WHERE  MetaMirror_Processed != 1008
                AND message LIKE '%[/IMG]%'
                LIMIT 0, 1000;

That is not good.

You have "Posts per run" set to 1000, the default is 10. It might help to reduce it, however that's more about rehost time than MySQL query, which will grow as it gets through the database.

The cron job is only to rehost existing images. Once it's done (Meta Mirror Test Tool returns no results), you can enable instant rehosting, and disable the Cron Entry for Metamirror, reducing overhead to zero.
 
Hi,

Just a quick question. Does this work with image optimization in XenForo? So if a pic as standard is over the specified limits will it resize it?

Also, is it better from an optimization point of view to use the link or attachment option?

Cheers
 
Hi,

Just a quick question. Does this work with image optimization in XenForo? So if a pic as standard is over the specified limits will it resize it?

Also, is it better from an optimization point of view to use the link or attachment option?

Cheers

No it does not resize images.

I think from a page rendering POV, the direct links will be faster. That's what I use.
 
Thank you for the information.

Would there be any chance of modification, so it could resize the images, otherwise if members are linking to high quality images it could very quickly fill up disc space.
 
Not immediately. I might do an update with various feature requests in a few weeks.

In the meantime, you can limit the file size in the options.
 
Hiya Mick,

Just noticed whilst perusing my forum - I have images hosted on flickr.com that haven't been "imported" - is flickr supported, and if it's not any chance that it may be able to be added at all??

Many thanks again for a great add-on :)

Paul
 
Hiya Mick,

Just noticed whilst perusing my forum - I have images hosted on flickr.com that haven't been "imported" - is flickr supported, and if it's not any chance that it may be able to be added at all??

Many thanks again for a great add-on :)

Paul

Unless the image is within IMG tags then it won't get rehosted. Can you post an example of something that is not getting rehosted?

I just tried it with the BB code for this image, and it worked fine on my site (rehosted the image):

Photograph of John Francis Costigan
by Law Society of Upper Canada Archives, on Flickr
 
Last edited:
Mick,

Many apologies - i just checked again and it seems that the images ARE hosted locally, however the "hover over pic" link still points back to the host flickr image. So metamirror is doing it's job perfectly :)

Sorry for the confusion there....

Paul
 
Why is it caching signatures with this setting:

View attachment 61298

Sorry, that's a bug. It's not checking the sig flag with instant rehosting (just with the cron job). Temp fix is to edit MetaMirror/DataWriter/User.php, line 12 from:

PHP:
        if ($options->MetaMirror_enabled)
to
PHP:
         if ($options->MetaMirror_enabled && $options->MetaMirror_CacheSigImages)

I'm going to take a bit of the weekend to spruce things up and incorporate some recent suggestions.
 
Mick West updated MetaMirror with a new update entry:

Resource manager support and scrambled names

- Fixed sig images ignoring flag on instant rehosting
- Added option to rehost images used resources with Resource manager (cron only)
- Added option to shrink and scramble file names

The fix is for the bug identified today, where sig images were instantly rehosted on sig edit regardless of settings.

The new options are basically the patches that were discussed in previous posts. The new options are:

View attachment 61331
Note the resource rehosting only works via the cron job and test tool. I can't do instant rehosting, as I have no way of testing it.

Read the rest of this update entry...
 
I'm not planning on doing anything with image resizing or dimension limits. Sorry, just too much potential to introduce new bugs.
 
Back
Top Bottom