WordPress as CMS: How to manage/handle images assigned to a post as full-sized background images in a slideshow?
You can do that within the loop using wp_get_attachment_image. Something like (not tested): //loop starts //values for get_posts ( or wp query if you prefer) $args = array( ‘post_type’ => ‘attachment’, //gets the attachments aka your images ‘numberposts’ => -1, ‘post_parent’ => $post->ID ); // some attributes you want added to each image $default_attr = … Read more