Joomla / K2; disabling modal image popups on some items
28 December 2010
We are in the middle of designing a new version of plethoradesign.com using Joomla and K2. Most images in our web design portfolio have a large version that can be clicked and enlarged, but in some cases this was not desirable; for example for logos. There was no way to turn off this feature (not easily anyway), so it was time to add this option to K2.
Thanks to a post over at the K2 Forums, we customized our K2 installation so it is now possible to turn off the popup modal link on an item-by-item basis.
The code in item.php is set up so items will show popup links on images by default, but if the item options have been set to disable the popup, it will not be linked.