[wp-hackers] Images attached to posts/pages?

A. Mignolo pnts at protocol7.net
Mon Oct 5 19:24:34 UTC 2009


> Is there any way to pull these images via PHP?  Is there a template or
> reference tag?  I can use the [gallery] shortcode, but what if I
> wanted the images displayed in a lightbox gallery for example?


I use wp_get_attachment_image to pull out images for use in lightbox  
or carousel displays.

http://codex.wordpress.org/Function_Reference/wp_get_attachment_image


---
A. Mignolo
http://protocol7.net
Public Key: http://protocol7.net/txt/pnts.gpg






More information about the wp-hackers mailing list