Changeset 32108
- Timestamp:
- Apr 17, 2020, 9:12:26 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/read_metadata/admin.php
r31748 r32108 67 67 } 68 68 69 $tab_picture = pwg_query('SELECT id, name FROM ' . IMAGES_TABLE . ' order by id;');69 $tab_picture = pwg_query('SELECT id,file,name FROM ' . IMAGES_TABLE . ' order by id;'); 70 70 if (pwg_db_num_rows($tab_picture)) { 71 71 while ($info_photos = pwg_db_fetch_assoc($tab_picture)) { 72 if(empty($info_photos['name'])){$legend=$info_photos['file'];}else{$legend=$info_photos['name'];} 72 73 $items = array( 73 74 'PHOTOID' => $info_photos['id'], 74 'PHOTOINFO' => $info_photos['id'].' - '.$ info_photos['name'],75 'PHOTOINFO' => $info_photos['id'].' - '.$legend, 75 76 ); 76 77 $template->append('info_photos', $items); … … 148 149 149 150 /*Exif*/ 150 $exif = read_exif_data($filename);151 $exif = exif_read_data($filename); 151 152 foreach ($exif as $key => $section){ 152 153 if(is_array($section)){
Note: See TracChangeset
for help on using the changeset viewer.