I'm using Post-from-Site to allow members to post 'Show & Tell' type posts. These are image heavy. Optimally, all the images would display as a gallery. So in pfs-submit.php, line 119 would read:
$content .= '[gallery]';
$content = str_replace($imgtag, wp_get_attachment_link( $upload[$i], $pfs_options['wp_image_size']), $content);
Unfortunately, for that to work, the uploaded images must be attached to the post. That means that the post must be created before the images are uploaded so that the
$post->ID can be included in the call to
wp_insert_attachment() on line 174.
Is it possible for this to be implemented or should I just fork the project?