amshaf / timthumb

Automatically exported from code.google.com/p/timthumb
0 stars 0 forks source link

New feature code changes #306

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hey guys - thanks for such a great utility ... I needed some new function and 
got in and re-arranged v2.8.4 quite a bit -- wondering if you would be 
interested in going forward with a v3.0.0

There are a few more tweaks I am going to handle and I would like to know if I 
should make it robust or keep it to my needs.

I've attached everything - let me know (cgmckeever at gmail)

Added:
 - all CONSTANTS are properties, some public some protected
 - act as a standalone class that can perform batches
 - added better handling on ZC-2 to handle canvas that is fully larger than the original
 - ability to request directly from the cache (no going through PHP parser)
 - sub-directory handling of content and cache
 - broke out some of the code into methods for better housekeeping

Some of these may have been aggressively removed

Removed
 - removed security prefix (to allow for direct requesting)
 - 

Ive tested a lot -- but not everything and not stressfully (especially some of 
the docRoot logic)

Havent Tested:
 - WEBSHOT
 - PNG Optimization
 - some of the minor config options

Original issue reported on code.google.com by cgmckee...@gmail.com on 13 Dec 2011 at 9:56

Attachments:

GoogleCodeExporter commented 9 years ago
This looks really nice, but the problem is that it's not a drop in replacement. 
This turns TimThumb into a library to use in web apps rather than something 
that you would just link to.

As such I am not sure what to do with this at the moment, but I will give it a 
serious think.

Original comment by BinaryMoon on 22 Dec 2011 at 12:33

GoogleCodeExporter commented 9 years ago
you can create a script/page that initiates the TT lib, parses the query string 
and sends the request -- in that sense it would be very drop-in

Original comment by cgmckee...@gmail.com on 22 Dec 2011 at 3:12

GoogleCodeExporter commented 9 years ago
How do I use this?

Original comment by Ju...@completeconsignment.com on 30 Oct 2013 at 8:12