WordPress.org

Ready to get started?Download WordPress

Forums

Attachments
[resolved] Can't attach PDF, DOC, TXT files (7 posts)

  1. helika
    Member
    Posted 1 year ago #

    Hi!

    When using WordPress 3.5 (tried with 2 different installations) and latest Attachments version 3.0.4. I can't seem to attach PDF, DOC or TXT files.

    When attaching, I can SEE all types of files in the new Media pop-up window, but after selecting for example one pdf file and clicking "Attach", nothing happens. The Attachments field still shows only "Attach files here!" message and "Attach files" button.

    But, when selecting the image file as attachment, then everything works as it should and the attachment is visible with the 3 fields for Title, Caption and Copyright showing and attachments working/showing in the loop. Oh, and yes, the "filetype" property in the functions.php is set tu null.

    Strange thing is, on one of the 2 installations I upgraded from the 1.6.2. version and the migrated PDF attachments from older version are visible (in admin and on the webpage).

    ?

    http://wordpress.org/extend/plugins/attachments/

  2. Daniele Raimondi
    Member
    Posted 1 year ago #

    Exact the same here, js console says:

    Errore: TypeError: attachment.attributes.sizes is undefined

    Furthermore if I click inthe title or description field nothing happens. The only way to insert text is clicking on the label above each input field (seems a js glitch).

  3. Jonathan Christopher
    Member
    Plugin Author

    Posted 1 year ago #

    This has been fixed in 3.0.5, available now, thank you!

  4. helika
    Member
    Posted 1 year ago #

    Wow, that was FAST!

    It's working perfectly for .pdf, .doc and the rest filetypes now!

    Thank you so much! You rock and rule! :)

    Cheers!

  5. CarolynV
    Member
    Posted 1 year ago #

    I have WordPress 3.5 and can't upload pdf files. The error tells me that pdf files aren't supported. I want to include files for my visitors to download. Can anyone help? blog.carolynvphotography.com/freebies is where I want to add them.

  6. Jonathan Christopher
    Member
    Plugin Author

    Posted 1 year ago #

    Hi CarolynV, is this issue specifically with the plugin named Attachments, or in general? If it's a general issue I might suggest starting a new thread as this one is specified in line with Attachments the plugin.

  7. CarolynV
    Member
    Posted 1 year ago #

    Thank you. I might need to start a new thread. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic