Tag Archives: gallery

Preload Next Image in Thickbox

Thickbox is a great image viewer plugin for jQuery. This post is to show how to preload the next image in Thickbox. My example is for wordpress, my version is . 1. Open /wp-includes/js/thickbox/thickbox.js 2. Around line 106, replace the following lines: imgPreloader = new Image(); imgPreloader.onload = function(){}; imgPreloader.onload = null; with: imgPreloader =… Read More »