php - Magento Product Images Not Resizing -


i uninstalled extension , afterwards of product images displayed on category pages resized 135x135 instead of 209x209. checked list.phtml , found:

<a href="<?php echo $_product->getproducturl() ?>" title="<?php echo $this-   >striptags($this->getimagelabel($_product, 'small_image'), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(209); ?>" width="209" height="209" alt="<?php echo $this->striptags($this->getimagelabel($_product, 'small_image'), null, true) ?>" /></a> 

although looks right me find random css attribute appears culprit cannot find source of rule.

img[attributes style] { width: 135px; height: 135px; } 

you can see problem here

an extension overwriting template product list, file modified (list.phtml) isn't what's showing.

if have extensions affecting product list pages, check see if have in layout xml file looks this: <action method="settemplate"><template>xxx.phtml</template></action>.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -