A solution I've used before when dealing with unknown numbers of data is to use an XML scheme;
<picture1><![[CDATA[....binary data here....</picture1>
<picture2><![[CDATA[....binary data here....</picture2>
The Sql table field will contain this information but you will have to
parse it when inserting/updating and selecting.
Hope this helps</pictures></pictures>