admin_simpleowngallery.phtml 851 Bytes
						
<?php $NcImagesForCustomer = Mage::helper('anc_image/ncmodel')->getNcImagesForCustomer();  ?>

<ul class="gallery AncGalleryImages">
	<?php foreach($NcImagesForCustomer as $ncimage ): ?>
		<?php $NcImagePath = Mage::helper('anc_image/ncimage')->getNcImagePath($ncimage['entity_id'], 'relative', 'original'); ?>
		<?php $ncimage_title = Mage::helper('anc_image/ncimage')->getNcImageMetaDataAsHtml($ncimage['entity_id']); ?>
		<a data-site="<?php echo $this->getUrl('ancimage/customer/showNcImageForm', array('id'=>$ncimage['entity_id'])) ?>" class="ancimage-showNcImageForm" rel="prettyPhoto[pp_gal2]" href="<?php echo $NcImagePath ?>" title="<?php echo $ncimage_title; ?>">
			<img height="50" src="<?php echo DS.$NcImagePath ?>" class="anc-image-draggable" id="<?php echo $ncimage['entity_id'] ?>" />
		</a>							
	<?php endforeach; ?>
</ul>