Consider this situation:
where album X has a thumbnail size of 250
and SubA/B have thumbnail size of 150
and the top-level thumbnail size (gallery config
setting) is 200.
Each of SubA/B have some photo selected as
the highlight and album X has SubA selected as
In gallery 1.3.1 this is the result:
-- when viewing album X: the thumbnails (not the
highlights) of subA/B are used.. the images are
size 150 and they get stretched to show size
250.. obviously this doesn't look very good.
-- highlight for album X at top level is ok,
referring directly to highlight image inside SubA,
I have patched gallery 1.3.1 to create highlight images
using the thumbnail size of the parent album, or the
gallery top-level thumb size if there is no parent.
This way album X will get highlight photos in the
correct size of 250.
- if you delete a subalbum that was the highlight for
the parent album it will leave a *.highlight.* file in
the directory for the parent album.
- if you do "rebuild thumbs" I don't think it will
recreate the highlights for subalbums.
The patch is available under bug 598025.