Well post likely you will have to create some kind of modification and apply it.
I mean your going to have to query your
vb database to define such a field as $post[field7] because most likely whereever else your doing this your modifying
vb to grab that database in a specific area so you want to do something similar in photopost.