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