Keyword

Large images don't appear

  • Nicolas
  • Nicolas's Avatar Topic Author
  • Offline
  • New Member
More
3 months 4 weeks ago #168692 by Nicolas
Nicolas created the topic: Large images don't appear
Hello,

I have an issue with SIG on JOOMLA last version both.

On https://www.sortie-nature-saint-brieuc.fr/fr/activites-nature/balades-nature/173-balade-nature-dans-les-chaos-du-gouetTHIS PAGE , and on https://www.sortie-nature-saint-brieuc.fr/fr/activites-nature/balades-nature/68-decouverte-des-dunes-de-bon-abriTHIIS ONE , thumbnails appear but I can display large images when clicking on thubnails.

According to a "specialist", the problem is due to this code :
(function($) {
            $(document).ready(function() {
                $('a.fancybox-gallery').fancybox({
                    buttons: [
                        'slideShow',
                        'fullScreen',
                        'thumbs',
                        'share',
                        'download',
                        //'zoom',
                        'close'
                    ],
                    beforeShow: function(instance, current) {
                        if (current.type === 'image') {
                            var title = current.opts.$orig.attr('title');
                            current.opts.caption = (title.length ? '<b class="fancyboxCounter">Image ' + (current.index + 1) + ' of ' + instance.group.length + '</b>' + ' | ' + title : '');
                        }
                    }
                });
            });
        })(jQuery);

Do you have any idea about how to fix that ?

Thanks by advance !

Please Log in or Create an account to join the conversation.

More
3 months 3 weeks ago #168694 by Nadal Kumar
Nadal Kumar replied the topic: Large images don't appear
Try clearing the cache

Please Log in or Create an account to join the conversation.

  • Nicolas
  • Nicolas's Avatar Topic Author
  • Offline
  • New Member
More
3 months 3 weeks ago #168695 by Nicolas
Nicolas replied the topic: Large images don't appear
Thanks for your answer.

But it's not working...

Thanks by advance for another idea...

Cheers,

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 months 1 week ago #168863 by Fotis
Fotis replied the topic: Large images don't appear
Disable JavaScript compression in JCH Optimize. Such performance tricks don't always work out of the box.


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Nicolas
  • Nicolas's Avatar Topic Author
  • Offline
  • New Member
More
2 months 4 weeks ago #169070 by Nicolas
Nicolas replied the topic: Large images don't appear
Not working as well...

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
2 months 4 weeks ago #169073 by Fotis
Fotis replied the topic: Large images don't appear
a) Disable JCH optimization/compression for JavaScript.
b) Identify the 2nd instance of Fancybox being loaded and disable it.

The problem is that you have 2 different versions of Fancybox loaded in your page with the other one being older that the one that SIG uses. Once you identify and shut the other one off (probably coming from the template), you'll be fine.


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.