Changes to gallery block and custom code inserter

This commit is contained in:
Jeremy Rangel
2024-12-17 17:33:30 -08:00
parent f19e779946
commit 961081128a
4 changed files with 69 additions and 100 deletions

View File

@ -12,80 +12,7 @@
"html": false
},
"attributes": {
"lgSettingsOld" :{
"type": "object",
"default": {
"mode": "fade",
"cssEasing": "ease",
"loop": true,
"keyPress": true,
"controls": true,
"thumbs": false,
"zoom": true,
"slideEndAnimatoin": true,
"fullScreen": true,
"autoplay": false,
"slideShowAutoplay": false,
"autoplayControls": true,
"pauseOnHover": false,
"progressBar": false,
"exThumbImage": "data-exthumbimage",
"showThumbByDefault": false,
"currentPagerPosition": "middle",
"addClass": "",
"isMobile": false,
"mobileSettings": {
"controls": false,
"showCloseIcon": true,
"enableTouch": true,
"enableDrag": true
},
"imageAutoPlay": true,
"slideShowInterval": 5000,
"counter": true,
"closeOnEscape": true,
"showCloseIcon": true,
"swipeThreshold": 50,
"draggable": true,
"slideSpeed": 400,
"hideBarsDelay": 3000,
"dynamic": true,
"dynamicEl": [],
"captionDelay": 0,
"videoMaxWidth": "100%",
"videoAutoplay": true,
"videoJS": false,
"audio": false,
"audioJS": false,
"lightboxWidth": "auto",
"lightboxHeight": "auto",
"videojs": {
"autoplay": true,
"controls": true
},
"gestureSettings": {
"zoom": true,
"drag": true
},
"ariaLabelledby": "lightgallery-caption",
"ariaDescribedby": "lightgallery-description",
"thumbnailSelector": ".lg-thumbnail",
"galleryClass": "lg-gallery",
"selectableThumbs": false,
"slideTransition": "ease-in-out",
"share": false,
"hash": false,
"download": false,
"allowMediaOverlap": false,
"responsive": true,
"fullscreenBtn": true,
"prevHtml": "",
"nextHtml": "",
"closeHtml": "",
"playHtml": "<i class='lg-icon lg-icon-play'></i>",
"pauseHtml": "<i class='lg-icon lg-icon-pause'></i>"
}
},
"parseElementForItems": {
"type": "boolean",
"default": false
@ -119,6 +46,7 @@
"container": "",
"closable": true,
"zoomFromOrigin": false,
"showMaximizeIcon": false,
"plugins": []
}
},
@ -263,6 +191,12 @@
"thumbnailBordersSelected": {
"type": "object"
},
"thumbsBackgroundColor": {
"type": "string"
},
"backdropBackgroundColor": {
"type": "string"
},
"showCaptions": {
"type": "boolean"
},
@ -347,10 +281,6 @@
"type": "boolean",
"default": false
},
"thumbnail": {
"type": "boolean",
"default": true
},
"appendThumbnailsTo": {
"type": "string",
"default": ".lg-components"