Commit graph

18 commits

Author SHA1 Message Date
Bart Visscher
3eff161bbf OC_Image: Use valid function instead of checking the resource 2012-02-12 15:14:24 +01:00
Bart Visscher
8684e847b0 OC_Image: change static vars to object vars 2012-02-09 22:44:26 +01:00
Bart Visscher
eb5de4d4f7 Change gallery thumbnail generation to OC_Image 2012-02-08 21:12:30 +01:00
Robin Appelman
6866165a37 make oc_image work when php_exif isn't enabled 2012-01-20 17:13:49 +01:00
Thomas Tanghus
e60860148c Don't chunk_split encoded image string.
Don't return json error but null if card can't be parsed.
Small check for non-parsable card in index.php.
2012-01-12 22:50:12 +01:00
Thomas Tanghus
5f04b41ea6 Just a comment ;-) 2012-01-09 20:40:24 +01:00
Thomas Tanghus
2f86a6203a Added fixOrientation method which rotates the image based on EXIF data. 2012-01-05 17:42:40 +01:00
Thomas Tanghus
d80b477ab5 Wrong permission checking on file save. 2012-01-04 23:31:32 +01:00
Thomas Tanghus
48a8f2a793 Content type header was sent when saving image to disk. 2012-01-04 22:57:42 +01:00
Thomas Tanghus
b8cffbc0ee OC_Image::__invoke didn't return anything thus causing contacts/thumbnail.php to spit out lots of error messages. 2012-01-02 23:17:15 +01:00
Thomas Tanghus
6a7fbf9d13 Added more error checking and debug on missing image support. 2012-01-02 13:40:23 +01:00
Thomas Tanghus
c62c55fb81 Added save() to OC_Image. 2012-01-02 12:09:45 +01:00
Thomas Tanghus
a8789ebe29 Removed static declaration from loadFrom* methods. 2012-01-02 00:43:27 +01:00
Thomas Tanghus
db6738478b Mixed up two lines :-P 2012-01-01 23:34:26 +01:00
Thomas Tanghus
312e7993bb Added image type specific loading and displaying.
Added method 'valid()' to tell if image contains a valid resource.
Renamed imageResource() to resource().
2012-01-01 23:26:24 +01:00
Thomas Tanghus
929ce2b566 Small fixes 2012-01-01 20:06:35 +01:00
Thomas Tanghus
c500c1e930 Removed some denug statements and an exception thrown. 2012-01-01 18:07:46 +01:00
Thomas Tanghus
6207c0444b Added class OC_Image 2012-01-01 17:57:26 +01:00