- Posts: 2
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] Uploading Images via Image Tab - attribute class
[SOLVED] Uploading Images via Image Tab - attribute class
- Jaroslav
-
Topic Author
- Offline
- New Member
Less
More
10 years 9 months ago #130510
by Jaroslav
[SOLVED] Uploading Images via Image Tab - attribute class was created 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
/components/com_k2/templates/default/item.php
Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 9 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
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
Please Log in or Create an account to join the conversation.
- Jaroslav
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 2
10 years 9 months ago #130512
by Jaroslav
Replied by Jaroslav on topic Re: Uploading Images via Image Tab - attribute class
Yes, it helped me. Now it works OK. Thanks a lot.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 9 months ago #130513
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Uploading Images via Image Tab - attribute class
You're welcome.
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] Uploading Images via Image Tab - attribute class