Avatar grid
espie - July 17, 2009 - 11:10
With drupal5, using bonus-views, image, and usernode, I was able to create a grid of users:
a tile of photos, with just the user name under each photo. It looked like this:
http://joomla.masters.epita.net/etudiants/trombi
(weird name, but yeah, it's drupal...)
I've tried to do the same with views2, avatars, imagecache, and imagecache_profiles.
So far, it doesn't work at all: the presentation insists on showing me the name *besides* the photo, and there doesn't seem to be a way to tweak that.
Is there a way to do it without going into tpl nightmare ?
Or baring that, what am I supposed to modify to obtain this look ?

oops, sorry you won't be able
oops, sorry you won't be able to see it.
I made a pdf of it at
ftp://quatramaran.ens.fr/pub/espie/grid_view.pdf
Without seeing your generated html ....
... it's difficult to make any recommendations, but here are a couple of suggestions:
1. Don't be afraid of theming views output. It's not that hard.
2. See what you can do with the Views 2 "rewrite the output of this field" option. You can surround your name field output with the necessary tags to make it a block element, positioned below the image rather than inline with the image.
false alarm
I've managed to make it work ! I don't know what was wrong, but my grids suddenly started making sense.
I guess that I needed to have all pictures in place for things to work.
I'm fairly impressed with the new views grouping features, which mean that I can put photos of my students ordered by section, and then by names in each section.