2011-07-06, 19:54:13
dey Wrote:1. Style w/o javascript
the homepage style gets corrupt when JS is deactivated. Same for fancy and pretty. The JS scales anyhow the pictures size to the screen (view port) size. The max width setting is respected as well as the real size of the picture.
In case of deaktivated JS the real size of the picture is used or max width setting. And this corrupts the layout of the page if this resulting size of the pictures is larger than the container. But actually I would need different max width settings for with JS and w/o JS.
Just add a new rule to your CSS like the following (it needs to be more specific than the generated ones; width/max-width is dependent on your layout):
Code:
body .gallery .gallery-image { max-width:600px; }
dey Wrote:2. supersized too big
Pictures in landscape doesn't fit into screen or view port. Portrait is calculated correctly.
The landscape is calculating by the width and doesn't respect the height and parts of the pictures at top and bottom become invisible. A scrollfunction is not given.
Portraits are not in the center but right aligned.
Any idea here?
Yes, I know - this is a "feature" of the supersized-script which I just included in the plugin. You are welcome to fix it, I haven't had time for it yet. If you do, please send me the correction so I can include it in the gallery.