Thanks. My php is a little rusty so I couldn’t get this to work. There appeared to be some errors in that code too. I cleaned it up as best I could and tried this:
<?php echo $args = array(
'post_type' => 'attachment',
'post_mime_type' => 'image'
)
$images = get_children ($args);
$count = count ($images); ?>
But I’m getting and error that says:
Parse error: syntax error, unexpected T_VARIABLE, expecting ‘,’ or ‘;’
on this line: $images = get_children ($args);
Any help fixing this would be appreciated.