javascript - TYPO3 7.6 none lightbox extensions work -
i'm trying make work lightbox-style image popups, nothing - of extensions not work. seems wrong typo3 config or whatelse. e.e. "perfect lightbox" - installed, template added, in contect images checkboxes "click enlarge" , "lightbox" checked. nothing happens. in browser console no js errors, js files perfect lightbox loaded. in page source piece of code around image looks like:
<a href="http://.../index.php?eid=tx_cms_showpic&file=17&md5=14b002d6aa25f9dd945e2a4e6c21ea4347298d11&parameters%5b0%5d=yto0ontzoju6indpzhroijtzojq6ijgwmg0io3m6njoiagvpz2h0ijtzojq6ijyw&parameters%5b1%5d=mg0io3m6nzoiym9kevrhzyi7czo0mtoipgjvzhkgc3r5bgu9im1hcmdpbjowoybi&parameters%5b2%5d=ywnrz3jvdw5koinmzmy7ij4io3m6ndoid3jhcci7czoznzoipgegahjlzj0iamf2&parameters%5b3%5d=yxnjcmlwddpjbg9zzsgpoyi%2bihwgpc9hpii7fq%3d%3d" onclick="openpic('http:\/\/...\/index.php?eid=tx_cms_showpic\u0026file=17\u0026md5=14b002d6aa25f9dd945e2a4e6c21ea4347298d11\u0026parameters%5b0%5d=yto0ontzoju6indpzhroijtzojq6ijgwmg0io3m6njoiagvpz2h0ijtzojq6ijyw\u0026parameters%5b1%5d=mg0io3m6nzoiym9kevrhzyi7czo0mtoipgjvzhkgc3r5bgu9im1hcmdpbjowoybi\u0026parameters%5b2%5d=ywnrz3jvdw5koinmzmy7ij4io3m6ndoid3jhcci7czoznzoipgegahjlzj0iamf2\u0026parameters%5b3%5d=yxnjcmlwddpjbg9zzsgpoyi%2bihwgpc9hpii7fq%3d%3d','thepicture','width=800,height=600,status=0,menubar=0'); return false;" target="thepicture"> <img src="http://.../fileadmin/_processed_/csm_room_05_3bd2eeb267.jpg" width="150" height="112" alt="" /> </a>
no classes of lightbox generated (should there?)
just stumbled upon problem today, too!
this work in ts-setup:
# deactivate fsc popup, lightbox wrap lib.fluidcontent.settings.media.popup { directimagelink = 1 jswindow = 0 linkparams.atagparams.datawrap = class="lightbox" data-fancybox-group="lb{field:uid}" }
you have change "datawrap"-attributes according lightbox-plugin, given example works fancybox.
( found here: https://forum.typo3.org/index.php/t/213375/ )
Comments
Post a Comment