Mikael Nordfeldth
|
0b75eaed92
missing argument for sprintf
|
7 years ago |
Mikael Nordfeldth
|
d5c733919b
Because the other part of the code works now, this is unnecessary
|
8 years ago |
Mikael Nordfeldth
|
e8e996182f
Delete file on class destruction or we do it too quickly
|
8 years ago |
Mikael Nordfeldth
|
46c227bf3a
FileNotFoundException is more proper here
|
8 years ago |
Mikael Nordfeldth
|
36cfe9f857
Delete successfully generated thumbnail (temporary sources) too.
|
8 years ago |
Mikael Nordfeldth
|
3a6733dc98
2-frame GIF animations weren't recognised as animated
|
8 years ago |
Mikael Nordfeldth
|
87dd0fbdb6
UseFileAsThumbnailException uses direct File object now
|
8 years ago |
Mikael Nordfeldth
|
107f612384
strict type comparison
|
8 years ago |
Mikael Nordfeldth
|
cd24f7d30a
Issue #166 - we test exif data below, no need for error output
|
8 years ago |
Mikael Nordfeldth
|
265fa12917
Relatively experimental change to store thumbnails in 'file/thumb/' (by default)
|
8 years ago |
Mikael Nordfeldth
|
8806cce735
Default to avoid upscaling of thumbnails. 45x45=>450x450 is ugly
|
8 years ago |
Mikael Nordfeldth
|
80bc7f0e25
File handling changes for better logic
|
9 years ago |
Mikael Nordfeldth
|
fd2efbc6f8
AvatarSettings more aligned to FormAction
|
9 years ago |
Mikael Nordfeldth
|
3ee673ac91
ImageFile->resize now totally replaced with resizeTo
|
9 years ago |
Mikael Nordfeldth
|
3755faf558
SVG files can be used as thumbnails I guess
|
9 years ago |
Mikael Nordfeldth
|
22dbeaef29
Used ->find(true) on wrong object
|
9 years ago |
Mikael Nordfeldth
|
f6df1f1dd3
Documentation and more understandable code.
|
9 years ago |
Mikael Nordfeldth
|
a4af51b5ba
Move thumbnail algorithm mainly to ImageFile class
|
9 years ago |
Mikael Nordfeldth
|
220a13b87f
mimetype added to ImageFile
|
9 years ago |
Mikael Nordfeldth
|
4b8301d39e
ImageFile constructor changed to align with existing code
|
9 years ago |
Mikael Nordfeldth
|
0854a84eb9
Throw more explicit exception in ImageFile
|
9 years ago |
Mikael Nordfeldth
|
97812549b9
Unnecessarily spammy logs for getThumbnail()
|
9 years ago |
Mikael Nordfeldth
|
2a7d45c986
No need for ImageMagick to detected animated GIF
|
9 years ago |
Mikael Nordfeldth
|
4dd6d7869e
Maybe we can detect animated files in core
|
9 years ago |
Mikael Nordfeldth
|
a9135080c3
barename wasn't used, let's rename it filename and use it
|
9 years ago |
Mikael Nordfeldth
|
79824a3625
Could not update avatar due to Bad Thumbnail parameters
|
10 years ago |
Mikael Nordfeldth
|
5a3d74d9a8
UseFileAsThumbnailException (helps support GIFs)
|
10 years ago |
Mikael Nordfeldth
|
adf896bc12
Add support for plugins to resize images
|
10 years ago |
Mikael Nordfeldth
|
db90e2bb65
Apparently exif_read_data wasn't globally available.
|
10 years ago |
Mikael Nordfeldth
|
ca67e848eb
Only JPEG files (and TIFF, which we don't support) have EXIF
|
10 years ago |