-
AuthorPosts
-
ibewguy Friend
ibewguy
- Join date:
- July 2011
- Posts:
- 255
- Downloads:
- 18
- Uploads:
- 6
- Thanks:
- 62
- Thanked:
- 9 times in 2 posts
May 12, 2017 at 12:35 am #1033372For some reason I have one image on my homepage that is clickable and I do not know what is causing it. If I click on it then it will show the full size image popup – I want to turn this feature off and have successfully done so by selecting JA Lens Blog layout on K2 Category and JA Lens layout on Menu items – but I still have one K2 article that is still clickable!!? This is only happening on ONE K2 item??
ibewguy Friendibewguy
- Join date:
- July 2011
- Posts:
- 255
- Downloads:
- 18
- Uploads:
- 6
- Thanks:
- 62
- Thanked:
- 9 times in 2 posts
May 12, 2017 at 12:39 am #1033375Clearing the cache make it worse
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 12, 2017 at 10:11 am #1033544Hi,
JA Lens template provides option to show popup image, if you don’t want this feature, you can turn it off via Admin panel > Extensions > Templates > JA Lens template > set ‘Popup Preview’ to ‘No’: http://prntscr.com/f6y049
Regards
1 user says Thank You to Saguaros for this useful post
ibewguy Friendibewguy
- Join date:
- July 2011
- Posts:
- 255
- Downloads:
- 18
- Uploads:
- 6
- Thanks:
- 62
- Thanked:
- 9 times in 2 posts
May 12, 2017 at 7:16 pm #1033631Thanks @saguaros, but I wanted to keep the "preview" functionality of JA_Lens on the Home page and prevent the image popup – the "Click to Preview Image" was found in the item.php file under the following directory:
components/com_k2/templates/default/item.php
From there if you comment-out the code then that will disable the image preview function. Using Notepad ++ I edited line 210 as shown below!
<!-- <a class="modal" rel="{handler: 'image'}" href="<?php echo $this->item->imageXLarge; ?>" title="<?php echo JText::_('K2_CLICK_TO_PREVIEW_IMAGE'); ?>"> -->
I hope this helps someone else!
ibewguy Friendibewguy
- Join date:
- July 2011
- Posts:
- 255
- Downloads:
- 18
- Uploads:
- 6
- Thanks:
- 62
- Thanked:
- 9 times in 2 posts
May 13, 2017 at 1:11 pm #1033715I found the line in two other places that also need to be "commented out" to eliminate the K2 "Click to preview image" issue on the home page. Comment-out this line of code in the two item.php files located in the following two directories:
/templates/ja_lens/html/com_k2/ja_lens
/templates/ja_lens/html/com_k2/ja_lens_blogAnd also in the one mentioned above:
components/com_k2/templates/default/item.php1 user says Thank You to ibewguy for this useful post
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 14, 2017 at 3:34 pm #1033849Glad to here that you sorted it out!
Have a nice day!!!
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 5 replies, has 2 voices, and was last updated by Saguaros 7 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
TURN OFF IMAGE POP UP
Viewing 6 posts - 1 through 6 (of 6 total)