Picture Library very slow in Windows 7

My Pictures Library located on a network share is very slow when opening, even if no pictures are loaded but just icons. To avoid this:

Open properties of the My Pictures folder. Click Customize tab. Change Optimize this library for value from Pictures to General Items.

Now it should open much faster.