Keyword

Can you disable the image enlarge feature?

  • atomicdev
  • atomicdev's Avatar Topic Author
  • Offline
  • New Member
More
13 years 1 month ago #99513 by atomicdev
I'm using K2 for my article items and when users click the thumbnail it enlarges in a lightbox and I can't find a way to disable this, does anyone know?

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

  • Yiota
  • Yiota's Avatar
  • Visitor
13 years 1 month ago #99514 by Yiota
Replied by Yiota on topic Can you disable the image enlarge feature?
Do you use K2 template overrides? If yes, open the item.php in the default folder and locate itemImageBlock block. There you will have to remove the <a> element which is responsible of the lightbox.

Don't remove all contents of the <a> element. Inside it there is the actual image.

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

  • atomicdev
  • atomicdev's Avatar Topic Author
  • Offline
  • New Member
More
13 years 1 month ago #99515 by atomicdev
Replied by atomicdev on topic Can you disable the image enlarge feature?
That worked a treat cheers! :)

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


Powered by Kunena Forum