Replies: 1 comment 9 replies
-
To do that, you'll want to use something like tampermonkey and create a script which executes on full credit pages. This will do what you are wanting: // ==UserScript==
// @name Big actor images
// @namespace http://tampermonkey.net/
// @version 2024-12-06
// @description Expands actors images
// @author Lilia
// @include /^https?:\/\/www\.imdb\.com\/title\/tt\d+\/fullcredits\/?\?ref_.*$/
// @icon https://www.google.com/s2/favicons?sz=64&domain=imdb.com
// @grant none
// ==/UserScript==
// @require https://code.jquery.com/jquery-3.4.2.min.js
$(function(){
'use strict';
$('img[src*="._V1"]:not(.poster, [title*="list image"]), img.loadlate:not([title*="list image"])').filter(function() { return $($(this).parent('div')[0]).siblings('a[href*="/video/"], a[href*="/videoplayer/"]').length == 0 }).each(function () {
const elem = $(this);
let url = elem.attr('loadlate') || elem.attr('src');
url = url.replace(/\._V1.*\./, '._V1._SX600_SY600_.');
elem.attr('loadlate', url)
elem.attr('src', url)
elem.css({"height":"auto", "width":"auto", "max-width":"26rem"});
});
}); |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi, i wonder if there is a way to permanently enlarge the actors' images on imdb's full credit pages like this.
i know it's technically no longer is a hover... thanks for reading
Beta Was this translation helpful? Give feedback.
All reactions