Commit graph

76 commits

Author SHA1 Message Date
Matthew Barbour
f594e9066e Added image flag 2019-10-18 16:27:04 +01:00
Shish
a6bb15d859 formatting 2019-09-29 14:30:55 +01:00
Matthew Barbour
de98e86938 ExtensionInfo conversions what have I done 2019-08-07 15:40:01 -05:00
matthew
7991e981ca Revert "Update main.php"
This reverts commit 0eeede7977f69c1e3a60d778de771f08eed4fc38.
2019-07-08 08:07:17 -05:00
Matthew Barbour
9ce5a05840 Update main.php 2019-07-08 08:07:16 -05:00
Matthew Barbour
b1db833d51 Added additional media properties to the images table, video, audio, length, and lossless.
Added new event to handle fetching media properties like height, width, and the newly added fields, and admin controls to manually scan files for their properties.
Added a search terms content:video and content:audio to search for images that do (or do not) have those flags.
2019-07-08 08:07:09 -05:00
Matthew Barbour
b0e12f6a6c Update main.php 2019-07-08 08:07:05 -05:00
Matthew Barbour
18656db7c8 Update main.php
Testing a CI issue
2019-07-08 08:07:04 -05:00
Matthew Barbour
3859e27839 New Graphics extension
Added constants to several extensions
2019-07-08 08:07:02 -05:00
Matthew Barbour
37fe743f65 Changed "images" and "thumbs" usages to constants 2019-06-15 11:20:11 -05:00
Matthew Barbour
ed4b6bc4a0 Updated handle_ico to use new common image thumbnailing and to inherit DataHandlerExtension 2019-06-14 13:00:59 -05:00
Matthew Barbour
1b76366dd9 Cleaned up some of the new image processing code, added documentation 2019-06-14 09:41:55 -05:00
Shish
064b24ffc1 formatting pass 2019-06-14 13:47:50 +01:00
Matthew Barbour
eb4292316d Added webp upload and thumbnailing support
Bug fixes and consolidation of various thumbnail and resize functionality
Changed resize/rotate extensions to use replace image event
Added content-disposition header to image responses to provide a human-friendly filename when saving
Added more bulk thumbnail regeneration tools
Tweaks to bulk actions to correct totals when batching items
2019-06-09 14:14:04 -05:00
Matthew Barbour
49cb6f7233 Added thumb_scaling option for generating high-dpi thumbnails 2019-06-06 14:12:13 -05:00
Shish
2396ae2ef9 fix a bunch of lints 2019-05-28 20:27:23 +01:00
Shish
34b05cca7c PSR-2. I'm not a huge fan, but ugly consistency beats no consistency... 2019-05-28 17:59:38 +01:00
Shish
4c70258352 typos 2019-04-16 20:41:13 +01:00
Shish
dd8a90414f leave it to the theme to link to the image 2018-07-26 00:26:23 +01:00
Shish
977c3db1e3 PHP7 type annotations 2017-09-21 05:21:42 +01:00
jgen
f492c6c2c3 Ensure that the Image object tag_array and the metadata array tags are always arrays. 2017-05-12 00:57:50 -07:00
Shish
bed04a1230 assert that metadata['tags'] is an array 2016-07-30 23:02:14 +01:00
Shish
1ac88e8923 more comments 2015-09-27 12:38:48 +01:00
Daku
693b18f50c fix "Image Only" not working with nice_urls disabled 2014-09-02 17:06:39 +01:00
jgen
4f51e942be Updating/Fixing/Adding more comments with the PHP Doc style. 2014-04-27 15:33:57 -04:00
jgen
daee99c1bc Removing the closing PHP "?>" tag as per style guidelines. 2014-04-24 22:28:53 -04:00
Shish
f72bfbb050 fix indentation 2014-04-06 20:47:01 +01:00
Shish
c8aa3327a1 A bunch of small changes from scrutinizer-ci; some tidying, some actual bug fixes 2014-03-30 13:26:48 +01:00
Shish
db5aa56300 remove a bunch of dead code 2014-03-29 11:44:34 +00:00
Shish
b0b0324ee7 image only button 2013-09-19 19:30:50 +01:00
HungryFeline
cbd927ffa2 Allow transload of image urls with querystrings
And remove them from the filename and fileext
2013-07-02 04:31:06 +02:00
velocity37
a2e1edded5 Actually use thumb_convert_path
The check would always fail even on Windows, resulting in thumb_convert_path never being used. See:
https://github.com/shish/shimmie2/issues/254
2012-08-21 18:51:20 -07:00
Shish
4470d937a4 handle_pixel -> shm-* 2012-08-15 19:46:51 +01:00
Shish
1daf0416bd optionally run jpegoptim on newly created thumbs 2012-06-23 23:02:02 +01:00
Shish
cb8b4f3329 have a single var for memory limit 2012-05-22 12:26:47 +01:00
Shish
19fb6a16ae image zoom isn't an admin option any more 2012-04-01 16:53:47 +01:00
Shish
eb705d29f5 image scaling cookie 2012-03-24 11:17:09 +00:00
Shish
90347a08dd extent rather than crop and repage 2012-03-06 20:30:41 +00:00
green-ponies (jgen)
30eb5ddd8b More type hints! 2012-02-09 23:04:37 -05:00
Shish
ec0fab54d8 these are magicked now 2012-02-02 07:53:27 +00:00
Thasan
cd34879cf1 oops, forgot debug code 2012-01-12 03:59:58 +02:00
Thasan
9f8a49483f check if thumbnail already exists before regenerating it, way to force regen. 2012-01-12 03:54:27 +02:00
Shish
b5f5c861c4 quality in imagemagick mode 2011-12-24 21:30:54 +00:00
Shish
4f864c6a80 remove quotes from convert.exe in some cases 2011-08-08 13:01:35 +01:00
Shish
3cf72af8cd remove extra debug 2011-01-26 17:20:46 +00:00
Shish
46b01c4042 make sure thumbnails have a max ratio of 5:1 2011-01-26 17:09:45 +00:00
seinoxygen
115d992ff0 merged image zoom 2011-01-01 19:19:18 +00:00
Shish
7403fd7c87 Revert "checks for files without extensions, from AtomicDryad"
This seems to break something, such that uploading a jpeg results
in image size 0x0 (other bits seem to work though o_O)

Will take a look at what's up and re-commit later...

This reverts commit ead87d3934.
2010-12-24 20:44:38 +00:00
Shish
ead87d3934 checks for files without extensions, from AtomicDryad 2010-12-22 21:43:00 +00:00
Shish
2c1fa2fd7f move warehouse directory creation into a single place 2010-04-23 05:46:07 +01:00