Image displayed in the wrong location if bigger than screen

scope

Joined: 2004-10-18
Posts: 4
Posted: Mon, 2004-10-18 21:34

I dont know if this has been mentioned before, but here goes..

I would love it if Gallery would display large pictures to the right of the menu (where it should be displayed), rather than being pushed down under the menu if it is too big to fit the screen.. (ofcourse with scroll bars to scroll)

My laptop has a fairly small resolution, and when I upload images as small as 800x600 it is pushed under the menu when I view them.

---------------------
-- Should do:
---------------------

M
E IMAGE
N
U

-----------------------------------
-- Currently:
-----------------------------------

M
E
N
U

IMAGE

------------------------------------------

On another note, security seems to be none existent when it comes to search, random image, last X viewed, etc.. If I dont dont give public access to my album they are still able to see my images through these extra featues. Im running Alpha 2.

Other than this, Gallery is a GREAT product.

Example of layout attached.

AttachmentSize
gallery issue.jpg39.6 KB
 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Tue, 2004-10-19 04:21

I believe the first issue is a known one. As to the second, while they probably know about it... its definatly a good thing to point things like that out during the alpha :)

 
baschny
baschny's picture

Joined: 2003-01-04
Posts: 328
Posted: Tue, 2004-10-19 10:07

fryfrog and scope, yes, the first one is a known one. Maybe someone experienced with CSS can take a closer look at it, as it keeps appearning again and again. See this post for a better explanation on why this happens.

As to the second one, the permissions work with all modules currently shipped with G2, including the search and the ImageBlock module. Maybe this behaviour comes from the confusing permission-editing screen we have right now (which will be improved in a near future).

scope, can you please check what permissions did you give an item, when you expected it not to appear in the search and it did appear?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2004-10-19 15:09

The confusion comes because we do permissions on every item.. just because an album doesn't have permission doesn't stop you from granting permission on any items or subalbums inside it. So, if you remove permissions on an album make sure to apply the change to all subitems (there's a checkbox for this) if you also want to affect all those subitems.
FYI, we have plans to revamp the permissions UI to make it easier to use.....

 
treksler

Joined: 2004-10-18
Posts: 8
Posted: Thu, 2004-11-04 22:03

Does the first issue only happen with Microsoft Internet Explorer in Windows?
I have a hunch that I know why this is happening if it is limited to MSIE in Windows

Can you test with MSIE, camino, firefox, safari, netscape, etc.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2004-11-05 06:34

do tell... as far as I know this is an IE thing

 
treksler

Joined: 2004-10-18
Posts: 8
Posted: Fri, 2004-11-05 11:02

IE is horribly broken as we all know
Here it acts as if a width was not spcified for #gsContents
Specifying 1000px instead of 100% fixes it,
but how do you decide on 1000px

You could also try this:

[root@irstudio gallery]# cat ./templates/layout.css.php.diff
--- ./templates/layout.css.php.original 2004-11-05 00:38:06.000000000 -0700
+++ ./templates/layout.css.php  2004-11-05 02:34:22.000000000 -0700
@@ -77,6 +77,7 @@
 }

 #gsContents {
+    position: relative;
     width: 100%;
 }

@@ -92,6 +93,7 @@
 /* End hide from IE-mac */

 #gsAlbumContents, #gsAdminContents, #gsOtherContents {
+    top: 0px; left: 20%; position: absolute;
     float: left;
     width: 78%;
 }

but that breaks the position of the footer

 
groovenectar

Joined: 2006-01-24
Posts: 5
Posted: Wed, 2006-01-25 04:07