Fiw Gallery equals implementation