unanswered Intro image - intro text

7 years 10 months ago #8379 by Tel-e-universum Ltd. 1028 Budapest, Vadkorte utca 1. Hungary
Why not working this code:
<div class="row-fluid">
<?php if (isset($images->image_intro) && !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); ?> col-lg-4 col-lg-reset col-md-4 col-md-reset col-sm-4 col-sm-reset col-xs-12 col-xs-reset">
<?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 endif; ?>

<?php if (isset($images->image_intro) && !empty($images->image_intro)) { ?>
<div class="col-lg-8 col-lg-reset col-md-8 col-md-reset col-sm-8 col-sm-reset col-xs-12 col-xs-reset">
<?php } ELSE { ?>

<div class="col-lg-12 col-lg-reset col-md-12 col-md-reset col-sm-12 col-sm-reset col-xs-12 col-xs-reset">
<?php }?>
<?php echo $this->item->introtext; ?>

When I edit the article, I put the picture as intro and full image in 'images and links' tab. This picture should appear in the bolded (accentuated) line of the code part I've inserted above. But it isn't there, it is placed simply to the intro text. Could you tell me why this happens?

Please Log in or Create an account to join the conversation.

Time to create page: 0.231 seconds

About Growth

Innovative tech for eCommerce growth

Contact Info

Head: No. 3, 175/55 Lane, Lac Long Quan St., Nghia Do Ward, Cau Giay District, Hanoi City, Vietnam