• Resolved solander

    (@solander)


    I got the same problem as superflymonkeyboy and could resolve it by not putting any height and width in the shortcode an changing line 166-171 in “jj_ngg_jquery_cycle.php”:

    if($width != '' && $height != '')
            {
              $width_d = " width=\"" . $width . "\"";
              $height_d = " height=\"" . $height . "\"";
            }

    to

    if($width != '' && $height != '')
            {
              $width_d = " width=\"" . $width . "\"";
              $height_d = " height=\"" . $height . "\"";
            } else { //use image dimensions
              $width_d = " width=\"" . $image->meta_data['width'] . "\"";
              $height_d = " height=\"" . $image->meta_data['height'] . "\"";
    		}

    http://wordpress.org/extend/plugins/jj-nextgen-jquery-cycle/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Prevent images from strech’ is closed to new replies.