summaryrefslogtreecommitdiff
path: root/lib/imagefile.php
AgeCommit message (Collapse)Author
2010-11-08Break out ImageFile->resizeTo() from ImageFile->resize(); allows resizing ↵Brion Vibber
images to non-square sizes and to arbitrary destinations. Will be used for creating thumbnails as well as the originala use of cropping/sizing avatars.
2010-10-31Fix i18n for B/kB/MB and add translator documentation.Siebrand Mazeland
2010-03-18Remove xpm support (no one really uses it, and IMAGETYPE_XPM is undefined, ↵Craig Andrews
causing warnings) Remove erroneous call to unlink in the constructor
2010-03-11move image type checking to constructor, so checking will be done in all casesCraig Andrews
check if the relevant image handling function exists when deciding if the image type is supported
2010-02-24add image support for xbm, xpm, wbmp, and bmp image formatsCraig Andrews
2009-11-26* Mb -> MB (for megabyte)Siebrand Mazeland
* i18n for MB and kB
2009-11-09Revert "Remove more contractions"Brion Vibber
This reverts commit 5ab709b73977131813884558bf56d97172a7aa26. Missed this one yesterday...
2009-11-08Remove more contractionsSiebrand Mazeland
* doesn't * won't * isn't * don't
2009-11-04Implement update avatar via API (/api/account/update_profile_image.format)Zach Copley
2009-11-02Detect "no file" upload error and, for now at least, ignore it gracefully.Brion Vibber
This was triggering on non-AJAX form submissions for new notices, preventing them from being posted when they contained no attachments.
2009-08-26define LACONICA and accept LACONICA for backwards compatibilityEvan Prodromou
2009-08-25change LACONICA to STATUSNETEvan Prodromou
2009-08-25change controlyourself.ca to status.netEvan Prodromou
2009-08-25change laconi.ca to status.netEvan Prodromou
2009-08-25change Laconica and Control Yourself to StatusNet in PHP filesEvan Prodromou
2009-06-24fix bad function call (needed to be static)Zach Copley
2009-02-09whitespace and formattingEvan Prodromou
2009-02-07Fixed references to common_avatar_*.Sean Murphy
2009-02-07Merge commit 'upstream/0.7.x' into 0.7.xSean Murphy
Conflicts: actions/showstream.php
2009-02-07Fixed #1152: Needless image scaling and poor JPG qualitySean Murphy
2009-02-06Move common_avatar_* functions to AvatarEvan Prodromou
Moved the common_avatar_* functions to the Avatar class. Typically either as methods on the object or as static methods. Replaced all the uses of the functions in other modules.
2009-02-05Two different functions for file sizeEvan Prodromou
Made two different functions for file size in ImageFile; one uses the other. Also, use sprintf() for gettext msgs.
2009-02-05Better fix for displaying max file size.Sean Murphy
2009-02-05Fixed #905: Presenting image size limit to user.Sean Murphy
2009-02-04Fixed #1134; Consolidated image scaling functions.Sean Murphy
2009-01-23Made avatar upload a two-stage process; first upload, then cropEvan Prodromou
2009-01-22Extract image management code to a helper functionEvan Prodromou