Rewrote image rendering in gallery with lens tags.