The hack allows you to replace the standard image magnification functionality in DLE - c Highslide with FancyBox. It also works for additional fields.
DLE version: 13.x-14.x
Encoding: utf-8
Interface: English, Russian
Author: Ticcix
Installation:
1. Connect the hack through the plugin system.
2. Open main.tpl and find:
</head>
Add above:
<link rel="stylesheet" type="text/css" href="{THEME}/css/jquery.fancybox.min.css">
Find:
</body>
Add above:
<script src="{THEME}/js/jquery.fancybox.min.js"></script>
<script>
$('[data-fancybox]').fancybox({
loop: true,
buttons: [
"zoom",
"share",
"slideShow",
"fullScreen",
"download",
"thumbs",
"close"
],
autoFocus: false
});
</script>
Ready!