Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

IMDB enlarge actor pictures on hover

Enlarges actor pictures in IMDB cast lists when you hover over that table row.




Apr 24, 2008
Henrik N Script's author

ebkworldwide: Not something I'd use myself, so I can't justify spending time on it, but feel free to write a script for that based on this one.

 
Apr 24, 2008
ekbworldwide Scriptwright

Is this a crazy idea?

How about if you made a script to enlarge movie posters on hover?

Like this:
http://farm3.static.flickr.com/2245/2437766926_...

 
Apr 6, 2008
ekbworldwide Scriptwright

I just re-installed your script. The problem persists.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Suggestion...

You could post version notes with dates.

Something like this

Version 1.2 (27 Nov. 2007)-- adds link to RottenTomatoes page even if it didn't find a score.
Version 1.1 (26 Oct. 2007)-- fixes error on combined and maindetails pages -- didn't grab movieID correctly.

 
Mar 29, 2008
Henrik N Script's author

I still can't reproduce this issue. It works fine for me. Tried reinstalling the script from this page to make sure I was up to date, and it still works fine.

So this is what the script does. Perhaps someone could look at the page source of a page where this breaks, and tell me where it goes wrong:

It finds all images surrounded by a link with an onclick attribute containing the text "tinyhead". This should be the actor pictures.

It then takes the image URL and replaces
_SX123_SY456_
with
_SX100_SY150_
where 123 and 456 can be any numbers.

What are the actor picture URLs? What are the onclicks of their links?

 
Mar 29, 2008
TonyS User

I'm experiencing the same thing as ekbworldwide. The enlarging part does work, but the picture is blurred. IIRC, this happened a couple of months ago and an update fixed it.

 
Mar 24, 2008
Quivis User

Ooops, sorry. That's from old code. Oh, well. It works for me. ;-)

 
Mar 24, 2008
Quivis User

Had the same problem. Changed this function:

with_each(tiny_heads_xp, function(img) {
img.src = img.src.replace(/_SX23_SY30_\.(jpg|gif|png)$/, '_SY140_SX100_.$1'); //<-->

Seems they're changing stuff around on imdb from time to time.

 
Mar 22, 2008
ekbworldwide Scriptwright

Hmmm....

I turned off all my idmb scripts - and I also turned of things like "Link Tooltips" - but it was no good. No page at imdb works - all images are blurred.

I'm using Adblock Plus, Adblock Plus Element Hiding Helper, NoScript, Remove it Permanently. I'll play around with the settings to see if I can get your script to work.

 
Mar 22, 2008
Henrik N Script's author

ekbworldwide:

Weird, it Works For Me™. On that page with that actor. The screenshot looks like the enlarging part works, but the thumbnail hasn't been swapped for the larger-size image first.

 
Mar 22, 2008
ekbworldwide Scriptwright

I just upgraded.

It's not working.

image (example of the problem)
http://farm3.static.flickr.com/2033/2350664735_...

Near Dark (1987)
http://www.imdb.com/title/tt0093605/

 
Feb 7, 2008
Henrik N Script's author

Fixed! Thanks for letting me know.

 
Feb 7, 2008
Andreas F User

Does not work anymore, how do you edit the script?

 
Feb 6, 2008
Uqqeli User

Change the regular expression to this:
img.src = img.src.replace(/\/VM\._SX[\d]+_SY[\d]+_\.(jpg|gif|png)$/, '/VM._SX100_SY140_.$1');

 
Feb 6, 2008
Dink Scriptwright

IMDB changed things up a bit...this script doesn't work correctly anymore...could you please update it??...I love this script!!

 
Nov 30, 2007
sw1tch Scriptwright

Just realised how much I missed this script when it stopped working. Thanks Martin and Henrik for the speedy update!

 
Nov 30, 2007
Henrik N Script's author

Marin Purgar: Thanks! Confirmed to work. Updated the script.

 
Nov 30, 2007
dDub User

Marin, the onClick replacement seemed to to the trick! Nice find...

 
Nov 30, 2007
Marin Purgar User

OK, the fix is as follows:

var tiny_heads_xp = "//a[contains(@onclick, 'tinyhead')]/img";

bb4now,
PMC

 
Nov 29, 2007
dDub User

Thanks for the quick response Henrik and a bigger thanks for the script. Best of luck for finding the fix!

 
Nov 28, 2007
Henrik N Script's author

Confirmed it doesn't work. If it's a simple fix, I'll try to get it done later today.

 
Nov 28, 2007
dDub User

Hrmn. Is it just me or has anyone else noticed that this script suddenly stopped working?

I installed the "IMDB google headshot" that is based on this script and it seems to work fine for no image entries.

I took a quick look at the code and did some messing around but couldn't get things to work. I am a little rust with my js'ing so...

 
May 8, 2007
Henrik N Script's author

Cleaned up the code a little; added support for .png extension, though I've never encountered it.

 
Mar 26, 2007
Henrik N Script's author

OnOffPT: You need to install the Greasemonkey extension, then restart Firefox, then click "Install" again. We should add those instructions to the site.

 
Mar 26, 2007
OnOffPT User

How do I install this thing. I'm using Firefox and when I click "Install this script" it just shows the code.
Help please

 
Mar 25, 2007
Henrik N Script's author

Updated:

Now works with GIF actor pictures (Ellen Barkin) as well, while ignoring placeholders.

You could comment on this script if you were logged in.