Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: syntaxerror commentedIt doesn't look like I can use anything else either... hrm.
Comment #2
walkah CreditAttribution: walkah commentedwill look into both issues
Comment #3
kiz_0987 CreditAttribution: 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 CreditAttribution: npe commentedThank Walkah, it works on my server. :)
Comment #5
npe CreditAttribution: npe commentedComment #6
pitpit CreditAttribution: pitpit commentedit seems to have not been fixed on 1.10 !
Comment #7
pitpit CreditAttribution: pitpit commentedComment #8
pitpit CreditAttribution: pitpit commentedComment #9
alexandreracine CreditAttribution: alexandreracine commented+ 1 for this patch.
I confirm that "recent album", and "random photo" works with the patch of kiz_0987.
Comment #10
walkah CreditAttribution: walkah commentedcommitted to HEAD. thanks guys.
Comment #11
walkah CreditAttribution: walkah commentedComment #12
kiz_0987 CreditAttribution: 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 CreditAttribution: darius commentedThe issue continues on http://drupal.org/node/31412
Darius