- Posts: 10
COMMUNITY FORUM
image in intro text not appear
- Airo Dump
- Topic Author
- Offline
- New Member
Less
More
11 years 4 months ago #113356
by Airo Dump
image in intro text not appear was created by Airo Dump
hello everyone, i make intro text in my category_item.php like this
become like this<?php echo $this->item->introtext; ?>
and i input article but im not use item image on k2 i just use image inside article. but my image not show up. how can i solve this thanks before.<?php echo K2HelperUtilities::wordLimit($this->item->introtext, 50); ?>
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
11 years 4 months ago #113357
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: image in intro text not appear
Hello Airo,
Word limit strips all tags. If you want your image shown you should manually set an introtext and remove the word limit filter.
Word limit strips all tags. If you want your image shown you should manually set an introtext and remove the word limit filter.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Airo Dump
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
11 years 4 months ago #113358
by Airo Dump
Replied by Airo Dump on topic Re: image in intro text not appear
is there anyway to put intro without use read more manually cause it will be lot easy to use it automatic thanks.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
11 years 4 months ago #113359
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: image in intro text not appear
Not really,
If you use the word limit function, it will strip all your html tags. You can however use the global limit and select which tags not to strip from the component's params.
If you use the word limit function, it will strip all your html tags. You can however use the global limit and select which tags not to strip from the component's params.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Airo Dump
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
11 years 4 months ago #113360
by Airo Dump
Replied by Airo Dump on topic Re: image in intro text not appear
ok thanks ill try it
Please Log in or Create an account to join the conversation.