[英]How to get the thumbnail image in full size?
I am having problem with the size of thumbnail. 缩略图大小有问题。 Code I am using :
我正在使用的代码:
wp_get_attachment_image_src( $v, array(200,200));
Need the actual size image. 需要实际尺寸的图片。
传递第二个参数为full
将获得原始图像。
wp_get_attachment_image_src( $v, 'full');
Please use : 请用 :
wp_get_attachment_image_src( $v, 'full' );
"$v" should be the attachment id. “ $ v”应为附件ID。 Hope this will work for you.
希望这对您有用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.