• Resolved Procentje20

    (@procentje20)


    This here is incorrect:

    $image_url = wp_get_attachment_image_src($image_id,’small’, true);

    The available parameters are “thumbnail, medium, large or full”

    I’ve changed the line in my sites to:

    $image_url = wp_get_attachment_image_src($image_id,’thumbnail’, true);

    Cheers, Wouter

    http://wordpress.org/plugins/thumbnail-grid/

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

The topic ‘small is incorrect parameter for $size’ is closed to new replies.