<?php
 
	$arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->view['data']['id'])); 

?>

<div style="padding:15px; background-color:#999999;">
	
	<?php echo __('100x100', 'wpsg'); ?><br />
	<div style="width:100px; height:100px; display:block; background-color:red;"></div>
	
	<?php foreach ($arBilder as $bild) { ?>
	
		<h2><?php echo $bild; ?>:</h2>
	
		<?php echo __('CROP (c)', 'wpsg'); ?><br />
		<img src="<?php echo $this->callMod('wpsg_mod_produktbilder', 'makeTn', array($this->view['data']['id'], $bild, 100, 100, 'c')); ?>" /><br />
		
		<?php echo __('CROP CENTER (cz)', 'wpsg'); ?><br />
		<img src="<?php echo $this->callMod('wpsg_mod_produktbilder', 'makeTn', array($this->view['data']['id'], $bild, 100, 100, 'cz')); ?>" /><br />
		
		<?php echo __('STRETCH (z)', 'wpsg'); ?><br />
		<img src="<?php echo $this->callMod('wpsg_mod_produktbilder', 'makeTn', array($this->view['data']['id'], $bild, 100, 100, 'z')); ?>" /><br />
		
		<?php echo __('NIX (n)', 'wpsg'); ?><br />
		<img src="<?php echo $this->callMod('wpsg_mod_produktbilder', 'makeTn', array($this->view['data']['id'], $bild, 100, 100, 'n')); ?>" /><br />
		
		<?php echo __('SCALE und Freifläche (sz)', 'wpsg'); ?><br />
		<img src="<?php echo $this->callMod('wpsg_mod_produktbilder', 'makeTn', array($this->view['data']['id'], $bild, 100, 100, 'sz')); ?>" /><br />
		
		<?php echo __('SCALE WIDTH (sw)', 'wpsg'); ?><br />
		<img src="<?php echo $this->callMod('wpsg_mod_produktbilder', 'makeTn', array($this->view['data']['id'], $bild, 100, 100, 'sw')); ?>" /><br />
		
		<?php echo __('SCALE HEIGHT (sh)', 'wpsg'); ?><br />
		<img src="<?php echo $this->callMod('wpsg_mod_produktbilder', 'makeTn', array($this->view['data']['id'], $bild, 100, 100, 'sh')); ?>" /><br />
		
		<?php echo __('SCALE INTO (s)', 'wpsg'); ?><br />
		<img src="<?php echo $this->callMod('wpsg_mod_produktbilder', 'makeTn', array($this->view['data']['id'], $bild, 100, 100, 's')); ?>" /><br />
		
	<?php } ?>
		
</div> 