Keyword

[SOLVED] Uploading Images via Image Tab - attribute class

  • Jaroslav
  • Jaroslav's Avatar Topic Author
  • Offline
  • New Member
More
10 years 2 months ago #130510 by Jaroslav
I need to add class attribute to item/category images because I want to watermark them. I tried to add class in template

/components/com_k2/templates/default/item.php
Log in  or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 2 months ago #130511 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Uploading Images via Image Tab - attribute class
Did you accidentaly paste class='nicewatermark' ? (the part).
Also did you paste the class in the correct item.php file?

This post will help you.
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Jaroslav
  • Jaroslav's Avatar Topic Author
  • Offline
  • New Member
More
10 years 2 months ago #130512 by Jaroslav
Yes, it helped me. Now it works OK. Thanks a lot.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 2 months ago #130513 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Uploading Images via Image Tab - attribute class
You're welcome.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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