Fix homepage pictures helper