ECMS File & Image Libraries

From NewHaven Software Wiki

Revision as of 21:59, 31 December 2009 by Mike snyder (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

File names

  • Make sure that the file extension (.jpg, .pdf) is in all lowercase letters. Some areas of the admin use the extension to check the file type, and since the server is case-sensitive, uppercase letters will cause a mismatch.
  • Remove any special characters (such as '%','@','&') from the image name before uploading. These are generally reserved characters in HTML, PHP, Smarty, or SQL, and are not allowed as part of a file name.
  • Replacing spaces with an underscore (_) helps your filenames from look like this:
  http://www.newhavensoftware.com/images/2010_Catalog_Page_1.jpg

instead of like this:

  http://www.newhavensoftware.com/images/2010%20Catalog%20Page%201.jpg

Allowed file types

The following file types are allowed in the eCMS File Library (file types allowed in the Image Library are specifically labeled).

File extension Description Image Library?
cssCascading Style Sheets 
csvComma-Separated Values 
docMicrosoft Word Document 
flvFlash Video File 
gifCompuServe GIF ImageYes
icoWindows IconYes
jpgJPEG ImageYes
jsJavaScript Source Code 
midMIDI Music 
midiMIDI Music 
movQuickTime Movie 
mp3MPEG Audio Layer 3 File 
mp4Mpeg-4 Video 
pdfPortable Document Format 
pngPortable Network Graphics ImageYes
swfShockwave Flash 
ttfTrueType Font 
wavWindows Waveform Sound 
wmvWindows Media Video 
xlsMicrosoft Excel Worksheet 
zipZIP Archive 
Personal tools