Created
April 10, 2016 09:02
-
-
Save shanDB/3734833f93027d60d334e49c10bce7d4 to your computer and use it in GitHub Desktop.
html/jw_sigpro/Classic/default.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Responsive template override for Simple Image Galley Pro | |
* Using the Classic theme | |
* Uses bootstrap | |
* Should live at: html/jw_sigpro/Classic/default.php | |
* | |
* @version 3.1.x | |
* @package Simple Image Gallery Pro | |
* @author JoomlaWorks - http://www.joomlaworks.net | |
* @copyright Copyright (c) 2006 - 2016 JoomlaWorks Ltd. All rights reserved. | |
* @license http://www.joomlaworks.net/license | |
*/ | |
// no direct access | |
defined('_JEXEC') or die('Restricted access'); | |
?> | |
<div class="row"> | |
<?php foreach($gallery as $count=>$photo): ?> | |
<div class="col-xs-12 col-sm-4 col-md-3"> | |
<span class="sigProLinkOuterWrapper" style="margin: 15px 0; display: block;"> | |
<span class="sigProLinkWrapper"> | |
<a href="<?php echo $photo->sourceImageFilePath; ?>" class="sigProLink<?php echo $extraClass; ?>" style="width:<?php echo $photo->width; ?>px;height:<?php echo $photo->height; ?>px;" rel="<?php echo $relName; ?>[gallery<?php echo $gal_id; ?>]" title="<?php echo $photo->captionDescription.$photo->downloadLink.$modulePosition; ?>" data-fresco-caption="<?php echo $photo->captionDescription.$photo->downloadLink.$modulePosition; ?>" target="_blank"<?php echo $customLinkAttributes; ?>> | |
<?php if(($gal_singlethumbmode && $count==0) || !$gal_singlethumbmode): ?> | |
<img class="sigProImg" src="<?php echo $transparent; ?>" alt="<?php echo JText::_('JW_SIGP_LABELS_08').' '.$photo->filename; ?>" title="<?php echo JText::_('JW_SIGP_LABELS_08').' '.$photo->filename; ?>" style="width:100%; height: auto;background-image:url('<?php echo $photo->thumbImageFilePath; ?>');" /> | |
<?php endif; ?> | |
<?php if($gal_captions): ?> | |
<span class="sigProPseudoCaption"><b><?php echo $photo->captionTitle; ?></b></span> | |
<span class="sigProCaption" title="<?php echo $photo->captionTitle; ?>"><?php echo $photo->captionTitle; ?></span> | |
<?php endif; ?> | |
</a> | |
</span> | |
</span> | |
</div> | |
<?php endforeach; ?> | |
</div> | |
<?php if(isset($flickrSetUrl)): ?> | |
<a class="sigProFlickrSetLink" title="<?php echo $flickrSetTitle; ?>" target="_blank" href="<?php echo $flickrSetUrl; ?>"><?php echo JText::_('JW_SIGP_PLG_FLICKRSET'); ?></a> | |
<?php endif; ?> | |
<?php if($itemPrintURL): ?> | |
<div class="sigProPrintMessage"> | |
<?php echo JText::_('JW_SIGP_PLG_PRINT_MESSAGE'); ?>: | |
<br /> | |
<a title="<?php echo $row->title; ?>" href="<?php echo $itemPrintURL; ?>"><?php echo $itemPrintURL; ?></a> | |
</div> | |
<?php endif; ?> |
Author
shanDB
commented
Apr 10, 2016
- Responsive template override for Simple Image Galley Pro
- Using the Classic theme
- Uses bootstrap
- Should live at: html/jw_sigpro/Classic/default.php
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment