[SOLVED] Frames around larger image not working?

Gaile

Joined: 2002-07-20
Posts: 1301
Posted: Tue, 2004-12-21 17:19

I've been playing with some of the settings, specifically - trying to get any of the frames to display around the main image.

Just curious if I'm the only one that has come across this problem. I have the thumbnail (created by Gallery) and the larger image. No resized images.

They show up fine as album/sub-album frames and around the thumbnails, but not on any of the larger images.

Using show debug tree I get the following error instead of any result showing:

Quote:
Fatal error: Call to undefined function: getorderby() in ../modules/core/classes/helpers/GalleryChildEntityHelper_simple.class on line 444

Line 444 is:

Quote:
$orderBy = $item->getOrderBy();

Are these things related to frames not showing up or is this an entirely unrelated issue? Thanks!

I'm off to work! Last time before Christmas!

Gaile

----

Gallery version: nightly snapshot from 12-20-2004 (Jesse Mullan d/l page)
Webserver: Apache/1.3.33 (Unix)
PHP version: 4.3.9 & MySQL 4.0.22-standard
Graphics Toolkit(s): Image Magick

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2004-12-21 19:47

unrelated.. i just committed the fix for that error msg to cvs (we were assuming debug tree was used on an album..)

do 'edit album' for the parent album and click the Layout tab.. what do you have selected for 'Photo Frame' ? That's the one you should see on the larger images.. yes, the names could be better.. any suggestions? currently, Album frame = around thumbnail for subalbum, Item frame = around thumbnail for any subitem (photo or any other type), Photo frame = around resize/fullsize image..

 
Gaile

Joined: 2002-07-20
Posts: 1301
Posted: Wed, 2004-12-22 07:02
mindless wrote:
...do 'edit album' for the parent album and click the Layout tab.. what do you have selected for 'Photo Frame' ?

That's what I've been looking at - it seems to have no affect at all - the photos remain plain, with absolutely no frame or border.

When I checked "view source" just now - I can see that no class is being applied to the single images, whereas the thumbnails have something like this - img class="ImageFrame_dots".

Gaile

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2004-12-22 16:12

ah, I see now.. the problem isn't that it won't show frames at all, but that it won't override the global default.. i saw shadows on mine and thought it ok, but now that I tried dots it stayed on shadows. so probably your global setting is None. i'll fix this now, thanks for the catch!

Update: fix now in cvs.

 
Gaile

Joined: 2002-07-20
Posts: 1301
Posted: Wed, 2004-12-22 17:12

Thanks!

Gaile