Look over my code and compared to your code, what did you do differently? Please. There is now a both.rpy for to consolidate something for, well... both galleries. That has the resizer transform.
Your solution seems to be much more elegant than mine, though I've implemented a thumbnail size parameter in the class GalleryItem. Overall, our approach seems pretty much the same. Cool gallery, and thank you again for sharing it :)