I have this line from modern theme template:
All normal images resizing is ok, but the placeholders are very small (50x50).
<img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(170, 170); ?>" alt="<?php echo $this->htmlEscape($_product->getName()) ?>"/>
The first problem starts as the thumbnail.jpg is always chosen for placeholder instead of small_image.jpg though init($_product, ‘small_image’) defines to take it.
The second one is that placeholder isn’t resized to 170x170. It seems that resize function is being just ignored.
How should I make placeholders to behave in the way they should?