Title: Slider responsive height
Last modified: August 22, 2016

---

# Slider responsive height

 *  [Valgav](https://wordpress.org/support/users/valgav/)
 * (@valgav)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/slider-responsive-height/)
 * I have couple of images same width but different height. I tried to place shortcode
   in responsive div but it’s not working. It keeps cropping my images to determined
   height and width even when values are bigger than images sizes.
 * Any chances to change slider height depend on image height?
 * [https://wordpress.org/plugins/shortcodes-ultimate/](https://wordpress.org/plugins/shortcodes-ultimate/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Valgav](https://wordpress.org/support/users/valgav/)
 * (@valgav)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/slider-responsive-height/#post-5188718)
 * I know about line:
 * // Crop the image
    $image = $slide[‘image’], $atts[‘width’], $atts[‘height’] );
 * But making any changes breaks shortcode;

Viewing 1 replies (of 1 total)

The topic ‘Slider responsive height’ is closed to new replies.

 * ![](https://ps.w.org/shortcodes-ultimate/assets/icon-256x256.gif?rev=2547563)
 * [WP Shortcodes Plugin — Shortcodes Ultimate](https://wordpress.org/plugins/shortcodes-ultimate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcodes-ultimate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcodes-ultimate/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcodes-ultimate/reviews/)

## Tags

 * [height](https://wordpress.org/support/topic-tag/height/)

 * 1 reply
 * 1 participant
 * Last reply from: [Valgav](https://wordpress.org/support/users/valgav/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/slider-responsive-height/#post-5188718)
 * Status: not resolved