Gallery model and JP locals