diff --git a/includes/get_products.html b/includes/get_products.html
index 796b641..0bf5485 100644
--- a/includes/get_products.html
+++ b/includes/get_products.html
@@ -24,6 +24,7 @@
 		'deliveryPossible' => v::vtget('DeliveryPossible'),
 		'vatRate1' => v::vtglobal('pxtcVatRate'),
 		'vatRate2' => v::vtglobal('pxtcVatRate2'),
+		'userName' => v::vtuser('name'),
 		'userGroups' => v::vtuser('groups'),
 		'preferEnglish' => v::vtget('Language') != 'de' ? '1' : '' 
 	) ) }}
diff --git a/views/gallery_r.html b/views/gallery_r.html
index 1c3b981..91b36fb 100644
--- a/views/gallery_r.html
+++ b/views/gallery_r.html
@@ -269,11 +269,14 @@
 			<script src="resources/lightgallery/lightgallery.min.js"></script>
 			<script src="resources/lightgallery/plugins/zoom/lg-zoom.min.js"></script>
 			<script src="resources/lightgallery/plugins/fullscreen/lg-fullscreen.min.js"></script>
+			<script>var activePlugins = [ lgZoom, lgFullscreen ];</script>
 			<!--{{vtIf: {vtGlobal:pxtcNaviLightboxBehaviour} .neq. -1 }}-->
 				<script src="resources/lg-flagging.js"></script>
+				<script>activePlugins.push( lgFlagging );</script>
 			<!--{{vtEndIf}}-->
 			<!--{{vtIf: {vtGet:ShowCartButtons} .eq. 1 }}-->
 				<script src="resources/lg-cart.js"></script>
+				<script>activePlugins.push( lgCart );</script>
 			<!--{{vtEndIf}}-->
 			<?php function remove_linebreaks( $string ) { return str_replace( array( "\r\n", "\r", "\n" ), ' ', $string ); } ?>
 		<!--{{vtEndIf}}-->
@@ -299,7 +302,7 @@
 			$( document ).ready( function(){
 				// {{vtIf: {vtGlobal:pxtcGalleryViewer} .eq. 1 }}
 				lightGallery = lightGallery( document.getElementById('gallery'), {
-					plugins: [ lgZoom, lgFullscreen, lgFlagging, lgCart ],
+					plugins: activePlugins,
 					licenseKey: '7F34D92A-BAF14E85-B3730431-A98526B0',
 					speed: 500,
 					//index: $('img[data-lg="1"]').index(this),
@@ -317,8 +320,7 @@
 							'subHtml': '<span id="lgSubHtml"><br>{{vtItem:title,escaped|remove_linebreaks}} <a href="{{vtItem:link}}" class="text-nowrap"><i class="fas fa-info-circle ml-2 mr-1"></i>{{vtGet:s_btn_details}}</a></span>',
 							'elementId': 'gallery-item-{{vtItem:id}}',
 							'productList': '{{vtLink:-pg="{vtItem:id}",-met="ajax/order_dialog.html"}}',
-							//'download': '{{vtItem:name}}',
-							//'downloadUrl': 'https://www.pixtacy.de/data/media/418_vtimg3.jpg',
+							'downloadUrl': '{{vtLink: -pg="{vtItem:id}", -met="download" }}',
 						},
 						// {{vtEndIf}}
 						// {{vtEndRepeat}}
