Closed (fixed)
Project:
WYSIWYG image upload - Inline images for your WYSIWYG
Version:
6.x-2.8
Component:
Miscellaneous
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Nov 2010 at 09:00 UTC
Updated:
16 Dec 2010 at 00:25 UTC
Jump to comment: Most recent file
Comments
Comment #1
eugenmayer commentedWell i think we dont need the center-feature as part of the module, its easy to set it using CSS the way you did it.
Why do we need those settings?
Comment #2
eletre commentedWe need text-align:center to reflect the displayed image. (Image is inline with the text (none))
See attached image.
Otherwise the image is shifted to the left. (Firefox and IE)
I am forced to put "text-align:center" in each active theme or create a new module with function
function MYNEWMODULE_init()
{
drupal_add_css(drupal_get_path('module', 'MYNEWMODULE') . '/mynewcss.css');
}
Only for this.
Comment #3
eugenmayer commentedactaully is it right to suggest that "no float" means "Centered"? I dont mind it really, but what would be the default?
Comment #4
eletre commentedOne solution would be to use the images I have attached below, and change in the file wysiwyg_imageupload.form.inc the array for $form['image_upload_details']['alignment']
... and modify imgupload.css
.imgupl_floating_none
{
float:none;
display:block;
/*plus*/
text-align:center;
}
/* new */
.imgupl_floating_none_left
{
float:none;
display:block;
text-align:left;
}
/* new */
.imgupl_floating_none_right
{
float:none;
display:block;
text-align:right;
}
What do you say?
Comment #5
eugenmayer commentedWell eventhough i like the idea, i think we should make those 2 options "optional" enableable in the admin menu. I think a lot of users get confused by 5 buttons. They are mostly used to the 3 "general" ones.
what do others think on this topic.
In any way, thank you for your effort and contribution, this will be part of 2.9, one or the other way :)
Comment #6
eugenmayer commentedWell after discussing it, i think it should get into the default plugin, so we end up with 5 buttons. Thanks for the work, will be part of 2.9 as suggested before
Comment #7
eugenmayer commentedComment #8
eletre commentedThanks. It is nice to feel useful.
Comment #9
eugenmayer commentedreleased with 2.9