I read through the codex for these 2 functions:
But when I try to run it specifying an image size it still returns the full sized image.
$image_attributes = wp_get_attachment_image_src( $post_id, 'medium' );
On the codex page under the
$size definition for both functions say:
"As of Version 2.5, this parameter does not affect the size of media icons, which are always shown at their original size."
Alternatively I've tried
image_downsize with no luck.
Essentially I have the
$post_id for the attachment and I want to extract the url for the medium sized image.