My question is about how and when images get created inside the product image cache. Specifically, if this code is executed:
$imageTag ='<br><img src="'.Mage::helper('catalog/image')->init($product ,
'small_image')->resize(75).'" border="0" />';
And the following directory exists with 777 permissions:
/media/catalog/product/cache/1/small_image/
But there is no 75x/
subdirectory, will that directory get created and the resized image stored at the correct place? Or does that directory need to be available (through some other process) before attempting to get the URL for the resized image using the Magento helper?