Updated Gallery plug-in