Commit Graph

56 Commits

Author SHA1 Message Date
Andrew Ozz
0f0186dc3c Add alt text and filter to wp_get_attachment_image(), props Sam_a, fixes #8732
git-svn-id: https://develop.svn.wordpress.org/trunk@10744 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-08 05:42:17 +00:00
Peter Westwood
0560f26f76 Allow a plugin to change the jpeg image quality. Fixes #9245 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@10682 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-02 21:55:40 +00:00
Andrew Ozz
e29eda95c4 Allow shortcodes inside caption boxes, props Viper007Bond, fixes #9022
git-svn-id: https://develop.svn.wordpress.org/trunk@10498 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-04 17:07:26 +00:00
Andrew Ozz
75c6fc4c3a wp_get_attachment_link() variable upgrade, props noel, fixes #9036
git-svn-id: https://develop.svn.wordpress.org/trunk@10495 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-04 15:12:24 +00:00
Ryan Boren
bf2cfefdff Avoid division by zero
git-svn-id: https://develop.svn.wordpress.org/trunk@10227 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-19 07:04:18 +00:00
Ryan Boren
baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Andrew Ozz
bcfde60872 Move Gallery Settings to the Gallery tab in the uploader, split the Upload tab in "From Computer" and "From URL" tabs
git-svn-id: https://develop.svn.wordpress.org/trunk@9894 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-26 02:27:37 +00:00
Andrew Ozz
4fa6ae8fa5 Gallery settings for TinyMCE
git-svn-id: https://develop.svn.wordpress.org/trunk@9847 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-23 06:37:15 +00:00
Ryan Boren
44b2293ae7 Use dir not url. Props DD32. fixes #8207
git-svn-id: https://develop.svn.wordpress.org/trunk@9688 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-14 18:32:10 +00:00
Ryan Boren
c92ac3b6d2 Init var. see #7692
git-svn-id: https://develop.svn.wordpress.org/trunk@9283 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-22 18:45:09 +00:00
Ryan Boren
61068c87d1 Remove unused var. see #7692
git-svn-id: https://develop.svn.wordpress.org/trunk@9282 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-22 18:39:50 +00:00
Ryan Boren
a5f43eaf65 icon_dir_uri filter instead of icon_dir. Props jmini. fixes #7947
git-svn-id: https://develop.svn.wordpress.org/trunk@9280 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-22 17:09:03 +00:00
Ryan Boren
696db5f758 phpdoc for media.php. Props jacobsantos. fixes #7658
git-svn-id: https://develop.svn.wordpress.org/trunk@8925 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-18 06:14:46 +00:00
Ryan Boren
243ce31e7b phpdoc for media.php. Props jacobsantos. see #7658
git-svn-id: https://develop.svn.wordpress.org/trunk@8792 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-01 05:45:41 +00:00
Ryan Boren
da4e0eca48 Separate Large and Full image sizes. Props tellyworth. fixes #7151
git-svn-id: https://develop.svn.wordpress.org/trunk@8612 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-11 03:54:26 +00:00
Ryan Boren
2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Andrew Ozz
491b47b300 Removes the disabling of captions, but leaves couple of hooks so a plugin can do it easily. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8358 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-16 21:36:17 +00:00
Ryan Boren
afd113dcf2 Rename wp_caption shortcode to caption. Allow themes to disable captioning. Use dashes instead of underscores in class names. Props azaozz. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8313 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-11 15:59:14 +00:00
Ryan Boren
f0f5316a1d Use dash instead of underscore for CSS names. Props azaozz. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8289 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-08 23:37:56 +00:00
Ryan Boren
ecf41b5b88 Make sure attachment meta data is an array. Props nbachiyski. fixes #7252
git-svn-id: https://develop.svn.wordpress.org/trunk@8261 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-06 16:40:15 +00:00
Ryan Boren
cd8d510b27 Fix wp_get_attachment_thumb_url() tumbnail back compat. Props DD32. fixes #7242
git-svn-id: https://develop.svn.wordpress.org/trunk@8257 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-04 16:15:29 +00:00
Ryan Boren
45ac770299 Image captions from azaozz. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8239 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-02 18:41:11 +00:00
Ryan Boren
4d7ef70c39 New filter and phpdoc for get_image_tag(). Props jacobsantos. fixes #7065 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8029 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-31 19:12:55 +00:00
Ryan Boren
f213f87d59 First cut and better admin SSL support. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@7998 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:46:01 +00:00
Ryan Boren
468ac2a54e get_posts fixes from DD32 and filosofo. see #6772
git-svn-id: https://develop.svn.wordpress.org/trunk@7892 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-05 15:46:32 +00:00
Ryan Boren
a9086170fb Don't reuse image_send_to_editor filter in get_image_tag(). Props AaronCampbell. fixes #6806 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7838 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 17:58:38 +00:00
Mark Jaquith
24a68a43b4 Revert [7700] from trunk in preparation for a different #6444 solution
git-svn-id: https://develop.svn.wordpress.org/trunk@7814 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 00:43:44 +00:00
Ryan Boren
c3502e11bf image_make_intermediate_size filter from tellyworth. fixes #6580 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7703 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 21:59:23 +00:00
Mark Jaquith
d9efa4fa8f Allow shortcodes to run before or after wpautop()/texturize() formatting. Default to before for WP 2.5 compat. Props AaronCampbell
git-svn-id: https://develop.svn.wordpress.org/trunk@7699 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 21:07:04 +00:00
Ryan Boren
55a14f52a9 Pass size to image_send_to_editor filter. fies #6691 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7671 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 19:47:07 +00:00
Mark Jaquith
ba4dab3cd6 Fix gallery shortcode orderby param for all SQL setups. Sanitize orderby. fixes #6476 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7592 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-03 03:05:49 +00:00
Mark Jaquith
288211a88b Gallery XHTML validation fixes. props shelleyp. fixes #6461 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7575 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-30 16:41:43 +00:00
Ryan Boren
ec33c42302 Taxonomy links and template tags from andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7520 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 06:37:19 +00:00
Ryan Boren
78c85d5222 Handle more than 3 columns in gallery. Props Dickie. fixes #6382
git-svn-id: https://develop.svn.wordpress.org/trunk@7516 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 03:34:55 +00:00
Ryan Boren
cf9618758d Gallery display enhancements from tellyworth. fixes #6368
git-svn-id: https://develop.svn.wordpress.org/trunk@7496 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 02:57:19 +00:00
Matt Mullenweg
64760ccecf Helper comment and lowercase filenames before playing around with them, to avoid extension duplication.
git-svn-id: https://develop.svn.wordpress.org/trunk@7478 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-22 19:34:21 +00:00
Matt Mullenweg
22ef105581 Better default quality.
git-svn-id: https://develop.svn.wordpress.org/trunk@7474 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-22 17:14:53 +00:00
Ryan Boren
e2145503bf pretty delete animation, fix squashed icons and use 80x60 thumbs, add rel attrs to attachment links inserted from uploader. Props andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7466 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 23:21:27 +00:00
Peter Westwood
0c47f0d9d9 Add a filter to the jpeg_quality to allow for it to be modified. Fixes #6289.
git-svn-id: https://develop.svn.wordpress.org/trunk@7444 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 08:31:50 +00:00
Matt Mullenweg
afcbc3d0e6 Simpler gallery markup in feeds. Fixs #6225. Hat tip: andy.
git-svn-id: https://develop.svn.wordpress.org/trunk@7298 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-14 19:23:56 +00:00
Ryan Boren
00c6484a3b Remove intermediate images when deleting an attachment. Props tellyworth. fixes #6142
git-svn-id: https://develop.svn.wordpress.org/trunk@7271 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-12 23:15:31 +00:00
Ryan Boren
32e414dbf4 Image fixes from andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7263 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-12 08:10:00 +00:00
Matt Mullenweg
4888358aad Turn off the fullsize argument, which was accidentally toggled earlier.
git-svn-id: https://develop.svn.wordpress.org/trunk@7233 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 07:45:31 +00:00
Matt Mullenweg
17a3b54dc0 Better media attachment template. See #5911. Hat tip: andy.
git-svn-id: https://develop.svn.wordpress.org/trunk@7222 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 00:09:14 +00:00
Matt Mullenweg
8d3812d14d More attachment thumbnail fixes, see #5911. Hat tip: andy.
git-svn-id: https://develop.svn.wordpress.org/trunk@7218 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-10 23:04:20 +00:00
Matt Mullenweg
6bb830225d Icon fixes. See #5911; hat tip: andy.
git-svn-id: https://develop.svn.wordpress.org/trunk@7212 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-10 21:31:33 +00:00
Ryan Boren
7d6440bba2 Fix insert, gallery, sizing, type queries, errors, thumbs, type fallback. Props andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7172 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-06 19:48:54 +00:00
Matt Mullenweg
22cdc2b75e Handle GD errors correctly during image resizing. Fixes #6087. Hat tip: tellyworth.
git-svn-id: https://develop.svn.wordpress.org/trunk@7150 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 04:23:35 +00:00
Matt Mullenweg
cc3147ab22 New functions for attachment image display, fixes #6086. Hat tip: tellyworth.
git-svn-id: https://develop.svn.wordpress.org/trunk@7149 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 04:21:37 +00:00
Ryan Boren
7aa9161dc3 Image sizing fix from andy. fixes #6074
git-svn-id: https://develop.svn.wordpress.org/trunk@7137 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-03 20:53:04 +00:00