Closed (duplicate)
Project:
Gallery
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2005 at 17:05 UTC
Updated:
19 Nov 2005 at 01:44 UTC
Just tried the latest version from CVS, and got following two issues:
1. Seems the ImageBlock couldn't change "Random Photo" to any other, such as "Recent Photo" and "Recent Album", although the display of heading, title, date works perfectly.
2. Don't know if there is a way to configure the thumbnail size or not. I didn't want to change the global thumbnail size, but just want to change the thumnail displaced in Drupal block, is this possible?
Thanks.
Comments
Comment #1
syntaxerror commentedIt doesn't look like I can use anything else either... hrm.
Comment #2
walkah commentedwill look into both issues
Comment #3
kiz_0987 commentedThere are a couple of bugs in gallery.module.
In v1.8 (line 149) and the current cvs v1.9 (line 160).
Replace
With
Replace
$params['block']with$params['blocks'](2 places)The size is hardcoded (for now). Look for
$params['maxSize'] = 160;and change it.Comment #4
npe commentedThank Walkah, it works on my server. :)
Comment #5
npe commentedComment #6
pitpit commentedit seems to have not been fixed on 1.10 !
Comment #7
pitpit commentedComment #8
pitpit commentedComment #9
alexandreracine commented+ 1 for this patch.
I confirm that "recent album", and "random photo" works with the patch of kiz_0987.
Comment #10
walkah commentedcommitted to HEAD. thanks guys.
Comment #11
walkah commentedComment #12
kiz_0987 commentedWalkah - thanks for committing this patch, but you missed a bit. Check comment #3 and you will see that 2 items need changing (you have done one). The other part is to replace
$params['block']with$params['blocks'](2 places)Comment #13
darius commentedThe issue continues on http://drupal.org/node/31412
Darius