add pictures from library, out of memory error avoided