Improved gallery image enlarging speed