9 reputation
2
bio website
location
age
visits member for 1 year, 5 months
seen Dec 9 '13 at 18:38

Sep
19
awarded  Popular Question
Jan
26
awarded  Student
Nov
15
comment Adding width and height to wp_get_attachment_image_src
The thing is that 'two' is 180x0 so it has a fixed width and dynamic height.
Nov
15
comment Adding width and height to wp_get_attachment_image_src
string(5) "<pre>" array(4) { [0]=> string(90) "localhost:8888/dev.test.com/wp-content/uploads/2012/10/…; [1]=> int(0) [2]=> int(0) [3]=> bool(true) } string(6) "</pre>"
Nov
15
comment Adding width and height to wp_get_attachment_image_src
I added the var_dump as you said and this is what I get:
Nov
15
comment Adding width and height to wp_get_attachment_image_src
Hey Thanks! Yeah, 'two' is a custom size I created, and I think I created it before uploading any image, anyway I run the Regenerate Thumbnails plugin (so useful!)
Nov
15
asked Adding width and height to wp_get_attachment_image_src