improves preloading in gallery pages, changes Image::Styles