improve image scaling (fixes #59)
* add width and height to AJAX result * handle preview image width and height changes * improve default_horizontal theme's css to handle vertical images
This commit is contained in:
parent
922d234f11
commit
62d1ba55fe
4 changed files with 43 additions and 27 deletions
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
git sta/*
|
||||
* Copyright (c) 2008 Jan Dittberner <jan@dittberner.info>
|
||||
* Jan Dittberner IT-Consulting & -Solutions
|
||||
* Cottbuser Str. 1, D-01129 Dresden
|
||||
|
@ -66,17 +66,15 @@ a.lightbox img {
|
|||
}
|
||||
#imagedescription {
|
||||
position:relative;
|
||||
weight: 330px;
|
||||
height: 25px;
|
||||
top: 300px;
|
||||
top: 330px;
|
||||
left: 0px;
|
||||
color: #ffffff;
|
||||
font-size:10px;
|
||||
font-style:normal;
|
||||
font-weight:normal;
|
||||
text-align:center;
|
||||
vertical-align:center;
|
||||
|
||||
vertical-align:center;
|
||||
}
|
||||
.imgdescription {
|
||||
color: #ffffff;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2008 Jan Dittberner <jan@dittberner.info>
|
||||
* Copyright (c) 2008, 2009 Jan Dittberner <jan@dittberner.info>
|
||||
* Jan Dittberner IT-Consulting & -Solutions
|
||||
* Cottbuser Str. 1, D-01129 Dresden
|
||||
*
|
||||
|
@ -203,7 +203,7 @@ a:active {
|
|||
#content_sub {
|
||||
position:absolute;
|
||||
width:330px;
|
||||
height:330px;
|
||||
height:350px;
|
||||
left: 143px;
|
||||
top: 149px;
|
||||
}
|
||||
|
@ -213,7 +213,7 @@ a:active {
|
|||
width:20px;
|
||||
height:10px;
|
||||
left: 298px;
|
||||
top: 305.5px;
|
||||
top: 330px;
|
||||
z-index:1;
|
||||
}
|
||||
|
||||
|
@ -221,8 +221,8 @@ a:active {
|
|||
position:absolute;
|
||||
width:311px;
|
||||
height:311px;
|
||||
top: 9.5px;
|
||||
left: 9.5px;
|
||||
top: 9px;
|
||||
left: 9px;
|
||||
text-align:center;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
|
Reference in a new issue