Keyword

Large images don't appear

  • Nicolas
  • Nicolas's Avatar Topic Author
  • Offline
  • New Member
More
4 years 6 days ago #168692 by Nicolas
Large images don't appear was created by Nicolas
Hello,

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

On www.sortie-nature-saint-brieuc.fr/fr/activites-nature/balades-nature/173-balade-nature-dans-les-chaos-du-gouetTHIS PAGE , and on 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
4 years 5 days ago #168694 by Nadal Kumar
Replied by Nadal Kumar on 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
4 years 5 days ago #168695 by Nicolas
Replied by Nicolas on 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.

More
3 years 11 months ago #168863 by JoomlaWorks
Replied by JoomlaWorks on topic Large images don't appear
Disable JavaScript compression in JCH Optimize. Such performance tricks don't always work out of the box.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Nicolas
  • Nicolas's Avatar Topic Author
  • Offline
  • New Member
More
3 years 11 months ago #169070 by Nicolas
Replied by Nicolas on topic Large images don't appear
Not working as well...

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

More
3 years 11 months ago #169073 by JoomlaWorks
Replied by JoomlaWorks on 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.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum