Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12973

    Hi there,

    Great theme Propulsion thank you, I love it.

    I do need some help re: product image re-sizing. I am currently using the theme and have pages with full width slider and fullsize feature images on these pages, and also the Woocommerce shopping cart working on same site. My aim is the resize the single product image on the product page to portrait shape if possible.

    From other forum posts I assume that the Propulsion theme overrides the image size functionality in the Woocommerce Catalog tab settings in WP? Not too sure which of these image sizes mentioned below in this Propulsion function.php file will ‘only change the Single Product Image’ on the Product Page without affecting any other images that are displayed on other website pages and fullsize slider? -

    ********************************

    //register additional image thumbnail sizes that should be generated when user uploads an image:

    $avia_config = array(‘width’=>36, ‘height’=>36 ); // small preview pics eg sidebar news

    $avia_config = array(‘width’=>630, ‘height’=>999, ‘crop’=>false); // big images for post format image and gallery posts

    $avia_config = array(‘width’=>930, ‘height’=>930, ‘crop’=>false); // big images for lightbox and portfolio single entries

    $avia_config = array(‘width’=>930, ‘height’=>340); // images for fullsize pages and fullsize slider

    $avia_config = array(‘width’=>450, ‘height’=>335); // images for portfolio entries (2,3,4 column)

    //dynamic columns

    $avia_config = array(‘width’=>446, ‘height’=>151); // images for 2/4 (aka 1/2) dynamic

    portfolio columns when using 3 columns

    $avia_config = array(‘width’=>609, ‘height’=>210); // images for 2/3 dynamic portfolio

    columns

    $avia_config = array(‘width’=>688, ‘height’=>151); // images for 3/4 dynamic portfolio

    columns

    *******************************************

    Could you also advise if any other files will need to be altered?

    Thank you in advance :)

    #77342

    Hi there, is anyone available to help?

    #77343

    Hi jude44,

    All of the product image sizes are handled in config-woocommerce>config.php at the top of that file. The one I think you want to change is:

    $avia_config['imgSize']['shop_single'] = array('width'=>450, 'height'=>355);

    This will modify this style: http://www.kriesi.at/themes/propulsion/shop/another-test-product-with-a-multiple-images/

    However, if you want to modify the big images like: http://www.kriesi.at/themes/propulsion/shop/abundance-wordpress-theme/

    I believe you’ll need to modify the ones in functions.php. Specifically:

    $avia_config['imgSize']['featured'] = array('width'=>930, 'height'=>340); // images for fullsize pages and fullsize slider

    This will however effect all fullsize pages and fullsize slider (like on the front page).

    Regards,

    Devin

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Propulsion Product Page Image Size Change’ is closed to new replies.