- Posts: 6
COMMUNITY FORUM
Show related image in related items
- disqus2me
-
Topic Author
- Offline
- New Member
Less
More
14 years 2 days ago #97410
by disqus2me
Show related image in related items was created by disqus2me
Is there a way to show up related images in the related items view. I am looking in the php php code for item.php and added
<img src="<?php echo $this->item->image; ?>"/>
under the related items but it is picking up the image from the article which is active and not the related item's image. How can I achieve this function?
<img src="<?php echo $this->item->image; ?>"/>
under the related items but it is picking up the image from the article which is active and not the related item's image. How can I achieve this function?
Please Log in or Create an account to join the conversation.
- disqus2me
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 6
13 years 11 months ago #97411
by disqus2me
Replied by disqus2me on topic Show related image in related items
anyone? surely this must be a requested feature....
Please Log in or Create an account to join the conversation.
- Waqas Abdullah
-
- Offline
- New Member
Less
More
- Posts: 1
13 years 10 months ago #97412
by Waqas Abdullah
Replied by Waqas Abdullah on topic Show related image in related items
<img src ="<?php echo $item->imageSmall; ?>"
or
<img src ="<?php echo $item->imageXSmall; ?>"
depends which size image you need.
hope it helps. :)
or
<img src ="<?php echo $item->imageXSmall; ?>"
depends which size image you need.
hope it helps. :)
Please Log in or Create an account to join the conversation.
- disqus2me
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 6
13 years 10 months ago #97413
by disqus2me
Replied by disqus2me on topic Show related image in related items
thank you sir... that worked
Please Log in or Create an account to join the conversation.
- ruigato
-
- Offline
- New Member
Less
More
- Posts: 18
13 years 8 months ago #97414
by ruigato
Replied by ruigato on topic Show related image in related items
Thanks!
Please Log in or Create an account to join the conversation.