New thumbnail preview window awful?

smeek90

New member
Or just me?

1. Takes a lot longer to load
2. Only shows one image at a time
3. Has some weird ugly white gradient at the bottom
4. Some thumbnails get clipped in preview so you cant even tell what it shows

In old version you just hover and it instantly shows 4 or so images. Here you gotta wait a long time for one to show.
 

birdas

Member
dear new member. I would suggest just some politeness in your comment. Aren't there any new features you like?
 

huh

New member
I'm with you, give us back the old preview. It was way faster and with multi images.
 

smeek90

New member
dear new member. I would suggest just some politeness in your comment. Aren't there any new features you like?
Dear mod, My comment had plenty of politeness in it, if I wasn't polite I'd get banned because I have nothing but unpleasantries with the new forum. I do not think there are new features that I actually noticed. Only some old ones that work worse or not at all, like no previews in search results?

Can I send this back to the cook and have him finish cooking?
 

mookieboy

New member
Previews have definitely become...well, useless now. It's hit-miss whether or not an image is actually in the preview anymore, and it's now the first post image instead of the newest post being shown, and like OP said, slower, truncated and only 1 image. Such a shame.
 

SAN

Global Moderator
Staff member
our admin is actually working on a new plugin to restore the old preview window, actually there's not a plugin who works the same for XenForo 2.1 so you all need a bit of patience. When the new plugin will be ready and tested it'll be implemented on this "new" board too

SAN
 

spacecadet

New member
Previews have definitely become...well, useless now. It's hit-miss whether or not an image is actually in the preview anymore, and it's now the first post image instead of the newest post being shown, and like OP said, slower, truncated and only 1 image. Such a shame.
This could be temporarily rectified with a global announcement instructing posters to always have an image at the top, instead of info and download links. Until the old images-only preview can be ported to this version of the forum, info/links should be at the bottom of posts.
 

jerm138

New member
I agree with the above posts. The best thing about this site was the hover-preview with multiple pics. Now the preview is far less useful.

It's not a complaint, just an observation. Hoping they can figure it out. Cheers!
 

Croata7

New member
It's not a solution, but maybe it could help you bear the meanwhile until the improvements from the K-K staff arrives...

Here's a TamperMonkey script (mainly tested in Firefox) with the following features:

- Sets the width of the preview popup to 95% and height to 300px
- Keeps only links and images in the content
- Deletes the lower gradient-veil
- It loads the first thumbnail and 8 another random ones; instead of the whole set :)

JavaScript:
// ==UserScript==
// @name         Kitty Kats - improve thumbnails
// @namespace    http://kitty-kats.net/
// @version      0.2
// @description  faster thumbnails load & display
// @author       Croata7
// @match        http://kitty-kats.net/*
// @require      http://code.jquery.com/jquery-latest.min.js
// @require      https://raw.githubusercontent.com/pie6k/jquery.initialize/master/jquery.initialize.min.js
// @grant        none
// ==/UserScript==


$(document).ready(function() {
    'use strict';

    $.initialize(".tooltip", function() {
        // width to 95%
        $(this).css("width", "95%");

        // height
        $.initialize(".tooltip-content-inner", function() {
            $(this).css("max-height", 300).css("overflow", "auto");
        }, { target: this });
    }, { target: document.body });


    // change tooltip previewer to display only a few random (8) thumbnails
    XF.PreviewTooltip.prototype.loaded = function (a, b) {
        var c = null;
        if (a.html) {
            var od = document.implementation.createHTMLDocument('virtual');
            c = $(a.html.content, od);
            $('*:not(:has(*))', c).not("a, img").remove(); // remove leaf who isn't <a> nor <img>
            var n = $("img", c).length;
            while (n > 9) {
                $("img:eq(" + (1 + Math.floor((n-1) * Math.random())) + ")", c).parent().remove();
                n = $("img", c).length;
            }
        }
        c && XF.setupHtmlInsert(c[0].innerHTML, function (x, d, e) { b(x) });
    };

    // trigger eager loading of thumbnails for every link
    XF.Element.getHandlers('preview-tooltip').forEach( function(tt, i) {
        tt.options.delay = 100;
        tt.trigger.options.delayIn = 300;
        tt.trigger.options.delayInLoading = 0;
        tt.trigger.options.delayOut = 100;
        setTimeout(function() { tt.trigger.focusEnter(); }, 1000 * i);
        setTimeout(function() { tt.trigger.hide(); }, 1000 * i + 200);
    });

});
 
Last edited by a moderator:

LeRoi

New member
I'm really glad this is being talked about. The impact on the experience of KK due to the new preview function's tedious performance is surprisingly heavy. I keep avoiding the site because I get halfway down a page before becoming too irritated by it.

Generally, I hate it when site formats update, because it almost always seems to be pursuing tiresome aesthetic trends (minimalist interfaces, etc) that actually make the site less easy-to-use, and remove more features than it adds.

So far I'm finding the new format here is not too bad. I find it makes it a bit harder to focus and browse/scroll, but I might just need to get used to it.

By far, the biggest real problem is the preview function, so I'm glad that the admins are aware of the issue and are looking for a solution. Thanks!
 
Top