Sharing is helping.

We offer you this space to share your knowledge about Magento and learn from our experienced customers.

    Home Forums "How do I" questions Category / Subcategory Images

    This topic contains 1 reply, has 2 voices, and was last updated by  Anonymous 6 years, 2 months ago.

    Viewing 2 posts - 1 through 2 (of 2 total)
    • Author
    • #4861


      How do you change the Category / Subcategory image sizes?



      You can either change the size directly in the app/design/frontend/default/your_template/template/catalog/product/list.phtml and app/design/frontend/default/your_template/template/catalog/product/view/media.phtml files.

      You can also create new attributes like cat_image_width and cat_image_height and add them to your default attribute set. Then you modify the files above by replacing the image sizes (here it’s 170px) with getAttribute:


      Now you can set the image width and height per product.


    Viewing 2 posts - 1 through 2 (of 2 total)
    Reply To: Category / Subcategory Images
    Your information:

    <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">