Support » Fixing WordPress » Audio.jpg and Video.jpg Function

  • Resolved Ryan Fitzer

    (@ryanfitzer)


    Anyone have any idea where there’s documentation on what other icons the inline-uploader supports when inserting files other than images. Trying to figure out if it can recognize .pdf and .doc. I’d like to have the option to insert an icon for both these file types similar to how .mp3 and .mov are handled.

Viewing 1 replies (of 1 total)
  • Thread Starter Ryan Fitzer

    (@ryanfitzer)

    Did some digging in trac an found this old page http://trac.wordpress.org/attachment/ticket/2074/attachment-attack.diff

    This says that you can also add these images to you’re theme’s image folder:

    application.jpg to be used as an icon for the following file extensions:
    rtf
    js
    pdf
    doc
    pot
    pps
    ppt
    wri
    xla
    xls
    xlt
    xlw
    mdb
    mpp
    swf
    class
    tar
    zip
    gz
    gzip
    exe

    text.jpg to be used as an icon for the following file extensions:
    txt
    c
    cc
    h
    php
    rtx
    css
    htm
    html

    These are quite the catch-alls and it would be nice to see them further categorized but I least now I know.

Viewing 1 replies (of 1 total)
  • The topic ‘Audio.jpg and Video.jpg Function’ is closed to new replies.