[Solved] Embedding Gallery2 in my website and need to shift things left

jtp755

Joined: 2004-01-27
Posts: 60
Posted: Tue, 2008-06-03 20:47

I would like to make everything fit inside the green frame but im having issues. Can someone take a look at a screenshot?

Thanks!

 
jtp755

Joined: 2004-01-27
Posts: 60
Posted: Tue, 2008-06-03 21:02

the main page and inside albums centers fine but once you try to edit a photo or change settings on an album or anything in admin it messes up and goes outside the lines on the right.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 23886
Posted: Wed, 2008-06-04 03:03

The best way is to create a html template without Gallery and add some text where you want gallery to show. Once you have that then copy that to the theme.tpl file.

Or did you just want a narrower gallery with some green background?
URL?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
jtp755

Joined: 2004-01-27
Posts: 60
Posted: Wed, 2008-06-04 20:51

Thats pretty much what i did. The url is http://www.whiteguardian.net/gallery I dont think you can get to the pages that are messed up though. Like the screenshot above. things are going outside the div thats containing gallery. On my pages i have a div thats called frame and then inside that theres one called content-center. Gallery is in content-center and like i said....the album and pictures view are great. Even the view with the image and EXIF data. Once you try to edit an album or go into admin its messed up. I can setup an account for you if you want. jpulley at stonewoodins dot com.

[edit] I have changed the settings on the first album so that everyone can edit it...You should be able to see the problems then. Thanks! [/edit]

The theme im modifying is Siriux.

Another thing to note is i am NOT using gallery2embedded.php
Just addming my wrapping code to the theme.

I dont get why everything looks great except the edit pages and admin.

 
jtp755

Joined: 2004-01-27
Posts: 60
Posted: Wed, 2008-06-04 23:32

Ok so i setup the gallery2embedded.php thing and its still messed up there as well.

http://dev-whiteguardian.whiteguardian.net/gallery/gallery2embedded.php

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 23886
Posted: Thu, 2008-06-05 00:46

I can't help with gallery2embedded.php.
Post a url to a page without gallery ( just the html you used for the head/sides/bottom ) test to see if that validates.
I suspect it is a table cell or div out of place and the browser renders the content as best it can.

Quote:
[edit] I have changed the settings on the first album so that everyone can edit it...You should be able to see the problems then. Thanks! [/edit]

Please create a test album and PM me the login info. I don't see the behavior in your screen shot.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
jtp755

Joined: 2004-01-27
Posts: 60
Posted: Thu, 2008-06-05 01:07

All my pages validate xhtml strict. My css validates except for some color issues in my menu.

http://www.whiteguardian.net/ - Main
http://www.whiteguardian.net/photography.php - A page

I changed the first album so that Everybody has all access to it. I have also created you an account and i have PMed you the info.

I have tried different themes and it doesnt make a difference. Let me know what you think! Thanks!!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 23886
Posted: Thu, 2008-06-05 01:56

In layout.css you have:

form {  /* set width in form, not fieldset (still takes up more room w/ fieldset width */
  font:100% verdana,arial,sans-serif;
  margin: 25px auto;
  padding: 0;
  min-width: 300px;
 
  width: 380px; 
}

Because the admin page has a form on it, it has a width of 380 pixels.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
jtp755

Joined: 2004-01-27
Posts: 60
Posted: Thu, 2008-06-05 02:11

yeah i caught that as well. I have since edited the layout.css and removed it and it made a heck of a difference but its still messed up on the album edit pages. Any ideas there?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 23886
Posted: Thu, 2008-06-05 02:36

You have set the width of this theme in the theme config page:
"Width of page content in pixels"
Site admin -> themes; select the siriux theme and change that setting.
You might have to change it for the root album and set it to use those setting that use the siriux theme.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
jtp755

Joined: 2004-01-27
Posts: 60
Posted: Thu, 2008-06-05 02:48

That made a difference but its still messed up. on the general tab under Edit Item the text boxes and text block at the bottom go out side the div. if i make it any bigger it stretches everything out of the divs and my frame.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 23886
Posted: Thu, 2008-06-05 03:05

looks fine to me

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

AttachmentSize
general tab-looks good to me.png69.51 KB
 
jtp755

Joined: 2004-01-27
Posts: 60
Posted: Thu, 2008-06-05 03:27

weird...are you on FF or IE?

Im using FF on Linux.

Ill go check my wifes windows machine.

Attached is a screenshot of mine!

AttachmentSize
gallery2-FF-Linux.png116.42 KB
 
jtp755

Joined: 2004-01-27
Posts: 60
Posted: Thu, 2008-06-05 03:29

seems to be my FF...dont know if that FF on linux or just mine..

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 23886
Posted: Thu, 2008-06-05 03:54

FF on windows here. I recall some issue with forms and text boxes on IE but can't seem to find it. It was not the same issue but similar.
Your screenshot looks like the font is bigger and bold for the <input>

The HTML is set for a specific size:
<input type="text" id="title" size="60" so it should not be wider than that.

Could set the form css I guess.
see if setting a font size for the css:

input {
font-size: 12px;
font-weight: normal;
}

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
jtp755

Joined: 2004-01-27
Posts: 60
Posted: Thu, 2008-06-05 04:05

That fixed it! Interesting...

Thanks for all your help. I have learned a ton from this project.

Off to bed. Ill see if i cant tweak some more stuff tommorrow.

Thanks again.

Is there a proper way to "close" this thread or mark as "solved"?