Pages (2): 1 2   
Member
Member
wilddoc   09-12-2008, 21:46
#1

I have the latest version of Zenphoto. When I look at my images while logged in as administrator, the image's description is under the image name and everything looks fine. When I log out, the description is centered and over the photo!

Any ideas on how to fix it?

www.natashajapp.com

Mac OSX, Firefox.

Member
Member
Imlah   10-12-2008, 08:49
#2

I have the same problem. I keep trying the new nightly builds but the problem persists so I have to continually go back to an earlier version.

Member
Member
jasetaro   10-12-2008, 16:21
#3

I can confirm the problem as well. I don't normally use the Stopdesign theme but I took a look after I read you post.

Unfortunately, I'm have my own problems with page rendering ZP 1.2.2 (see here: http://www.zenphoto.org/support/topic.php?id=4429#post-26196) I hope they get things sorted out soon.

Member
Member
wilddoc   10-12-2008, 17:29
#4

I spent a lot of time looking over the code, and I don't get why it behaves like that... Hope someone looks at the problem, because I can't fix it myself!

Member
Member
sbillard   10-12-2008, 17:46
#5

If you do go back to a version that works, let us know what version it is. This looks like a CSS issue, but I am not sure what. This is a very fragile theme.

Member
Member
wilddoc   10-12-2008, 20:27
#6

Ok, after a few cups of coffee and some cussing, it seems like I fixed the problem!

Changed the photos.css file:

Under Description, I added:

desc sml {


max-width:30em;
margin:0;
padding:10px 15px 5px 265px;
border-width:0;
font:100% Verdana,Sans-serif;
line-height:1.6em;
letter-spacing:0;
text-transform:none;
text-align:left;
}

Then I changed the style for the description at image.php file, line 35:

Seems to work for now. If someone comes up with another solution I'd love to know!

Member
Member
sbillard   11-12-2008, 01:25
#7

This is not really working for me.

Member
Member
wilddoc   11-12-2008, 18:00
#8

It works for me, the image's name & description are aligned, as it should be. All I did was apply a new style to the image description in the image.php file.

Member
Member
CMNYC   11-12-2008, 18:34
#9

I was going to say that I never had a problem with stopdesign... but then I realized I don't have any descriptions, only the image name (which defaults to the filename).

Member
Member
Imlah   12-12-2008, 07:22
#10

Version 1.2 is working fine with the descriptions being in the proper place. But none of the nightly builds since then that I've tried work. The first line of a description is properly to the right of the picture under the Photo ID, but other lines of descriptions are in the middle of the image.

Member
Member
sbillard   13-12-2008, 01:12
#11

Probably need to make a ticket on this problem. Does version 1.2.1 work? How about 1.2.2?

Member
Member
Imlah   13-12-2008, 06:56
#12

I've tried both 1.2.1 and 1.2.2 but neither work correctly. The image title is in the correct position but the description is to the left in the middle of the image.

Administrator
Administrator
fretzl   13-12-2008, 11:55
#13

Try this in "photo.css":

Look for

desc {


position:absolute;
top:170px;
right:0;
width:50%;
text-align:left;
[b]and add[/b]
text-indent: 265px;
}

Look for

desc h1 {


background:url("../images/divider_r.gif") no-repeat 265px 0;
max-width:30em;
margin:0;
padding:10px 15px 5px 265px;
border-width:0;
font:bold 100% Verdana,Sans-serif;
line-height:1.6em;
letter-spacing:0;
text-transform:none;
text-align:left;
[b]and add[/b]
text-indent: 0px;
}

Administrator
Administrator
fretzl   13-12-2008, 12:10
#14

Sorry, forget my post.
I didn't check what happens with more than one line
and what happens if you are logged in :-(
I'll keep on looking

Administrator
Administrator
fretzl   13-12-2008, 15:35
#15

OK, I started over again.

[b]In image.php add a [/b]





[b]then in photo.css add[/b]

`
#anything {
margin-left: 265px;
white-space: nowrap;
}
`
[b]and comment the line in[/b]

#desc #imageDesc {
  `/*margin-left:265px; */`
  }

Tested in IE7 and FF 3.0.3 Windows
Member
Member
sbillard   13-12-2008, 19:37
#16

This last one works for me. I will add it to the SVN. Thanks.

Member
Member
Imlah   16-12-2008, 15:19
#17

I just tried the fix above. The title and the first line of the description is properly in place but the remaining lines of description are still in the center of the photo.

Member
Member
Imlah   16-12-2008, 15:52
#18

Does it matter where in photo.css I put the "anything" script? I placed it just after the line that I commented.

Administrator
Administrator
fretzl   16-12-2008, 17:42
#19

No, it doesn't matter. As long as you don't use the same id somewhere else in the CSS files.

Member
Member
mapi   18-12-2008, 23:00
#20

Works for me on , same FF 3.0.5 and IE7 Windows

  • thanks fretzl !
Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.