-
AuthorPosts
-
glenng Friend
glenng
- Join date:
- February 2012
- Posts:
- 256
- Downloads:
- 24
- Uploads:
- 64
- Thanks:
- 45
- Thanked:
- 7 times in 1 posts
November 16, 2014 at 11:21 pm #202798Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
November 18, 2014 at 4:53 am #555530Hi @glenng,
Please open file root_folder/templates/ja_wall/html/com_content/category/blog_item.php and look for this code :
<!-- Item Img -->
<div class="item-image">
<?php if (isset($images->image_intro) and !empty($images->image_intro)) : ?>
<?php $imgfloat = (empty($images->float_intro)) ? $params->get('float_intro') : $images->float_intro; ?>
<div class="img-intro-<?php echo htmlspecialchars($imgfloat); ?>">
<?php if ($params->get('link_titles') && $params->get('access-view')) : ?>
<a href="<?php echo $link; ?>" title="<?php echo $atitle ?>" class="item-link">
<?php endif; ?>
<img
<?php if ($images->image_intro_caption):
echo 'class="caption"'.' title="' .htmlspecialchars($images->image_intro_caption) .'"';
endif; ?>
src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"/>
<?php if ($params->get('link_titles') && $params->get('access-view')) : ?>
<span> </span>
<span class="item-pin"> </span>
</a>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
<!-- //Item Img -->then update as below :
<!-- Item Img -->
<div class="item-image">
<?php if (isset($images->image_intro) and !empty($images->image_intro)) : ?>
<?php $imgfloat = (empty($images->float_intro)) ? $params->get('float_intro') : $images->float_intro; ?>
<div class="img-intro-<?php echo htmlspecialchars($imgfloat); ?>">
<?php if ($params->get('link_titles') && $params->get('access-view')) : ?>
<a href="<?php echo $link; ?>" title="<?php echo $atitle ?>" class="item-link">
<?php endif; ?>
<img src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"/>
<?php if ($images->image_intro_caption): ?>
<p class="img_caption"><?php echo htmlspecialchars($images->image_intro_caption); ?></p>
<?php endif; ?>
<?php if ($params->get('link_titles') && $params->get('access-view')) : ?>
<span class="item-pin"> </span>
</a>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
<!-- //Item Img -->Save your file and recheck.
glenng Friendglenng
- Join date:
- February 2012
- Posts:
- 256
- Downloads:
- 24
- Uploads:
- 64
- Thanks:
- 45
- Thanked:
- 7 times in 1 posts
November 18, 2014 at 5:14 pm #555631Thank you Adam,
It has worked for the intro images but not full article images. Any suggestion for that?
Thanks in advance!
Metin
<em>@Adam M 453532 wrote:</em><blockquote>Hi @glenng,
Please open file root_folder/templates/ja_wall/html/com_content/category/blog_item.php and look for this code :
<!-- Item Img -->
<div class="item-image">
<?php if (isset($images->image_intro) and !empty($images->image_intro)) : ?>
<?php $imgfloat = (empty($images->float_intro)) ? $params->get('float_intro') : $images->float_intro; ?>
<div class="img-intro-<?php echo htmlspecialchars($imgfloat); ?>">
<?php if ($params->get('link_titles') && $params->get('access-view')) : ?>
<a href="<?php echo $link; ?>" title="<?php echo $atitle ?>" class="item-link">
<?php endif; ?>
<img
<?php if ($images->image_intro_caption):
echo 'class="caption"'.' title="' .htmlspecialchars($images->image_intro_caption) .'"';
endif; ?>
src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"/>
<?php if ($params->get('link_titles') && $params->get('access-view')) : ?>
<span> </span>
<span class="item-pin"> </span>
</a>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
<!-- //Item Img -->then update as below :
<!-- Item Img -->
<div class="item-image">
<?php if (isset($images->image_intro) and !empty($images->image_intro)) : ?>
<?php $imgfloat = (empty($images->float_intro)) ? $params->get('float_intro') : $images->float_intro; ?>
<div class="img-intro-<?php echo htmlspecialchars($imgfloat); ?>">
<?php if ($params->get('link_titles') && $params->get('access-view')) : ?>
<a href="<?php echo $link; ?>" title="<?php echo $atitle ?>" class="item-link">
<?php endif; ?>
<img src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"/>
<?php if ($images->image_intro_caption): ?>
<p class="img_caption"><?php echo htmlspecialchars($images->image_intro_caption); ?></p>
<?php endif; ?>
<?php if ($params->get('link_titles') && $params->get('access-view')) : ?>
<span class="item-pin"> </span>
</a>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
<!-- //Item Img -->Save your file and recheck.</blockquote>
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
November 19, 2014 at 9:29 am #555758Hi Metin,
Just open file root_folder/templates/ja_wall/html/com_content/article/default.php and look for this code :
<div class="img-fulltext-<?php echo htmlspecialchars($imgfloat); ?>">
<img
<?php if ($images->image_fulltext_caption):
echo 'class="caption"'.' title="' .htmlspecialchars($images->image_fulltext_caption) .'"';
endif; ?>
src="<?php echo htmlspecialchars($images->image_fulltext); ?>" alt="<?php echo htmlspecialchars($images->image_fulltext_alt); ?>"/>
</div>then update as below :
<div class="img-fulltext-<?php echo htmlspecialchars($imgfloat); ?>">
<img src="<?php echo htmlspecialchars($images->image_fulltext); ?>" alt="<?php echo htmlspecialchars($images->image_fulltext_alt); ?>"/>
<?php if ($images->image_fulltext_caption): ?>
<p class="img_caption"><?php echo htmlspecialchars($images->image_fulltext_caption); ?></p>
<?php endif; ?>
</div>1 user says Thank You to Adam M for this useful post
glenng Friendglenng
- Join date:
- February 2012
- Posts:
- 256
- Downloads:
- 24
- Uploads:
- 64
- Thanks:
- 45
- Thanked:
- 7 times in 1 posts
November 19, 2014 at 4:48 pm #555804Thank you very much Adam! It has worked!
AuthorPostsViewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 2 voices, and was last updated by glenng 10 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Image Captions doesn’t show
Viewing 5 posts - 1 through 5 (of 5 total)