A solution I've used before when dealing with unknown numbers of data is to use an XML scheme;
i.e
<pictures>
<picture1><![[CDATA[....binary data here....</picture1>
<picture2><![[CDATA[....binary data here....</picture2>
etc...
<pictures>
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>