Changeset 12780


Ignore:
Timestamp:
12/22/11 08:26:18 (8 years ago)
Author:
rvelices
Message:

derivatives fix mime type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/derivatives/i.php

    r12779 r12780  
    282282switch (strtolower($page['derivative_ext'])) 
    283283{ 
    284     case "jpe": case "jpeg": 
    285     case "jpg": $ctype="image/jpeg"; break; 
    286     case "png": $ctype="image/png"; break; 
    287     case "gif": $ctype="image/gif"; break; 
     284  case ".jpe": case ".jpeg": case ".jpg": $ctype="image/jpeg"; break; 
     285  case ".png": $ctype="image/png"; break; 
     286  case ".gif": $ctype="image/gif"; break; 
    288287} 
    289288header("Content-Type: $ctype"); 
Note: See TracChangeset for help on using the changeset viewer.