nacin
39605976b1
Use utf8_encode() consistently in wp_read_image_metadata(). Also add some whitespace. props miqrogroove, see #11417 , see #12095
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 12:09:30 +00:00
nacin
f58329a718
Improved IPTC and EXIF handling. Drag a wider net and also try to avoid numeric attachment slugs where possible. Props miqrogroove. See #11417
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 09:17:34 +00:00
ryan
a7c1b164f6
Deprecate wp_shrink_dimension(), add wp-admin/includes/deprecated.php. Props filosofo. fixes #11967
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 18:50:01 +00:00
westi
bf4a5241e1
Add missing version numbers to _deprecated_argument() calls.
...
Remove deprecated argument from xfn_check() calls.
Pass version number to deprecated_file_included, deprecated_function_run and deprecated_argument_run actions.
Fixes #11386 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-09 10:03:55 +00:00
westi
cc30f8ad98
Introduce a single function for getting all the intermediate image sizes to be used both when adding attachements and deleting. Fixes #10263 props scribu.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 08:51:12 +00:00
westi
ff7831207c
Updates and improvements to _depreceated_argument. See #11386 props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 16:23:39 +00:00
ryan
9b6bd6bf87
Retunr WP_Error from wp_crop_image() and image_resize(). Props mdwaffe. fixes #9922
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 18:39:31 +00:00
markjaquith
bf264bb66d
Post/Page Image was too generic a name. Post/Page Thumbnail is more clear, even if you can create very large thumbnail images if you so choose.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 06:14:36 +00:00
westi
944bdb29a6
s/size/s/ fixes #11370 props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-09 09:44:53 +00:00
markjaquith
dc8492b9f5
Introducing set_post_image_size(w, h, crop) so themes can register their special size/crop for canonical post images. WP will create this size/crop upon upload, so your canonical post images fit your space exactly!
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 21:08:19 +00:00
azaozz
fb0d8b44ee
Fix image meta after editing image, disable the Save button when no changes, fixes #11115
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-11 11:24:01 +00:00
azaozz
1c161c23c2
Image editing (first run). Includes code by stephanreiter, see #10528
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-10 22:07:33 +00:00
azaozz
febbb3bbda
Add attachment ID to the wp_generate_attachment_metadata filter, props taco1991, fixes #10494
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-27 23:08:21 +00:00
azaozz
83f674bf9a
Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 04:28:05 +00:00
westi
43ba2effcd
Allow a plugin to change the jpeg image quality. Fixes #9245 props filosofo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-02 21:55:40 +00:00
ryan
e89192b1a8
Strip trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
azaozz
01e981dfdb
Fix thumbnails creation for 8bpp and CMYK images, props DD32, fixes #7039 fixes #8231
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 23:16:36 +00:00
ryan
9ce46d3937
phpdoc for wp-admin. Props jacobsantos. see #7527
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-10 18:21:16 +00:00
ryan
5fd146865b
phpdoc for wp-admin/includes from jacobsantos. see #7527
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 01:03:26 +00:00
ryan
e3f6b2b271
phpdoc for wp-admin/includes from jacobsantos. see #7527
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-17 00:40:10 +00:00
ryan
2c92ac6f0b
Thumbnail and exif fixes from DD32. see #7622
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-13 18:04:20 +00:00
ryan
9b02e29a7b
Make attachment file path relative to the upload dir. Don't use GUID to find attachement URL. Props DD32. see #7622
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-02 22:55:39 +00:00
westi
748aac2e3d
utf8 encode data from IPTC tags. Fixes #7495 for trunk props Txanny.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-27 06:54:48 +00:00
ryan
ff7b8ffe1b
Separate Large and Full image sizes. Props tellyworth. fixes #7151
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-11 03:54:26 +00:00
ryan
35b18e5034
Trailing whitespace cleanup
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
ryan
47c6ee0e09
Suppress exif_read_data() errors. Props tellyworth. fixes #6571 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 20:19:15 +00:00
ryan
ba90d16134
Use is_numeric instead of ctype_digit. Props josephscott. fixes #5481
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 16:56:56 +00:00
matt
bb22054028
Creating intermediate sizes, better thumbnails, and other image improvements. Hat tip: tellyworth.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 04:17:37 +00:00
ryan
de3ab9a05e
image_resize() and friends from tellyworth. fixes #6005
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 18:46:03 +00:00
ryan
833447d59e
Image size options from tellyworth. fixes #5933
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 06:00:15 +00:00
matt
3b82a74e29
Blow out mem limit, slightly larger thumbnails.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 09:02:44 +00:00
ryan
b5aefdfc0c
Use absint
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 08:14:01 +00:00
matt
f55e3feab2
Lowercase extensions too, dynamically change when we try to create thumbnails by memory limit.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 08:02:01 +00:00
ryan
d88983793b
Trailing whitespace cleanup
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan
3388050bf9
New image uploader from tellyworth. see #5609
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 08:14:29 +00:00
matt
2073c22bbd
Post screen improvements^H^H^H, er, changes. Will file tickets for todos.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-03 08:03:29 +00:00
westi
19471ad3ab
Fix funky formatting
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-21 09:23:59 +00:00
westi
92c4835150
Preserve PNG transparency/alpha during thumbnail creation. Fixes #2805 props Libertus/Otto42.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 22:24:39 +00:00
westi
71b2207ea3
Ensure we don't call exif_read_data() on unsupported file types. Fixes #5397 props DD32
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 22:18:28 +00:00
ryan
2283075a92
Remove unused variables. Props DD32. see #5418
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 06:37:30 +00:00
ryan
dd29614f60
Extract and save image metadata. Props tellyworth. fixes #5162
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-05 00:01:26 +00:00
westi
3d04ae4f29
Refactor of wp-admin/includes/image.php. Fixes #5312 , #4151 , #4709 , #5304 props DD32.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-03 18:33:19 +00:00
ryan
2f09416258
Trim empty lines. Nothing but newline.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
ryan
770613e763
Admin includes reorg. see #4334
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 07:16:21 +00:00