?> </strong> </a> </div> </div> <!-- image div --> <div class="row-fluid"> <div class="span12" align="center" style="height: <?php echo $com_params->get('storeavatar_height') + 5; ?> px;" > <?php $image = $data['store_avatar']; $img = ''; if (!empty($data['store_avatar'])) { $img = $helperobj->isValidImg($data['store_avatar']); } if (empty($img)) { $img = JUri::base() . 'components' . DS . 'com_quick2cart' . DS . 'images' . DS . 'default_store_image.png'; } ?> <a href="<?php echo $store_link; ?> "> <img class=' img-rounded' src="<?php echo $img; ?> " alt="<?php echo JText::_('QTC_IMG_NOT_FOUND'); ?>
if ($integrate_with != 'none') { ?> <p style="font-size: 13px;"><?php echo JText::sprintf('COM_QUICK2CART_CREATED_BY', $profile_path); ?> </p> <?php } ?> </legend> <span> <?php $img = ''; if (!empty($sinfo['store_avatar'])) { $img = $comquick2cartHelper->isValidImg($sinfo['store_avatar']); } if (empty($img)) { $img = JUri::base() . 'components' . DS . 'com_quick2cart' . DS . 'assets' . DS . 'images' . DS . 'default_store_image.png'; } ?> <img align="right" class='img-rounded img-polaroid qtc_putmargin5px' src="<?php echo $img; ?> " alt="<?php echo JText::_('QTC_IMG_NOT_FOUND'); ?> "/> <p> <?php
echo JText::_('COM_Q2C_EXISTING_IMAGE_MSG'); ?> </p> </div> <div class="text-info"> <p><?php echo JText::_('COM_Q2C_EXISTING_IMAGE'); ?> </p> </div> <div> <?php $img = ''; if (!empty($this->storeinfo[0]->store_avatar)) { $img = $comquick2cartHelper->isValidImg($this->storeinfo[0]->store_avatar); } if (empty($img)) { $img = JUri::base() . 'components' . DS . 'com_quick2cart' . DS . 'images' . DS . 'default_store_image.png'; } ?> <img class='img-rounded img-polaroid' src='<?php echo $img; ?> ' /> </div> <?php } else { ?> <input type="file" name="avatar" id="avatar"
<div class='span12'> <?php $images = !empty($this->itemdetail->images) ? json_decode($this->itemdetail->images, true) : ''; $img = JUri::base() . 'components' . DS . 'com_quick2cart' . DS . 'assets' . DS . 'images' . DS . 'default_product.jpg'; if (!empty($images)) { // Get first key $firstKey = 0; foreach ($images as $key => $img) { $firstKey = $key; break; } require_once JPATH_SITE . DS . 'components' . DS . 'com_quick2cart' . DS . 'helpers' . DS . 'media.php'; $media = new qtc_mediaHelper(); $file_name_without_extension = $media->get_media_file_name_without_extension($images[$firstKey]); $media_extension = $media->get_media_extension($images[$firstKey]); $img = $comquick2cartHelper->isValidImg($file_name_without_extension . '_L.' . $media_extension); if (empty($img)) { $img = JUri::base() . 'components' . DS . 'com_quick2cart' . DS . 'assets' . DS . 'images' . DS . 'default_product.jpg'; } } if (!empty($images)) { ?> <a href="<?php echo $img; ?> " class="swipebox" title="<?php echo $this->itemdetail->name; ?> "> <img itemprop="image" class='img-rounded q2c_image' id="qtc_prod_image" src="<?php
<?php $images = json_decode($data['images'], true); $img = JUri::base() . 'components' . DS . 'com_quick2cart' . DS . 'assets' . DS . 'images' . DS . 'default_product.jpg'; if (!empty($images)) { // Get first key $firstKey = 0; foreach ($images as $key => $img) { $firstKey = $key; break; } require_once JPATH_SITE . DS . 'components' . DS . 'com_quick2cart' . DS . 'helpers' . DS . 'media.php'; // create object of media helper class $media = new qtc_mediaHelper(); $file_name_without_extension = $media->get_media_file_name_without_extension($images[$firstKey]); $media_extension = $media->get_media_extension($images[$firstKey]); $img = $helperobj->isValidImg($file_name_without_extension . '_L.' . $media_extension); if (empty($img)) { $img = JUri::base() . 'components' . DS . 'com_quick2cart' . DS . 'assets' . DS . 'images' . DS . 'default_product.jpg'; } } ?> <div class="caption"> <a title="<?php echo $data['name']; ?> " href="<?php echo $product_link; ?> "> <img class=' img-rounded q2c_pin_image'