syamilmj / Aqua-Resizer

Resize WordPress images on the fly
500 stars 204 forks source link

Returns correct dimensions but not hard cropping image #72

Closed justinhines57 closed 9 years ago

justinhines57 commented 9 years ago

The original image is 1400 x 933 (W x L)

The following:

    $img_url = wp_get_attachment_url($attachment_id, 'full');
    aq_resize($img_url, 350, 350, true, false, true);

Returns:

    array(3) {
        [0]=>
            string(88) "http://my_website.dev/wp-content/uploads/2015/05/WEB_IMG_9617_Hillsboro_Interiors-350x233.jpg"
        [1]=>
            int(350)
        [2]=>
            int(350)
    }
justinhines57 commented 9 years ago

I'm an Idiot.

This was caused by a conflict with a Wordpress Plugin.