VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

k2 pic items not showing
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: k2 pic items not showing

k2 pic items not showing 25 Aug 2019 12:29 #11782

hi

in category view the pictures of items shown correctly
but in item page of each item , pics not shown

i checked the category and items setting in k2 and everything seems good

  • Posts:20
  • waylander
  • Junior Boarder
  • OFFLINE
  • Karma: 0

Re: k2 pic items not showing 30 Aug 2019 02:19 #11796

Can you please send me the item page url and the super admin access via private message system?

joomfreak

  • Posts:2807
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: k2 pic items not showing 01 Sep 2019 05:14 #11798

hi
yes check your pm
i sent this to you

  • Posts:20
  • waylander
  • Junior Boarder
  • OFFLINE
  • Karma: 0

Re: k2 pic items not showing 11 Sep 2019 02:43 #11828

Where do you want to show picture? Before or after content?

joomfreak

  • Posts:2807
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: k2 pic items not showing 11 Sep 2019 05:19 #11830

in the right place of page(it is empty now,below the tags)

  • Posts:20
  • waylander
  • Junior Boarder
  • OFFLINE
  • Karma: 0

Re: k2 pic items not showing 18 Sep 2019 03:07 #11847

You can edit file templates/jf_salina/html/com_k2/portfolio-masonry/item.php, add code to below the tags (may be at line 178):
 
<?php if($this->item->params->get('itemImage') && !empty($this->item->image)): ?>
<!-- Item Image -->
<div class="itemImageBlock">
<span class="itemImage">
<img src="<?php echo $this->item->image; ?>" alt="<?php if(!empty($this->item->image_caption)) echo K2HelperUtilities::cleanHtml($this->item->image_caption); else echo K2HelperUtilities::cleanHtml($this->item->title); ?>" style="width:<?php echo $this->item->imageWidth; ?>px; height:auto;" />
</span>
 
<?php if($this->item->params->get('itemImageMainCaption') && !empty($this->item->image_caption)): ?>
<!-- Image caption -->
<span class="itemImageCaption"><?php echo $this->item->image_caption; ?></span>
<?php endif; ?>
 
<?php if($this->item->params->get('itemImageMainCredits') && !empty($this->item->image_credits)): ?>
<!-- Image credits -->
<span class="itemImageCredits"><?php echo $this->item->image_credits; ?></span>
<?php endif; ?>
 
<div class="clr"></div>
</div>
<?php endif; ?>
 


joomfreak

  • Posts:2807
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 1.20 seconds
Thursday 19 September 2019

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.