The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Photo Revealer troubleshooting Re: Photo Revealer troubleshooting

Chris Coyier

There was a V2 of that thing made at one point that fixed that I think. Code is here: … evealer.js

Note the first line waits for the window to be fully loaded instead of just the DOM, so that image sizes will calculate correctly.