Title: Setting Image Height/Width
Last modified: August 21, 2016

---

# Setting Image Height/Width

 *  [dmkjr](https://wordpress.org/support/users/dmkjr/)
 * (@dmkjr)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/setting-image-heightwidth/)
 * Hello. Thanks for making an awesome plugin! I was looking all day and testing
   out a lot of plugins and found this.
 * How would I go about setting a width and height for display pictures in the [
   pdb_list]? Need their height to be 150 x 150.
 * Thanks,
    David
 * [https://wordpress.org/plugins/participants-database/](https://wordpress.org/plugins/participants-database/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/setting-image-heightwidth/#post-4751778)
 * You will need to put some CSS rules into the custom CSS setting. If you set the
   size of the wrapping element, it will change the size of the image it contains,
   but if you need to change the proportions of the image, that will result in cropping.
   Try something like this:
 *     ```
       .pdb-list .image-field-wrap {
       display: block;
       width: 150px;
       height: 150px;
       overflow: hidden;
       }
       .pdb-list .image-field-wrap img {
       width: 150px;
       height: auto;
       }
       ```
   
 * That might not work the way you want, you’ll have to tweak it probably, but that
   will get you started.
 *  Thread Starter [dmkjr](https://wordpress.org/support/users/dmkjr/)
 * (@dmkjr)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/setting-image-heightwidth/#post-4751780)
 * Thanks for the response! Is there an easy way to make the output responsive? 
   Or better yet, where can I edit the template for how it displays?
 * Woudld like it something like
 * IMAGE FIRST NAME
    IMAGE LAST NAME iMAGE CITY/STATE
 * Something like that. Now, it’s just putting them in a straight line. PICTURE 
   FIRST LAST CITY/STATE
 * Thanks for the awesome support.
 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/setting-image-heightwidth/#post-4751826)
 * This is a way more complicated request, so I’m not going to be able to help you
   much. So much depends on what your theme is doing and also what target platforms
   you’re working with. Testing and tweaking responsive layouts is also difficult
   without a special setup.
 * One thing you can try is to use the “bootstrap” template for your singe record,
   it may get you closer to what you want.
 * `[pdb_single template=bootstrap]`
 *  Thread Starter [dmkjr](https://wordpress.org/support/users/dmkjr/)
 * (@dmkjr)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/setting-image-heightwidth/#post-4751935)
 * Thanks again for the response. I added the template tag to the shortcode and 
   it’s not doing anything.
 * Is that the correct format, or should there be “bootstrap” surrounding it?
 * Are there other templates that people have made public?
 * Thanks,
 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/setting-image-heightwidth/#post-4751946)
 * The bootstrap template might look the same as the default template, but it will
   most likely look different, so if you don’t see a change, the template is probably
   not being shown. It doesn’t haver to be enclosed in quotes to work.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Setting Image Height/Width’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Roland Barker](https://wordpress.org/support/users/xnau/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/setting-image-heightwidth/#post-4751946)
 * Status: not resolved