Changeset 1733
- Timestamp:
- 09/02/08 05:04:38 (3 months ago)
- Files:
-
- 1 modified
-
trunk/albums.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/albums.php
r1672 r1733 45 45 // Pull the image information 46 46 $data = array('file'=>$_FILES['file']['tmp_name']); 47 $image_data = get_image_from_source($data);47 $image_data = Album::get_image_from_source($data); 48 48 49 49 // If we got something back insert it … … 74 74 $upload['file'] = $_FILES['file']['tmp_name']; 75 75 $upload['mime'] = 'image/' . $path_info['extension']; 76 $image_data = get_image_from_source($upload);76 $image_data = Album::get_image_from_source($upload); 77 77 78 78 if ($image_data) { … … 146 146 $album_id = $_REQUEST['album_id']; 147 147 148 $image = get_image_from_source($_SESSION['form']['images'][$image_id]);148 $image = Album::get_image_from_source($_SESSION['form']['images'][$image_id]); 149 149 $mime = $_SESSION['form']['images'][$image_id]['mime']; 150 150
