added gallery support for products and frontpage