simpleadmingallery.phtml 944 Bytes

<?php
$params=$this->getRequest()->getParams();
D::ulli('Test sg.phtml',1);		
?>





<?php $NcImagesForCustomer = Mage::helper('anc_image/ncmodel')->getNcImagesForAlbum($params['id']);  ?>

<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 DS.$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>