Yes… that does work. But is there any way of automatically setting the width, instead of having it do it for every post?
I played around with media.php, thinking I could do something like set the width to the thumbnail size x the number of thumbnails.. but I don’t know wp code very well. Would you know how to do this?
$output = apply_filters('gallery_style', "
<style type='text/css'>
#{$selector} {
margin: auto;
width: {$itemwidth*$attachments}% (or something like that)
}
#{$selector} .gallery-item {
float: {$float};
margin-top: 10px;
text-align: center;
width: {$itemwidth}%; }