Support » Plugin: RICG Responsive Images » Different ratio

  • Resolved zecka1213

    (@zecka1213)


    Hello,

    Actually in my theme i call my image like that:

    <?php the_post_thumbnail('article-image', array('class' => 'theme-image-img')); ?>

    And i want to load different size of my image per screen size, but not with the same ratio.

    add_image_size( ‘article-image’, 270, 150, true ); /* FOR DESKTOP VIEW */
    add_image_size( ‘article-image’, 600, 150, true ); /* FOR IPAD VIEW */
    add_image_size( ‘article-image’, 350, 150, true ); /* FOR MOBILE VIEW */

    How can i do that ?

    https://wordpress.org/plugins/ricg-responsive-images/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Different ratio’ is closed to new replies.