0
Fork 0
mirror of https://github.com/willnorris/imageproxy.git synced 2024-12-16 21:56:43 -05:00
Commit graph

45 commits

Author SHA1 Message Date
Will Norris
afbd254cdc add smartcrop feature
fixes #55
2017-09-27 00:54:15 +00:00
Will Norris
9fcdcadfa4 update README
- mention caching options in feature overview
- remove not about fetching with go1.2
2017-09-26 15:49:08 +00:00
Will Norris
13409fd7c6 add support for tiered caches
The -cache flag can be specified multiple times to create a tier of
caches.  Typically this would be used to be put a small in-memory cache
in front of a slower on-disk cache.

Fixes #111
2017-09-17 11:20:04 +00:00
Will Norris
a57047ff22 replace in-memory cache with size-limited lrucache
Fixes #4
2017-09-17 11:13:22 +00:00
Will Norris
0ee5167444 switch to official AWS Go SDK
This uses the official Go SDK from Amazon, which supports the newer v4
authentication method.  Fixes #74.  Doing so also required adding a new
s3cache package which uses the official SDK.

THIS IS A BREAKING CHANGE for anyone that uses s3, since the syntax of
the command line flag is now different.  This is unfortunately necessary
because aws-sdk-go always requires the region to be explicitly declared,
which wasn't always the case with the previous format.  This breaking
change is unfortunate, but given that the other s3 package hasn't seen
updates in years, and so many new S3 regions only support the newer v4
authentication method, it's necessary.
2017-09-12 04:44:43 +00:00
Will Norris
955ea12402 remove goxc stuff and update deploy docs
I don't use goxc anymore, and it hasn't been an active project in a
really long time, so there's no need in referencing it.
2017-09-09 08:14:25 +00:00
Will Norris
dbfc693aea add support for redis cache backend
fixes #49
2017-09-09 07:14:44 +00:00
Paul Roy
f1ef8af9ec adding azure support 2017-09-08 15:47:35 +00:00
Diego Marangoni
4b637567e3 add GCS cache 2017-09-01 20:46:05 +00:00
Will Norris
817908938e allow forcing encoding as tiff 2017-08-31 17:06:22 -07:00
Michael Carey
c1a9dab401 Support TIFF images. 2017-08-31 13:04:10 -07:00
Will Norris
4533f0c68a allow crop options to be floats and negative
values between 0 and 1 have the same behavior as the size option - it is
treated as a percentage of the original image size.  Negative values for
cx and cy are calculated from the bottom and right edges of the image.
2017-08-31 07:27:35 +00:00
Will Norris
430baac0b0 minor cleanup to README and options docs
- remove unnecessary option example
- add option example for format changes
- move `-help` text to bottom of section
2017-08-31 07:25:02 +00:00
Will Norris
4f9f13200f readme: fix header levels for deploying section 2017-06-01 08:13:40 -07:00
Will Norris
328044540e add webp support (decode only)
if any transformation is requested, webp images will be encoded and
served as jpeg or png, defaulting to jpeg if no format is specified.

Fixes #88
2017-06-01 08:13:33 -07:00
Will Norris
2937bf84f6 readme: point to godoc for detail option docs
trying to keep this in sync between the two locations wasn't really
working and isn't necessary.
2017-06-01 07:29:09 -07:00
Denis Izmaylov
94dbd77d6e Add points about nginx and Dockerfile 2016-08-05 18:02:42 -07:00
Will Norris
810ecedd69 deprecate cacheSize flag and remove docs
this flag was never actually doing what I thought it was in the first
place.

Also fix up a few instances of cacheDir still be used in config files

fixes #45
2015-12-07 21:09:56 -08:00
Victor Trac
ec96fcbc90 using s3 as caching store 2015-12-07 19:50:00 -08:00
Will Norris
f67209437a readme: fix line wrapping and some wording 2015-12-07 19:49:28 -08:00
Will Norris
b88f2b70e5 add -cache flag and default to no cache
The imageproxy command no longer uses the in-memory cache by default.
Instead, no caching is enabled by default and the in-memory cache can be
enabled by passing `-cache memory`.

The -cache flag also supports specifying directories, and therefore
replaces hte older -cacheDir flag.  cacheDir is still supported for
compatibility, but is deprecated and will be removed in the future.

This also sets us up to add support for additional caching backends in
the future.

Partial fix for #49.
2015-12-04 15:54:00 -08:00
Rune Madsen
5f5df0c860 updating readme 2015-09-08 09:46:28 -07:00
Connor Peet
9213c93c94 Add ability to restrict http referrer 2015-08-15 10:36:07 -07:00
Will Norris
8c13d93bde update links to URL Signing wiki page 2015-08-14 09:56:47 -07:00
Vincent Reydet
28498fe9b1 Update README.md
Add link to the signature wiki page.
2015-08-14 15:57:25 +02:00
Rune Skjoldborg Madsen
c13dfcfa62 Update README.md 2015-08-13 12:47:33 -04:00
Rune Madsen
b0580ee6c3 updating readme 2015-08-12 14:45:19 -04:00
Sevki
0fd85dc016 added docker information to readme 2015-05-29 12:49:24 +03:00
Will Norris
bf72ebfe78 README: rewrite first section and add animated gif 2015-05-21 09:07:38 -07:00
Will Norris
dd529ce4d4 README: older versions of go may have trouble
fixes #24
2015-05-20 10:02:13 -07:00
Will Norris
b2ae3a5840 rewrite first section of README 2015-05-17 21:43:55 -07:00
Will Norris
7a0f78f4be add signature key flag to imageproxy command 2015-05-14 15:30:36 -07:00
Will Norris
ac6dd6d1d1 move badges inline with header; add license badge 2015-05-05 09:56:37 -07:00
Will Norris
436e081e7d add badges to README 2015-05-05 07:53:46 -07:00
Will Norris
ad54d71881 first pass at supporting a default base URL
this allows remote images to be specified as relative URLs, relative to
the `DefaultBaseURL` field.  Fixes #15.
2015-04-28 08:25:10 -07:00
Will Norris
c9e7abaae0 move docs for quality option after flip 2015-02-14 23:31:30 -08:00
Will Norris
089ff8925d update readme to just run imageproxy rather than go run 2015-02-14 23:28:45 -08:00
Parker Moore
bf06767283 readme: install command for quick usage
Installing the server should be as simple as `go get`, and running it should be as simple as executing the compiled binary. The previous option was a bit round-about.
2015-02-14 22:39:14 -08:00
Pete Smith
e7b0a5b88c Add quality option
- Added 'q' option to specify quality (used for JPEGs)
- Updated tests
- Update documentation
2015-02-12 17:49:43 +00:00
Will Norris
8ada90ffd2 small readme updates
- mention in-memory cache and how to use alternate cache implementations
- add link to upstart config script
2014-11-21 10:02:19 -08:00
Will Norris
dd2508d21c add getting started and deploying instructions
This is a first pass at addressing #8
2014-11-21 09:42:42 -08:00
Will Norris
0729544149 add explicit links for example images
GitHub uses their own image proxy (camo), which the example images were
linking to.  Switch to an explicit link, so that the full exmaple URL
can be seen.
2014-11-21 09:02:24 -08:00
Will Norris
71a5b6ef84 update example URLs
switch from s.wjn.me to willnorris.com/api/imageproxy
2014-09-28 11:55:28 -07:00
Will Norris
c5b89e481c update URL for example image 2014-07-06 14:43:01 -07:00
Will Norris
c420b5342e rename readme.md to README.md 2014-06-29 17:30:24 -07:00
Renamed from readme.md (Browse further)