small is incorrect parameter for $size
-
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
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.