Speedup for image placeholder record creation.

This gets called in a loop - once for each section retrieved,
and it was unnecessarily saving each time inside the loop,
instead of once afterwards. Much faster this way!

Change-Id: I7d5791c9846146deb456bd33683812f684d4dcaa
Merge "Speedup for image placeholder record creation."