Announcement

Collapse
No announcement yet.

Attachments lost on Preview Post

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Attachments lost on Preview Post

    When I t ry to upload an image attachment, and hit "Submit New Thread" it works fine.

    However, if I attempt to "Preview Post" the attachment does not show up, and if I hit "Submit New Thread" after the preview, no image is attached.

    I have seen the same behavior on this site (tried it in the test forum).

    Is this a known bug or is there anything that can be done about it?

    Thanks!

    - bg
    VirtCert.com - DiamondSmarts.com
    Technology for Jewelers - No Technical Experience Required
    Web Site Diamond Search Engines, In-Store Search Engines, Forums & more!
    http://www.VirtCert.com - [email protected] - 888-411-8144 - 443-528-2608

  • #2
    This is a limitation of the HTML specification which doesn't allow you to prefill the file input type.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment


    • #3
      How about this?

      Couldn't you do something like this:

      On the Preview Post click, save the attachment to a temp file or db record, and display it on the Previewed form.

      Then, when the Post is "actually" posted write it out as a normal attached file?

      If the post never posts, just have it deleted after some period?

      Is this functionality (or something similar) going to be available in v3?

      Thanks!

      PS: Wow! A response in a few minutes on a Saturday morning! You guys rock!
      VirtCert.com - DiamondSmarts.com
      Technology for Jewelers - No Technical Experience Required
      Web Site Diamond Search Engines, In-Store Search Engines, Forums & more!
      http://www.VirtCert.com - [email protected] - 888-411-8144 - 443-528-2608

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X