ECMS File & Image Libraries

From NewHaven Software Wiki

(Difference between revisions)
Jump to: navigation, search
(New page: === Allowed file types === The following file types are allowed in the eCMS File Library ''(file types allowed in the Image Library are specifically labeled)''. {| border=1 |- bgcolor=cre...)
 
Line 1: Line 1:
 +
===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''':
 +
<pre>
 +
  http://www.newhavensoftware.com/images/2010_Catalog_Page_1.jpg
 +
</pre>
 +
instead of like '''this''':
 +
<pre>
 +
  http://www.newhavensoftware.com/images/2010%20Catalog%20Page%201.jpg
 +
</pre>
 +
=== Allowed file types ===
=== Allowed file types ===
The following file types are allowed in the eCMS File Library ''(file types allowed in the Image Library are specifically labeled)''.
The following file types are allowed in the eCMS File Library ''(file types allowed in the Image Library are specifically labeled)''.

Current revision as of 21:59, 31 December 2009

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