Opened 17 years ago
Closed 16 years ago
#5591 closed enhancement (fixed)
Use jQuery for Custom Image Header
Reported by: | ryan | Owned by: | rmccue |
---|---|---|---|
Milestone: | 2.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | jquery has-patch needs-testing |
Focuses: | Cc: |
Description
As part of our conversion to jQuery, let's convert wp-admin/custom-header.php to jQuery plus something like farbtastic for the colorpicker. I'm not sure what to use for the cropper. Interface has some crop code, but interface isn't actively maintained these days. It might still be useful for the crop code, however.
Attachments (6)
Change History (14)
#2
@
17 years ago
- Owner changed from anonymous to rmccue
Mine! All mine!
I'm integrating Farbtastic at the moment.
However, there's no suitable alternative for Cropper, so we're going to leave that for the moment. The interface plugin mentioned above leaves artifacts when dragging.
#3
@
16 years ago
- Component changed from General to Administration
- Keywords needs-patch added
- Type changed from defect to enhancement
+1 for Farbtastic. It's f'ing awesome (using it in one of my upcoming plugins).
#4
@
16 years ago
- Keywords has-patch needs-testing added; needs-patch removed
- Status changed from new to assigned
Added patch to convert everything to jQuery except the cropper. Farbtastic is now also included (images in wp-admin/images/, farbtastic.css in wp-admin/css/ and farbtastic.js in wp-admin/js/) as a replacement for colorpicker.
There's a jQuery color picker plugin:
http://plugins.jquery.com/project/color-picker
Also an image cropper here:
http://interface.eyecon.ro/demos/resize.html
It's based on Interface Elements for jQuery.
Can't vouch for either other than a quick test (they look ok in Safari).