how to get original image using wp_get_attachment_image_src

I want to get the original image with the same width and height as uploaded.

My original image is 630*370.

Using the following function call I get a thumbnail sized at 630*198.


How can I get it at 630*370


Try this :

wp_get_attachment_image_src( $PriImgId, 'full' );

Also, for more options see the Codex.

Leave a Comment