Fixed Gallery.

Now it's working just fine.