Michael Vogel
80efc422bf
Added documentation
2016-10-25 05:44:57 +00:00
Michael Vogel
8cab3b5592
More transactions, more queries on uncommitted data
2016-10-24 08:10:27 +00:00
Michael Vogel
5580c0d708
Bugfix: Sometimes uploaded pictures weren't posted correctly to other networks
2016-05-29 10:59:06 +02:00
Michael Vogel
1cdcb9fc2e
DFRN: Entry import could work now, first steps for mails
2016-01-29 17:42:38 +01:00
Michael Vogel
410ebb4cbf
Added documentation
2016-01-28 12:35:07 +01:00
Michael Vogel
6f662b8c74
New avatar picture fields to better cope with changing avatars
2016-01-28 01:26:19 +01:00
Michael Vogel
5ec2c7e965
When a server isn't reachable there were timeout problems with fetching image data
2016-01-18 15:38:38 +01:00
rabuzarus
3df5c17124
reformat todo according to doxygen style
2015-12-25 23:17:34 +01:00
rabuzarus
c775d6885b
port of reds geotag feature
2015-10-03 20:24:35 +02:00
rabuzarus
68e565889d
moved formatBytes() to /include/text.php
2015-06-29 11:22:29 +02:00
rabuzarus
a982320ba9
show maximagesize warning in a human readable format
2015-06-29 02:39:08 +02:00
Gregory Smith
ce821d0891
use ImageMagick for orientation when available
2015-04-12 21:09:25 -04:00
Michael Vogel
df880f7fd2
Adding performance measuring to the photo functions.
2015-03-07 21:07:26 +01:00
Michael Vogel
33c0aba5b7
Add the file size to the photo data array
2014-12-31 15:44:32 +01:00
Michael Vogel
7144d22cc1
If a picture was too small it got cropped
2014-09-02 02:36:04 +02:00
Michael Vogel
a553dda2ef
New function to upload photos to the wall. (Will be used in connectors)
2014-07-15 08:49:41 +02:00
Michael Vogel
5ed5773f57
The temporary paths (temp, lock, itemcache) are now detected automatically when used.
2014-06-23 01:24:39 +02:00
Michael Vogel
a1dbfdee65
API: Support of privacy_image_cache - if enabled
2014-06-16 21:49:45 +02:00
Michael Vogel
52474847cb
New function to fetch image information. (Will be used in the addons at a later time)
2014-06-15 23:32:14 +02:00
Michael Vogel
7cec1bbfdf
Removed another "limit 1"
2014-03-09 09:25:57 +01:00
Michael Vogel
d92a348cf0
- Using APC to store config values (when present)
...
- Enabling interlacing for pictures
2013-08-09 18:28:50 +02:00
friendica
5d904a9fa8
improve performance of photo upload page
2012-11-25 19:34:54 -08:00
friendica
f6f3042d00
imagick exception
2012-10-17 15:22:29 -07:00
Zach Prezkuta
c3cf459b27
use getWidth and getHeight, which are agnostic to Imagick being enabled
2012-10-09 09:35:32 -06:00
friendica
112fafcc81
consistent handling of scaled images when using imagick
2012-09-30 03:25:20 -07:00
friendica
8416cff2a5
slight adjustment to Photo scaling - also discovered imagick resize may need some additional work
2012-09-29 05:46:01 -07:00
friendica
0693afd6b7
only constrain horizontal image dimension for scaling very tall photos
2012-09-29 05:20:29 -07:00
friendica
2abbd1dc19
permissions selector showing up for guests, testbubble and smoothly
2012-09-15 20:21:17 -07:00
Domovoy
67563d5c82
Fallback to gd if Imagick can't load the data
2012-09-12 11:55:09 +02:00
friendica
9e5fa5b9a9
ignore exif orientation if we can't parse the particular flavour of exif
2012-09-05 04:02:30 -07:00
Zach Prezkuta
ba66e17d1d
ImageMagick rotates CW while imagerotate() rotates CCW
2012-08-04 17:30:25 -06:00
Domovoy
ba76af3488
Forgot a ;
2012-07-22 17:50:58 +02:00
Domovoy
36f600aaf2
Moved compression setup in constructor for Imagick
2012-07-22 17:27:09 +02:00
Domovoy
a3df0d9817
get_FormatsMap doesn't need to be static
2012-07-22 17:09:18 +02:00
Domovoy
62cd4dcb77
Set the type to what it will be saved to in the constructor
2012-07-22 17:07:13 +02:00
Domovoy
7a1f15c8da
Always coalesce, if it is not a multi-frame image it won't hurt anyway
2012-07-22 16:27:22 +02:00
Domovoy
c0d3d50fb5
Don't forget to clean frames before saving
2012-07-22 16:22:06 +02:00
Domovoy
ab484ebc76
getExt should not use Imagick format, mapping ext and mime type is more accurate.
2012-07-22 16:19:35 +02:00
Domovoy
83075c2f27
Set the Imagick image format in the constructor, so we can uset [get|set](image)XXX methods as intended
2012-07-22 16:12:47 +02:00
Domovoy
689e3028bf
Use getImageFormat to know the image format in the constructor.
...
Since we don't load the image with Imagick constructor, we need to use the [get|set]imageXXX methods.
We should be able to handle the image as if it was loaded from Imagick constructor, so that we don't get lost between the image and its frames.
Also added a debug log so that we get some info on unhandled mime types.
2012-07-22 15:24:41 +02:00
Domovoy
0acb983be4
guess_image_type now uses Imagick::getImageMimeType()
2012-07-22 15:17:40 +02:00
Domovoy
5d0bd98d2a
Photo::getType() now uses the accurate Imagick::getImageMimeType()
2012-07-22 14:50:19 +02:00
Domovoy
f723f756fd
Photo::scaleImageSquare was giving an inexistent variable to scaleImage.
2012-07-22 14:22:47 +02:00
Domovoy
6c2cd91184
gd is back in the game as a fallback: not everybody can have Imagick.
2012-07-22 13:43:46 +02:00
Domovoy
fb2f4b6b35
Photo now uses Imagick instead of gd.
2012-07-21 17:17:19 +02:00
Zach Prezkuta
fb4295f07f
better check for image EXIF support
2012-07-08 11:17:50 -06:00
Zach Prezkuta
9fbe921051
auto-orient uploaded wall photos and profile photos also
2012-07-08 09:18:05 -06:00
friendica
dbceef04e8
exif_read_data may not be available and isn't a requirement - check and silently ignore exif orientation if it isn't there
2012-06-18 20:21:54 -07:00
Zach Prezkuta
7cd516e34f
fix some whitespace issues
2012-06-18 21:06:54 -06:00
Zach Prezkuta
42fa47e8f7
rotate uploaded images if an EXIF rotation is present
2012-06-18 21:02:11 -06:00