Lack of interest CLI command to rebuild attachment thumbnails

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

Jake B.

Well-known member
PHP:
<?php

namespace XF\Cli\Command\Rebuild;

class RebuildAttachmentThumb extends AbstractRebuildCommand
{
    protected function getRebuildName()
    {
        return 'attachment-thumbnails';
    }

    protected function getRebuildDescription()
    {
        return 'Rebuilds attachment thumbnails.';
    }

    protected function getRebuildClass()
    {
        return 'XF:AttachmentThumb';
    }
}
 
Upvote 6
This suggestion has been closed. Votes are no longer accepted.
I would like a new rebuild action with the cmd.php:
xf-rebuild:attachments

So I can rebuild my attachment thumbnails. We have a LOT of attachments and runnig that in the admin gui would probably take days...
 
Bumping this.

"Lack of interest" is rather a poor excuse in my opinion. We moved from XF1 to XF2 a couple of months ago and now face the issue that +270K thumbs are displayed in extremely poor quality.

I tried using the browser, but after 3 days I barely hit 120K.

What do people with larger forums do when they want to change their thumb size?
What is done when customers import their forum and need the thumbs generated?
 
What do people with larger forums do when they want to change their thumb size?
What is done when customers import their forum and need the thumbs generated?
We do as much as we can after days of running the the script from the admin panel and then give up and just live with it, because other things become higher priority. Dealing with nearly 700k attachments is a pain when trying to use the admin tools.
 
Back
Top Bottom