PHPCR gallery support