Adding Custom Gallery methods