User Generated Images + Bootstrap
-
I’m building a site where users are going to be submitting posts on their own. So i’m a little lost as to where to begin with how to make all the images look consistent when displayed on a grid on the homepage. At the moment I am just getting the image urls by pulling in get_post_thumbnail. I am using Bootstrap for the CSS framework, which has a few tools that might help.
<?php $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID), 'thumbnail' ); ?> <img src="<?php echo $url ?>" class="img-thumbnail" />
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘User Generated Images + Bootstrap’ is closed to new replies.