Article image popup issue

October 2015 Joomla Template
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sat Apr 30, 2016 4:15 pm
Reply with quote
Report this post
Hi,
I am having difficulties finding the reason that makes the article image load like a normal image not in a "light box". Do you know where I can fix this issue? (see the screenshot for a clear view of the issue)
http://imgur.com/Rwki6C7
Thanks,
M.
User avatar
Senior Boarder

GK User
Sun May 01, 2016 11:47 am
Reply with quote
Report this post
Hello,

Please check it in another browser - for me the popup is working fine at our demo.
User avatar
Moderator

GK User
Mon May 02, 2016 10:47 am
Reply with quote
Report this post
Dear Tidy,
You demo is fine, I just use the example to show how it actually is on my site. SO the problem exists only on mine.
Would you please tell me what actually creates this effect? is it a module, template feature, editor feature or plugin? Maybe that would help me figure out what is different on my site.

Thanks,
M.
User avatar
Senior Boarder

GK User
Mon May 02, 2016 9:21 pm
Reply with quote
Report this post
This effect is added to all links around the images which have class="modal".
User avatar
Moderator

GK User
Thu May 05, 2016 7:39 am
Reply with quote
Report this post
Dear Tidy,
I checked the code for images on my side -which are not ok- and cross checked them with the Demo site - which work fine- and both have the same style. Below is mine:
Code: Select all
<a title="Click to preview image" href="/2016/media/k2/items/cache/37dea8ffa708832462f007913262f3b1_XL.jpg" rel="{handler: 'image'}" class="itemImage modal"> <img style="width:1010px; height:auto;" alt="Youth Speak Forum - 17 May 2016, Tehran, Iran" src="/2016/media/k2/items/cache/37dea8ffa708832462f007913262f3b1_L.jpg"> </a>

But still the image opens as you are browsing the image address above.
(If you need access to see what's going on, I have already sent the info via PM to you.)

Thanks,
M.
User avatar
Senior Boarder

GK User
Thu May 05, 2016 9:24 am
Reply with quote
Report this post
Ok, now I know what can cause your issue - did you upgraded K2 to v.2.7? If yes - please upgrade also at least the html/com_k2 directory in your template, because K2 v.2.7 have changed modal dialogs engine and now it is working in a different way with data-k2-modal attributes.
User avatar
Moderator

GK User
Thu May 05, 2016 11:31 am
Reply with quote
Report this post
Dear Tidy,
Worked like a charm.
Thanks,
M.
User avatar
Senior Boarder


cron