Bug #5826
exif_read_data: file not supported
| Status: | New | Start date: | 2009-12-22 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Votes: | 1 (View) |
Description
In the BE log, a lot of warning messages are displayed:
Core: Error handler (FE): PHP Warning: exif_read_data(dfs-afs_10.gif) [function.exif-read-data]: File not supported in /......../typo3conf/ext/wt_gallery/lib/class.tx_wtgallery_div.php lin
exif_read_data function should be able to read EXIF from JPEG and TIFF files only, so I guess it is quite normal that GIFs (and PNGs too) are not supported.
Indeed, the above messages are annoying: can they be avoided anyhow without changing the code?
Otherwise a check could be added in order to avoid reading EXIF for non supported formats.