I’m interested in the same thing.
The Vairen class helps with the resizing, but doesn’t appear to help with the caching.
Would be nice if we could use the built in product resize() method, with its caching, on other images as well.
I’m trying to create a dummy product in order to do this, but it’s not quite working for me.
<?php $_tempProduct = Mage::getSingleton('catalog/product') ?>
<img width="400" height="100" src="<?php echo $this->helper('catalog/image')->init($_tempProduct, 'image', 'path_to_image')->resize(400,100) ?>" alt="seller_logo" />
The image just comes up as the Magento placeholder.