posting_layout_include_panel_body.html
I am successfully uploading the images and it's pretty slick:
However, users have found that when they press Preview or Save Draft all the already uploaded photos and metadata is lost.
I'm trying to find the best way to ensure it gets persisted when Preview or Save Draft is pressed and reloaded.
I figured I could add a hidden input field like this:
Code: Select all
<!-- hidden input field to the form to track uploaded files, for when Preview is pressed -->
<input type="hidden" name="uploaded_files" id="uploaded-files-field" value="">
So that seems like a dead end.
I'm wondering if there's some way of explicitly adding to the post data?
Suggestions? Thanks.