I wanted to know if this is possible. I have gone through a lot of threads on the internet for this one and there does not seem to be one good solution. I run a business website based on wordpress and now there is this peculiar requirement wherein I need a hack/code to pull and display one single image ( from among the other images uploaded/attached to that post ).
Now the tricky part is that the image must be a horizontally/landscape oriented image only. And if it does not find a landscape image it may return nothing. Please let me know if need more clarifications.
If you must know, I already have a featured image.
img
tagswidth
andheight
attribute are your friend. But that is for one a different issue and for another pure HTML/CSS.