[TYPO3-shop] Image creation

Franz Holzinger franz at fholzinger.com
Fri Jan 5 15:42:50 CET 2007


Hello David,

> Where does tt_prodcuts exactly process the images? I want to give a path 
> (from a DB field) and process it the same tt_product treats the normal 
> product image(s)

Nomen est omen.
Have a look at lib/class.tx_ttproducts_image.php .

if (isset($dirname))	{
	$dirname .= '/';
} else if($imageRow['file_mime_type'] == 'image' && 
isset($imageRow['file_path']))	{
	$dirname = $imageRow['file_path'];
} else {
		$dirname = 'uploads/pics/';
}


- Franz









More information about the TYPO3-project-tt-products mailing list