thumbnails gallery 3.0.3

radoslav

Joined: 2012-05-31
Posts: 3
Posted: Thu, 2012-05-31 15:25

Hi all,

I have problem after gall 3.0.3 upgrade, which seems simillar to these:
http://gallery.menalto.com/node/106533
http://gallery.menalto.com/node/106061
http://gallery.menalto.com/node/106277
and one, which I can't find now

but I use default wind theme, so updating theme is not option, I guess, and, as was suggested (if I remember correctly) in forum topic I can't find, changing thumb size and updating does not work too.

I'm not sure if this helps, but I was able to change width (but not height) of that blue thumbnail frame (using webdeveloper add-on in Firefox) in index.php:
.g-view #g-content #g-album-grid .g-item {
width: 98px;
height: 110px;
/* 0,46 */
}
and if I comment out width (or set no value), it expands, but as far as i remember, it still looks bad (now my thumbnails have 250px, not 200px as before, so I can't confirm).

I made some modifications to gallery code, maybe they are relevant to this problem:
* disabled (commented out) album comment in gallery3/themes/wind/views/album.html.php
* disabled album icon in gallery3/themes/wind/css/screen.css
* disabled "By: " in album info in gallery3/modules/info/helpers/info_theme.php

In appended screenshot thumbnails are already resized to 250px.

Could somebody help me please? Thanks in advance.

AttachmentSize
Screenshot from 2012-05-31 15:23:37.png438.33 KB
Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25936
Posted: Thu, 2012-05-31 18:05

try the rebuild items module. From the screenshot it looks like some of the thumbs are full size and did not get generated properly.
I suspect that the resizes for the thumbs that are large will be the same size as the fullsize image.
See if you can change the image toolkit to ImageMagic if you are using GD. GD is a resource hog and that culd be some of your issue.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
radoslav

Joined: 2012-05-31
Posts: 3
Posted: Fri, 2012-06-01 14:18

thanks for your reply Dave, but I think I should clarify it a bit:
* all thumbs have good sizes, but frames don't expand to size of thumbs - I know, it can be not so obvius from screenshot if someone have no idea how it looked like before,
* it seems to me that problem is only with frames in main album, all subsequent albums and photos look fine,

When I look at css (edit css in webdeveloper add-on) in main gallery I see "embeded style" tab with code I posted in my first comment, but there is no such "embeded style" tab when in sub albums, is that OK?

In attached screenshots you can see:
* deleted css code in "embeded style" tab and resized album frames - first screenshot
* rolled out frame (cursor over thumb) - second screenshot
* how it looked like before upgrade (I downgraded temporarily to gallery 3.0.2) - third screenshot (thumbs resized back to 200px)

thanks for helping

AttachmentSize
Screenshot from 2012-06-01 14:16:04.png329.77 KB
Screenshot from 2012-06-01 14:00:52.png362.4 KB
Screenshot from 2012-06-01 13:36:56.png400.38 KB
Login or register to post comments
tempg

Joined: 2005-12-17
Posts: 1633
Posted: Fri, 2012-06-01 16:29

First, it would be easier if you provided a link to the site. (I can see the webaddress in the screenshots, but typing it is too much of a chore for me right now.)

Second, the issue APPEARS to be a css thing. The thumbs (when not rolled over) are wider and taller than the container they are supposed to be in; they expand to full size when you roll over them and (apparently) don't go back into the first container.

I'd try just enlarging the original container with css.

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25936
Posted: Fri, 2012-06-01 18:53

There is a ticket for this in the tracker. I'm on a hand held right now so I can't search for it at this time.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25936
Posted: Sat, 2012-06-02 17:30
Login or register to post comments
radoslav

Joined: 2012-05-31
Posts: 3
Posted: Sun, 2012-06-03 07:35

:D

I searched for this tiket yesterday and found it, but just tried patch the link in this ticket points to - I was not sure if it's realy a patch and a patch that should solve my problem, but anyway I tried it... unfortunately it didnt help so I left it, because I was not in a mood to do anything...

Today I lookd one more time at the ticket and realised there is workaround (reordering albums) on bottom of page, so I tried it and ta daaa, it works! :D
I had an album named "skuska" (in english "test"), which had few photos but they were deleted (in Linux not in Gallery, so there were just empty items)... at first I deleted first photo (which was probably used as thumbnail of that album) and it helped... (and as this album was realy old one (which I used for testing hidden albums when I started with Gallery 2) I decided to delete it).

Thanks a lot guys.

Login or register to post comments