6.0.0-beta1
7/10/25

[#13563] screen photo settings size
Summary screen photo settings size
Queue Ansel
Queue Version 3.0.1
Type Enhancement
State Rejected
Priority 1. Low
Owners
Requester bonnaud (at) hotmail (dot) com
Created 09/15/2014 (3951 days ago)
Due
Updated 09/15/2014 (3951 days ago)
Assigned
Resolved 09/15/2014 (3951 days ago)
Milestone
Patch No

History
09/15/2014 03:50:42 PM Michael Rubinsky Comment #2
State ⇒ Rejected
Reply to this comment


the reason for the explicit size is so the page can be layed out 
correctly. using a 100% size will break the layout. Regardless , this 
will all be revamped in the Ajax view in Ansel 4.


09/15/2014 07:07:52 AM bonnaud (at) hotmail (dot) com Comment #1
State ⇒ New
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ screen photo settings size
Queue ⇒ Ansel
Milestone ⇒
Patch ⇒ No
Reply to this comment
While viewing the picture the configuration setting 
$conf[screen][width] and $conf[screen][height] set the actual size of 
the picture that will be displayed.

What I'm proposing is that would be set to be the maximum size of the 
picture on the screen and not the actual size.

This is partly a bug too because if it's set too big, the picture will 
go under the menu at the right. Too small you just can't view it 
correctly.

while displaying, the img tag is set like this

<img id="ansel-photodiv" width="2592" height="1936" 
src="http://mail.spagi.net/ansel/images/.horde/ansel/22/screen/22.jpg
style="">

I've tried to modify it live in chrome with

<img id="ansel-photodiv" width="100%" height="100%" 
src="http://mail.spagi.net/ansel/images/.horde/ansel/22/screen/22.jpg
style="">

and this actually work better as the picture will change size 
following the size of the browser and thus will look great on 
different resolution. I unfortunatly have absolutly no idea where to 
make this modification in the code of wither ansel or horde to change 
de view like this.

Saved Queries