Gallery does not display pictures using k2 in Article

Free Joomla module to create slideshow on your website which includes different data like part of articles or text defined by user.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Wed Nov 19, 2014 7:49 pm
Hi,

Gallery does not display pictures in slideshow using k2 in Article
I migrated my joomla version 2.5.27 to 3.2.7, then 3.3.6, updated my template gk_twn2 and also the Image Show GK4ver. 1:48

I have articles on k2 and use images and image gallery.
In the settings of image slide show in GK4 option, edit, content type = K2 Article in image select the image to appear and k2 article in which the article has image gallery ...

But ... when I click on the image to show the gallery does not show more ...
Here is an example:
New version 3.3.6
http://www.feagri.unicamp.br/portal/fac ... a-agricola
photo gallery below, please click ...

Old version 2.5.27
http://www.feagri.unicamp.br/portal_2.5 ... a-agricola
photo gallery below, please click ...

Some problem in updating the 1:48 version for joomla 3.3.6?

Tks,
User avatar
Junior Boarder

GK User
Fri Nov 21, 2014 10:17 am
Hello,

You are using a very old and in general not supported style for Image Show GK4 module. To solve your issue please open the following file: http://www.feagri.unicamp.br/portal/modules/mod_image_show_gk4/styles/gk_sporter2/engine.js and please change the following fragment:
Code: Select all
elm.addEvent("click", function(e){
            new Event(e).stop();
            gk_is_sporter2_popup(popup_handler, $G['width'], $G['height'], overlay_handler, images_array[j].getElement('.gkIsImagePath').innerHTML, images_array[j].getElement('.gkIsTextBlock'),j,images_array,popup_initialized);
            popup_initialized = true;
         });


to:

Code: Select all
elm.addEvent("click", function(e){
            e.stop();
            gk_is_sporter2_popup(popup_handler, $G['width'], $G['height'], overlay_handler, images_array[j].getElement('.gkIsImagePath').innerHTML, images_array[j].getElement('.gkIsTextBlock'),j,images_array,popup_initialized);
            popup_initialized = true;
         });
User avatar
Administrator

GK User
Fri Nov 21, 2014 1:06 pm
dziudek,
Perfect!
There's something that needs to change for this module?
Thank you
User avatar
Junior Boarder

GK User
Sat Nov 22, 2014 6:30 pm
You are using an old version of the module style so you shouldn't update it while you will use the gk_sporter2 style.
User avatar
Administrator


cron