aboutsummaryrefslogtreecommitdiffstats
path: root/include/photo/photo_driver.php
Commit message (Collapse)AuthorAgeFilesLines
* project "snakebite"friendica2014-02-171-5/+11
|
* missing filename in uploaded photos (we don't really use this, but we will ↵friendica2014-01-221-1/+1
| | | | need to have a filename to export via DAV or API and the original filename would be the most likely choice).
* sql errorfriendica2014-01-211-1/+1
|
* auto-crop imported photos for things and xchans. This results in undistorted ↵friendica2013-12-301-1/+21
| | | | images but may result in cropping important parts of the picture. Still this will work well for 95 out of 100 cases. If the width exceeds the height by greater than 1.2 we will remove an equal margin from either side of the photo leaving the center intact. If the height exceeds the width we will chop off the bottom to make it square. This is good for most single person photographs, unless the object of interest is off-center horizontally in a wide photo - or one is trying to emphasize aspects of human anatomy which may be at the bottom of a tall photo.
* things can now have (consistent sized) photos - plus I found a couple of ↵friendica2013-12-281-9/+17
| | | | issues with duplicate notifications and contact photos not getting an album name (it was crossed with filename). The last one doesn't matter as neither is used, but it was wrong so it has been corrected. Oh and thing photos weren't working at all because the form element name was different than what the module was looking for. But that had never been tested as I was waiting to get the import/resize finished. Next up for that module is display and deletion of things; but the priority is pretty low.
* make default profile photo configurable - should be functional but needs ↵friendica2013-12-191-3/+3
| | | | admin ui
* some work on modularising the default profile photo so we can make them site ↵friendica2013-12-091-3/+3
| | | | selectable. Also red != friendica so we don't need all these friendica logos taking up space
* deprecate a->get_curl_code() and $a->get_curl_headers()friendica2013-12-011-7/+7
|
* big changes to photo->store() which is now photo->save() and takes an array ↵friendica2013-08-071-6/+124
| | | | instead of a list of args. Also the beginning of the migration to using photo_flags to indicate special purpose photos such as profile photos and contact photos and "thing" photos.
* photo driver issue when updating contact photos - old class structure used ↵friendica2013-05-051-3/+5
| | | | instead of photo_factory()
* photo driver abstractionfriendica2013-04-251-0/+520