• Excellent choice for developers. Uses the native WP functions, and thus automatically supports the new responsive image attributes (srcset / sizes) 🙂

    The widget template is awesome fun; make it work with Bootstrap 3? No problemo, boss – just add the template to your theme directory, adjust the wp_get_attachment_image() call, and off you go 🙂

    Similar to this:

    echo wp_get_attachment_image( $image_id, $image_size, false, array( 'class' => 'img-responsive attachment-' . $image_size . ' size-' . $image_size ) );

    So, if you need flexibility and KNOW what you’re doing – go for it!

    cu, w0lf.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘cool stuff – best choice for developers!’ is closed to new replies.