As of now, the media db offers 3 types of positioning: left, center, right (exact code and class names depending on whether and image has a caption). I think we should offer a 4th type: none or static.
There's nothing wrong with left or right, but center isn't actually centered unless the template fixes it. This isn't actually bad since the respective demo image in the media db doesn't show the image as centered -- it is aligned left, but not floated. I think this is a valid display option, but the respective class should not be called .serendipity_image_center. That is potentiall confusing.
Then again, it is perfectly valid to want to be able to actually display images centered, so we should offer that as a fourth option. Hope I didn't confuse anybody too much with this.
YL
Media db positioning
Re: Media db positioning
Just for the record: This, of course, refers to images without caption. Images with caption are centered by our default styles, which is even more confusing.yellowled wrote:There's nothing wrong with left or right, but center isn't actually centered unless the template fixes it.
YL