Ticket #852 (closed defect: fixed)
some patches for EFM
| Reported by: | ray | Owned by: | akaEdge |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin_ImageManager | Version: | |
| Severity: | normal | Keywords: | ExtendedFileManager plugin |
| Cc: |
Description
Hi! 1. If you dont't specify any margin, padding, or border the respective styles are inserted anyway with a value of 0px, which, first, blows up the code unnecessaryly and, second, may interfere with existing stylesheets
2. Like the two new config variables for alt and title, I'd like to introduce even more options to grant the administrator more control over what a user can change
* $IMConfigimages_enable_margin? = true; * $IMConfigimages_enable_padding? = true; * $IMConfigimages_enable_align? = true; * $IMConfigimages_enable_border? = true; * $IMConfigimages_enable_background_color? = true; * $IMConfiglink_enable_target? = true;
I think especially the last one is important regarding XHTML strict
3. some UI tweaks * show max upload size (imo very important to let the user not run into the limit unknowingly) * display the mode in the title bar of the popup * made a new "constrain proportions unlocked" icon (ok, that a matter of taste :))
looks like this: http://raimundmeyer.de/xinha/efm_screenshot.png
What do you think, shall I commit?
