Hallo
ich schon wieder. habe nun einen loop gefunden, der halbwegs das tut was ich will.
<?php
$attachments = get_children( array('post_parent' => get_the_ID(), 'post_type' => 'attachment', 'post_mime_type' => 'image') );
foreach ( $attachments as $attachment_id => $attachment ) {
echo wp_get_attachment_link( $attachment_id, array (100,100));
} ?>
nur bekomme ich das als html zurück:
[FONT=monospace]<a href='http://lichtspielfotografie.com/wp-content/upl…553698083_o.jpg'>[/FONT][FONT=monospace]<img width="100" height="100" src="http://lichtspielfotografie.com/wp-content/upl…3_o-150x150.jpg" class="attachment-100x100" alt="1397076_238343252997293_1553698083_o" />
könnt ihr mir helfen wie ich den loop hinbekomme, dass keine width ausgegeben wird und die height auf 100% ?[/FONT]