1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00
vichan/inc
discomrade a752a3930c
Fix custom thumb_ext for ImageMagick convert
When using ImageMagick's convert tool, the output defaults to the input format if no file extension or format is specified.
The temp file currently has no extension, so a $config['thumb_ext'] value has no effect on the image.
By appending the thumb_ext to the temp output file, it will convert the image to the intended format.

You can see this issue present on lainchan, where thumbnails have a .png filename but are not really PNG files when the input is a .jpg, for example.
2021-06-23 11:52:29 +00:00
..
captcha Update config.php 2017-04-24 11:41:49 +02:00
image Close #282 2018-05-10 17:33:07 +08:00
lib use composer 2021-02-13 19:24:03 +01:00
locale add telegrams 2021-03-12 21:51:42 +01:00
mod add telegrams 2021-03-12 21:51:42 +01:00
nntpchan Update license and copyright dates 2018-03-01 22:57:53 -03:00
anti-bot.php move antibot functions 2021-02-13 21:14:06 +01:00
api.php Cyclical threads ♺ 2016-05-06 16:39:20 +02:00
bans.php use composer 2021-02-13 19:24:03 +01:00
bootstrap.php mute constant redefinition notice 2021-02-14 09:22:01 +01:00
cache.php fs cache backend: silence the error 2015-04-06 22:51:02 +02:00
config.php typo 2021-03-12 21:52:37 +01:00
controller.php split route and controller parts from smart build 2016-05-08 02:50:44 +02:00
database.php Begin upgrade to much better bans table. DO NOT PULL YET; It won't work. 2013-09-17 09:15:24 +10:00
display.php simplify the code a bit 2016-05-05 07:51:55 +02:00
events.php Cleaner check to make sure inc/ files aren't accessed directly. 2013-09-06 20:12:04 +10:00
filters.php enhance filters; make them work on multiimage 2014-08-08 21:35:00 +02:00
functions.php fix undefined index in cloak_mask/uncloak_mask 2021-04-01 22:30:22 +02:00
image.php Fix custom thumb_ext for ImageMagick convert 2021-06-23 11:52:29 +00:00
instance-config.php Change of instance-config defaults 2011-02-16 16:21:48 +11:00
lock.php i forgot about a queue and a lock implementation 2016-05-08 15:37:49 +02:00
polyfill.php ease the migration process for the previous security patch (by introducing another migration); restore php 5.4 compatibility (introducing a polyfill system) 2016-05-05 06:43:22 +02:00
queue.php i forgot about a queue and a lock implementation 2016-05-08 15:37:49 +02:00
remote.php Cleaner check to make sure inc/ files aren't accessed directly. 2013-09-06 20:12:04 +10:00
route.php advanced build (1/2): a small refactor of index generating procedure; generation strategies 2016-05-08 10:54:30 +02:00
template.php use composer 2021-02-13 19:24:03 +01:00