Log of /contributions/modules/imagecache/imagecache.module
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.107 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun May 3 12:38:35 2009 UTC
(6 months, 3 weeks ago)
by
drewish
Branch:
MAIN
Changes since
1.106: +12 -9 lines
Diff to
previous 1.106
#451106 by skilip: Add $getsize argument to theme_imagecache().
Follow up on #381726 and fix a missed bit of the patch.
Revision
1.94 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jan 6 01:40:21 2009 UTC
(10 months, 3 weeks ago)
by
drewish
Branch:
MAIN
Changes since
1.93: +17 -4 lines
Diff to
previous 1.93
#335780 by drewish: Actions define $image as passed by reference, but call_user_func doesn't support this.
Revision
1.84 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Aug 1 18:54:42 2008 UTC
(15 months, 3 weeks ago)
by
dopry
Branch:
MAIN
Changes since
1.83: +8 -4 lines
Diff to
previous 1.83
some theme function fixes and move remove memory limit and toolkit requirements to imageapi gd and imageapi where they belong respectively.
Revision
1.68 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Apr 24 05:27:45 2008 UTC
(19 months ago)
by
dopry
Branch:
MAIN
Branch point for:
DRUPAL-5--2
Changes since
1.67: +2 -2 lines
Diff to
previous 1.67
remove presets from /admin/build/imagecache title
clean up height/width settings for imagecache_scale_and_crop to compensate
for auto scaling on 0 in imageapi.
Revision
1.64 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Apr 19 19:04:39 2008 UTC
(19 months, 1 week ago)
by
dopry
Branch:
MAIN
CVS Tags:
DRUPAL-5--2-0-RC1
Changes since
1.63: +9 -11 lines
Diff to
previous 1.63
#201849 by jpetso, Flush (remove) also hidden files. enable recursive delete to remove hidden files.
I modified slighty using dir() instead of opendir... supposedly a teensy bit faster.
Revision
1.63 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Apr 19 17:44:28 2008 UTC
(19 months, 1 week ago)
by
dopry
Branch:
MAIN
Changes since
1.62: +3 -3 lines
Diff to
previous 1.62
#210708 reported by ckng, Default image link to front page when using "as link to node" formatter.
use $node->nid instead of $item['nid'] when creating link.
Revision
1.62 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Apr 19 17:31:26 2008 UTC
(19 months, 1 week ago)
by
dopry
Branch:
MAIN
Changes since
1.61: +11 -3 lines
Diff to
previous 1.61
reduce scope of realpath change to just the data going into the shutdown function...
since I expect relative paths everywhere else in drupal...
Revision
1.61 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Apr 19 17:25:24 2008 UTC
(19 months, 1 week ago)
by
dopry
Branch:
MAIN
Changes since
1.60: +3 -3 lines
Diff to
previous 1.60
#220606i by almich, dangling lockfiles, register_shutdown_function is picky about having absolute paths... realpath to save the day.
Revision
1.60 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Apr 19 16:56:13 2008 UTC
(19 months, 1 week ago)
by
dopry
Branch:
MAIN
Changes since
1.59: +6 -5 lines
Diff to
previous 1.59
#227606 reported by safknw, "Invalid argument supplied for foreach() in /var/www/vhosts/endoportal.de/httpdocs/modules/imagecache/imagecache.module on line 299."
added an empty check before trying to iterate over _SESSION['imagefield']
Revision
1.59 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Apr 19 16:38:39 2008 UTC
(19 months, 1 week ago)
by
dopry
Branch:
MAIN
Changes since
1.58: +16 -2 lines
Diff to
previous 1.58
#241672, allow resizing of images outside of the files directory....
add a check to validate that the requested file is in fact an image... should prevent
people from trying to load .css/.php etc files... ;)
some warnings.. if you're gonna use files outside of the file directory path.. be wary
that the relative paths don't conflict with paths in the file directory path.
Revision
1.58 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Apr 19 15:43:19 2008 UTC
(19 months, 1 week ago)
by
dopry
Branch:
MAIN
Changes since
1.57: +15 -40 lines
Diff to
previous 1.57
add rotate action
add path formatter
move hook_requirements to .install
add more requirements... check directories and memory_limit.
Revision
1.57 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Apr 16 18:44:21 2008 UTC
(19 months, 1 week ago)
by
dopry
Branch:
MAIN
Changes since
1.56: +57 -27 lines
Diff to
previous 1.56
fix link to image and link to node formatters...
add default classes to theme_imagecache and imagecache formatters to give CSS and
JS better targets.
Revision
1.19.2.36 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Mar 31 21:01:23 2008 UTC
(19 months, 3 weeks ago)
by
dopry
Branch:
DRUPAL-5
Changes since
1.19.2.35: +87 -114 lines
Diff to
previous 1.19.2.35
, to
branch point 1.19
* some minor cleanups to .info and .install switched package to ImageCache and module name to ImageCache.
* backported header responses from 2.x.
* added some good watchdogs and more error checking/reporting.
* cleaned up lock/tmp file handling. register_shutdown_function is my friend.
* removed some cruftiness from the processing loop and race handling.
* new tmp filename tmp_imagecache_{md5(src)}_{preset}_{basename(src)}, so they are guaranteed unique and mostly identifiable.
* removed optional use of mime_content_type.
* added 307 Location header for images already being process to cause reload of current page... This should try to reload a few times hopefully giving us enough time to finish processing the image.
Revision
1.50 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jan 8 20:21:09 2008 UTC
(22 months, 2 weeks ago)
by
dopry
Branch:
MAIN
Changes since
1.49: +2 -10 lines
Diff to
previous 1.49
Use file.inc:file_delete for imagecache's lock file clean up, instead of creating our own function
that does the exact same thing....
Revision
1.47 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Jan 5 08:04:01 2008 UTC
(22 months, 3 weeks ago)
by
dopry
Branch:
MAIN
Changes since
1.46: +12 -3 lines
Diff to
previous 1.46
fix imagefield_image_flush path generation.
implement hook_imagefield_file to delete cache images when an image is deleted using imagefield...
Revision
1.46 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Dec 28 19:04:30 2007 UTC
(22 months, 4 weeks ago)
by
dopry
Branch:
MAIN
CVS Tags:
DRUPAL-5--2-0-beta
Changes since
1.45: +5 -1 lines
Diff to
previous 1.45
Add execute perm after directory creation to help out people with funky
umasks... the mode added to a mkdir is still affected by the umask, so
I added a chmod after the mkdir, which seems to work regardless of the
umask.
Revision
1.43 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Dec 18 02:41:32 2007 UTC
(23 months, 1 week ago)
by
dopry
Branch:
MAIN
Changes since
1.42: +22 -34 lines
Diff to
previous 1.42
- add imagefield default image support to imagecache formatter.
- got rid of a couple unneccesary file copies.
- simplified locking code, moved completely outside build derivs...
Revision
1.39 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Dec 17 20:38:42 2007 UTC
(23 months, 1 week ago)
by
dopry
Branch:
MAIN
Changes since
1.38: +44 -6 lines
Diff to
previous 1.38
#201774 by jpetso, fix if-modified-since support and re add content-length header to imagecache
output/
#201762 by jpetso, doxygen fixes
#201757 by jpetso, use basename in place of str_replace
#201640 by jpetso, hook_requirments array key fix clean_urls should be imagetoolkist
Revision
1.38 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Dec 17 19:17:55 2007 UTC
(23 months, 1 week ago)
by
dopry
Branch:
MAIN
Changes since
1.37: +3 -3 lines
Diff to
previous 1.37
#201740 by jpetso, fix hook_requirements array element name.
also updated to use imageapi_get_toolkits in head.
Revision
1.32 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Dec 12 09:09:11 2007 UTC
(23 months, 2 weeks ago)
by
dopry
Branch:
MAIN
Changes since
1.31: +339 -373 lines
Diff to
previous 1.31
More work on the new UI. The preset ui is in place. The action ui is partially complete.
the crud api around actions is complete.
Revision
1.31 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Dec 11 16:29:58 2007 UTC
(23 months, 2 weeks ago)
by
dopry
Branch:
MAIN
Changes since
1.30: +4 -3 lines
Diff to
previous 1.30
imagecache_actions.inc is at least functioning again. I have to retest it still.
The presets list and add on the new admin UI is done. Delete is next followed by
the actions section...
Revision
1.29 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Dec 6 14:24:02 2007 UTC
(23 months, 3 weeks ago)
by
dopry
Branch:
MAIN
Changes since
1.28: +221 -145 lines
Diff to
previous 1.28
#141370 by gordon, dman, eaton, dopry. Move image actions into new hook_imagecache_action()
patch from comment #15 applied with heavy modification...
to implement an action your module need to implement hook_imagecache_actions (see php doc in
imagecache implementation).
actions can exist inside your module or in an external include
in the same directory as the implementing module.
there are two call backs for each action implemented...
$action['action'] .'_form($data)' -- preset form....
$action['action'] .'_image($image, $data)' -- this callback does the work...
Revision
1.26 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Oct 5 07:36:19 2007 UTC
(2 years, 1 month ago)
by
dopry
Branch:
MAIN
Changes since
1.25: +204 -104 lines
Diff to
previous 1.25
more major changes for version 2.x
-- #141127 by leo pape and jpetso with modifications, private files support + access control to derivatives.
-- #141127 by jpetso, added last modified header
-- #141127 by jpetso, removed Content-Length header per jpetso
-- #177902 by doug green, strip file_directory_path from urls and paths.
-- added default 403 and 404 image support (ftp only, no ui yet)..
-- imagecache/$presetname.403.png
-- imagecache/$presetname.404.png
-- 404 response if preset unknown.
-- 404 response if source image and 404 image not found
-- 403 response if access denied and 403 image not found.
-- 500 response on error instead of letting drupal try to render
a page.
-- code restructuring, more reusable functions.
Revision
1.25 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Sep 21 10:59:43 2007 UTC
(2 years, 2 months ago)
by
dopry
Branch:
MAIN
Changes since
1.24: +48 -26 lines
Diff to
previous 1.24
#142852 by Steven, Remove inside and outside fit scale options and
add scale and crop action. This commit breaks backwards compatability and
upgrades will require manual intervention.
Revision
1.9.2.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Oct 17 05:54:57 2006 UTC
(3 years, 1 month ago)
by
dopry
Branch:
DRUPAL-4-7
Changes since
1.9.2.4: +219 -321 lines
Diff to
previous 1.9.2.4
, to
branch point 1.9
#89164
tnx, quicksketch
--added some modifications to clean up ruleset/preset name. ruleset should be gone now.
--moved flush calls to before db updates, otherwise preset names could be updated before
a flush was called.
Revision
1.12 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Sep 6 05:09:51 2006 UTC
(3 years, 2 months ago)
by
dopry
Branch:
MAIN
Changes since
1.11: +37 -41 lines
Diff to
previous 1.11
began renaming rulesets to preset to make them a little less intimidating.
change the return value of _imagecache_get_presets() to be more select friendly ($id => $name).
fixed up the url generation in theme_imagecache.
Revision
1.10 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Aug 29 01:04:46 2006 UTC
(3 years, 3 months ago)
by
dopry
Branch:
MAIN
Changes since
1.9: +14 -5 lines
Diff to
previous 1.9
Fixed the multiple image generation due to a non-default files path by including
file_directory_path in the path for the imagecache menu callback,
added a theme function, theme_imagecache($namespace, $path) to make it a little easier
to use and to construct urls using file_directory_path.
Hope this makes life easier for some of you...
.darrel.
Revision
1.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jul 6 22:46:43 2006 UTC
(3 years, 4 months ago)
by
dopry
Branch:
MAIN
Changes since
1.4: +49 -11 lines
Diff to
previous 1.4
The admin UI should be functional now.
Right now its all about imagecache_cache. Once its working we're functional.
Revision
1.4 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jul 6 18:03:55 2006 UTC
(3 years, 4 months ago)
by
dopry
Branch:
MAIN
Changes since
1.3: +67 -47 lines
Diff to
previous 1.3
roughed in new imagecache_cache function. next we'll get the recursive mkdir patch in and we
should be super.
Revision
1.3 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jul 6 05:28:07 2006 UTC
(3 years, 4 months ago)
by
dopry
Branch:
MAIN
Changes since
1.2: +186 -244 lines
Diff to
previous 1.2
Can create/update/delete a ruleset and action.
Add check for op='Add Crop', and 'Add Resize'....
Leave interesting possibilities for later. (watermark, grey scale, sepia, warp, etc).
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.