Log of /contributions/modules/image/image.module
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.317 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Aug 26 18:06:35 2009 UTC
(3 months ago)
by
joachim
Branch:
MAIN
Changes since
1.316: +4 -2 lines
Diff to
previous 1.316
#555840 by blakehall: Changed theme_image_display() to allow override passed attributes to override alt and title.
Revision
1.292 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jan 18 05:19:10 2009 UTC
(10 months, 1 week ago)
by
sun
Branch:
MAIN
Changes since
1.291: +5 -5 lines
Diff to
previous 1.291
#350511 by simon.males, sun: Added option to configure number of images for latest/random image blocks. (follow-up; sorry, committed the wrong patch)
Revision
1.261 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jan 6 22:15:24 2008 UTC
(22 months, 3 weeks ago)
by
drewish
Branch:
MAIN
Changes since
1.260: +130 -107 lines
Diff to
previous 1.260
#181809 (add1sun, domasj, Donovan, drewish) Beginning to upgrade image modules for Drupal 6, more to come.
Revision
1.257 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Sep 4 23:37:45 2007 UTC
(2 years, 2 months ago)
by
drewish
Branch:
MAIN
Changes since
1.256: +185 -125 lines
Diff to
previous 1.256
#160671 Trying to solve several derivative image problems:
- Check for missing derivative images in image_load() rather than image_display().
- Add image_get_derivative_sizes() to compute which derivative sizes are needed for an image.
- Save rebuilt derivative images using image_update() rather than node_save() so the updated time isn't changed.
Revision
1.209.2.47 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Sep 4 18:17:49 2007 UTC
(2 years, 2 months ago)
by
drewish
Branch:
DRUPAL-5
Changes since
1.209.2.46: +171 -91 lines
Diff to
previous 1.209.2.46
, to
branch point 1.209
#160671 Trying to solve several derivative image problems:
- Check for missing derivative images in image_load() rather than image_display().
- Add image_get_derivative_sizes() to compute which derivative sizes are needed for an image.
- Save rebuilt derivative images using image_update() rather than node_save() so the updated time isn't changed.
Revision
1.256 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Aug 30 19:36:27 2007 UTC
(2 years, 2 months ago)
by
drewish
Branch:
MAIN
Changes since
1.255: +2 -2 lines
Diff to
previous 1.255
#171080 When the original image is smaller than a derivative size, the original image's path should be assigned in _image_build_derivatives().
Revision
1.248 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jul 18 18:41:31 2007 UTC
(2 years, 4 months ago)
by
drewish
Branch:
MAIN
Changes since
1.247: +132 -88 lines
Diff to
previous 1.247
#133436
- Creating a new {image} table for linking image files to nodes.
- Adds a checkbox to rebuild a node's thumbnails.
- Newly uploaded images are stored in the session rather than in hidden form fields.
- Adding some views support since you can no longer use the upload module's.
Revision
1.246
Tue Jul 10 15:53:03 2007 UTC
(2 years, 4 months ago)
by
drewish
Branch:
MAIN
Changes since
1.245: +1 -1 lines
FILE REMOVED
Committing everything twice is silly. I'll re-open HEAD once it's time to start upgrading to DRUPAL-6.
Revision
1.244 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jul 6 15:19:32 2007 UTC
(2 years, 4 months ago)
by
drewish
Branch:
MAIN
Changes since
1.243: +140 -41 lines
Diff to
previous 1.243
#156127 Fixes for bugs in the 5.x-1.3 release:
- Original images imported via image_import.module weren't resized.
- Erroneous "You must upload an image." Error.
Other changes:
- _image_required_sizes() has become _image_is_required_size().
- _image_get_sizes() now accepts an aspect ratio parameter to compute the remaining dimension for sizes where only one dimension specified.
- Added image_create_node_from() to allow other modules to easily create image nodes from a file.
- Other small whitespace cleanups, improved variable names and comments.
A big thanks goes out to VDG, Urfin Juss, kelev for testing the patch.
Revision
1.209.2.35 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jul 6 15:19:06 2007 UTC
(2 years, 4 months ago)
by
drewish
Branch:
DRUPAL-5
Changes since
1.209.2.34: +140 -41 lines
Diff to
previous 1.209.2.34
, to
branch point 1.209
#156127 Fixes for bugs in the 5.x-1.3 release:
- Original images imported via image_import.module weren't resized.
- Erroneous "You must upload an image." Error.
Other changes:
- _image_required_sizes() has become _image_is_required_size().
- _image_get_sizes() now accepts an aspect ratio parameter to compute the remaining dimension for sizes where only one dimension specified.
- Added image_create_node_from() to allow other modules to easily create image nodes from a file.
- Other small whitespace cleanups, improved variable names and comments.
A big thanks goes out to VDG, Urfin Juss, kelev for testing the patch.
Revision
1.239 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Jun 30 00:05:33 2007 UTC
(2 years, 4 months ago)
by
drewish
Branch:
MAIN
Changes since
1.238: +55 -13 lines
Diff to
previous 1.238
#117915 Admin can select which derivative size links are displayed on the node and have them open in a new window.
Revision
1.233 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jun 12 05:04:14 2007 UTC
(2 years, 5 months ago)
by
drewish
Branch:
MAIN
Changes since
1.232: +44 -9 lines
Diff to
previous 1.232
#149597 schnizZzla pointed out that we don't honor the settings specified by node_get_types(). Now you can change the title and body labels or ommit the body all together.
Revision
1.228 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Apr 5 15:20:30 2007 UTC
(2 years, 7 months ago)
by
drewish
Branch:
MAIN
Changes since
1.227: +2 -2 lines
Diff to
previous 1.227
joachim's suggestion for #133127 to change the image CSS class to avoid conflicting with the Garland theme.
Revision
1.227 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Apr 2 16:34:26 2007 UTC
(2 years, 7 months ago)
by
drewish
Branch:
MAIN
Changes since
1.226: +48 -42 lines
Diff to
previous 1.226
- #131589 Duplicate filename not generating thumbnail/preview.
- Adding an IMAGE_ORIGINAL constant for '_original'.
Revision
1.221 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Mar 14 20:36:00 2007 UTC
(2 years, 8 months ago)
by
drewish
Branch:
MAIN
Changes since
1.220: +18 -14 lines
Diff to
previous 1.220
- Records were not being deleted from the file_revisions table.
- Made sure the queries are PostgreSQL compatible.
Revision
1.213 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Feb 19 04:07:11 2007 UTC
(2 years, 9 months ago)
by
walkah
Branch:
MAIN
Changes since
1.212: +51 -3 lines
Diff to
previous 1.212
#42835 - Introduce new hook_image_alter() this hook allows for things
like image rotations, watermarking, etc to be done by external modules.
thanks a *lot* to gordon and stefan!
Revision
1.208 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Dec 8 05:05:22 2006 UTC
(2 years, 11 months ago)
by
walkah
Branch:
MAIN
Changes since
1.207: +10 -1 lines
Diff to
previous 1.207
#59007 : allow only width or height to be specified for a size (and
compute aspect ratio) - patch by Darren Oh
Revision
1.192 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Apr 7 05:38:33 2006 UTC
(3 years, 7 months ago)
by
walkah
Branch:
MAIN
Changes since
1.191: +6 -1 lines
Diff to
previous 1.191
#51600 - modified patch by Montuelle - make sure duplicate images aren't
created when a derivative is the same as the original image.
Revision
1.191 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Apr 7 05:24:58 2006 UTC
(3 years, 7 months ago)
by
walkah
Branch:
MAIN
Changes since
1.190: +8 -18 lines
Diff to
previous 1.190
#51541 - great patch my Montuelle - switches "view original" to a
permission (so you can only allow it on a per-role basis!) and makes it
work again.
Revision
1.187 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Apr 7 04:55:43 2006 UTC
(3 years, 7 months ago)
by
walkah
Branch:
MAIN
Changes since
1.186: +15 -8 lines
Diff to
previous 1.186
#56975 - fix where new image _original paths were getting lost . patch
by naquah.
(this also includes a temporary fix for file_revisions - though
file_revisions aren't fully functioning yet - be warned).
Revision
1.178 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Dec 16 18:19:31 2005 UTC
(3 years, 11 months ago)
by
walkah
Branch:
MAIN
Changes since
1.177: +8 -4 lines
Diff to
previous 1.177
* fix an issue (#41238 , #25465 , #39189) where images could get lost
on certain updates. Please upgrade!
Revision
1.150 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue May 3 14:21:56 2005 UTC
(4 years, 6 months ago)
by
walkah
Branch:
MAIN
Changes since
1.149: +46 -20 lines
Diff to
previous 1.149
implemented "lazy resizing", so that updates to image sizes settings
will be regenerated on next image_display() (closes #20028)
Revision
1.148 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Apr 21 17:24:55 2005 UTC
(4 years, 7 months ago)
by
mathias
Branch:
MAIN
Changes since
1.147: +15 -13 lines
Diff to
previous 1.147
* Display the 'Latest image' and 'Random image' blocks only to users with the 'access content' permission.
Revision
1.145 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Apr 15 14:24:04 2005 UTC
(4 years, 7 months ago)
by
walkah
Branch:
MAIN
Changes since
1.144: +16 -2 lines
Diff to
previous 1.144
* fix #20027 - removed hardcoded height / width in image.css doing
dynamically now in theme_image_album() (can still be themed away).
Revision
1.139 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Feb 11 01:30:36 2005 UTC
(4 years, 9 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.138: +39 -6 lines
Diff to
previous 1.138
Added a new block to image module that displays the latest images added
to the galleries. The number of images to display is configurable, and
defaults to 3.
Revision
1.134 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Oct 25 11:57:21 2004 UTC
(5 years, 1 month ago)
by
weitzman
Branch:
MAIN
Changes since
1.133: +2 -2 lines
Diff to
previous 1.133
access images permission is still in use so putting it back into image_perm(). its usage is incomplete though. we really need an image.module which uses the fileAPI. walkah - we need some code!
Revision
1.132.2.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Oct 22 14:29:43 2004 UTC
(5 years, 1 month ago)
by
weitzman
Branch:
DRUPAL-4-5
Changes since
1.132: +12 -18 lines
Diff to
previous 1.132
updating hook_access for 2 modules. They were outdated, and interfering with the new node permissions API. you are only supposed to return a value when you mean it. otherwise, return nothing or NULL and let node permissions API do its thing
the "access images" permission is no more. no modules limit viewing of their nodes in this way.
Revision
1.133 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Oct 22 14:27:02 2004 UTC
(5 years, 1 month ago)
by
weitzman
Branch:
MAIN
Changes since
1.132: +12 -18 lines
Diff to
previous 1.132
updating hook_access for 2 modules. They were outdated, and interfering with the new node permissions API. you are only supposed to return a value when you mean it. otherwise, return nothing or NULL and let node permissions API do its thing
the "access images" permission is no more. no modules limit viewing of their nodes in this way.
Revision
1.130 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Sep 24 21:58:29 2004 UTC
(5 years, 2 months ago)
by
bruno
Branch:
MAIN
Changes since
1.129: +14 -4 lines
Diff to
previous 1.129
Fix for bug #9161: Missing height, widht and alt attributes. Patch by Robert, modified by me.
Added regeneration of thumbnails if thumbnail dimensions have been changed in admin.
Revision
1.128 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Sep 11 23:37:41 2004 UTC
(5 years, 2 months ago)
by
gordon
Branch:
MAIN
Changes since
1.127: +14 -15 lines
Diff to
previous 1.127
- corrected transformation so that if a temp copy of the image already
exists we will use that.
- added '@' to I think all of the filesystem functions so that they will not
produce errors, and we can report them thru the drupal error reporting
methods.
Revision
1.127 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Sep 10 01:39:44 2004 UTC
(5 years, 2 months ago)
by
gordon
Branch:
MAIN
Changes since
1.126: +7 -5 lines
Diff to
previous 1.126
- fix for when editing images, to stop the images from being deleted.
Note: This patch only stops them from being deleted, unforcantly there is
another problem that then stops them from being put back into the
database. but it does make this error less critical. i.e. does not destroy
data
Revision
1.126 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Sep 8 11:46:55 2004 UTC
(5 years, 2 months ago)
by
bruno
Branch:
MAIN
Changes since
1.125: +9 -10 lines
Diff to
previous 1.125
Fix for bug #10642: Extra white space in image.module and image.inc causing issues, and XHTML images. Patch by Neil.
Revision
1.125 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Sep 4 12:48:27 2004 UTC
(5 years, 2 months ago)
by
bruno
Branch:
MAIN
Changes since
1.124: +11 -11 lines
Diff to
previous 1.124
Replaced '640x400' resolution by '640x480' to keep constant aspect ratio with other proposed resolutions (800x600, 1024x768, etc.)