[wp-trac] Re: [WordPress Trac] #5087: WYSIWYG Insert/Edit Image
button issues
WordPress Trac
wp-trac at lists.automattic.com
Tue Oct 16 00:08:24 GMT 2007
#5087: WYSIWYG Insert/Edit Image button issues
--------------------------------------+-------------------------------------
Reporter: bl968 | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.3.1
Component: TinyMCE | Version: 2.3
Severity: critical | Resolution:
Keywords: WYSIWYG image properties |
--------------------------------------+-------------------------------------
Old description:
> Line wraps inserted on html code segments. No linewraps exist on image
> code in editors.
>
> == Internet explorer ==
>
> Inserting image into post then editing with the insert/edit image wysiwyg
> button results in duplicated image tag and in both image tags it sets
> width and height to 1, unless you are setting the width and height to
> something else then it sets your width and height correctly but still
> duplicates image code. Example code below.
>
> {{{ <img border="0" align="left" width="1" src="http://www.ablogsite/wp-
> content/uploads/2007/09/test1.jpg" alt="testing" height="1" />
> <img border="0" align="left" width="1" src="http://www.ablogsite/wp-
> content/uploads/2007/09/test1.jpg" alt="testing" height="1" /> }}}
>
> In the above example the only action I took on the insert/edit image
> dialog page was to set the alignment to left.
>
> {{{ <a href="http://www.ablogsite.com/wp-
> content/uploads/2007/09/test.JPG"><img border="0" align="left"
> width="100" src="http://www.ablogsite.com/wp-
> content/uploads/2007/09/test.JPG" height="100" /></a>
> <img border="0" align="left" width="100" src="http://www.ablogsite.com
> /wp-content/uploads/2007/09/test.JPG" height="100" /> }}}
>
> Above is an example with setting alignment to left and width and height
> both to 100.
>
> == Confirmed in Mozilla Firefox as well ==
> In Mozilla Firefox still duplicates the image code but does not set the
> image width and height fields.
>
> {{{ <img src="http://www.ablogsite/wp-content/uploads/2007/09/test1.jpg"
> alt="testing" />
> <img src="http://www.ablogsite/wp-content/uploads/2007/09/test1.jpg"
> alt="testing" align="left" /> }}}
>
> Problem confirmed with no activated plugins.
>
> == Why Critical ==
> I run a community blog site with many authors of varying abilities. For
> some the only option is the wysiwyg editor. We also use images in
> articles extensively. Every article has at least one image. A picture is
> worth a thousand words afterall.
New description:
Line wraps inserted on html code segments. No linewraps exist on image
code in editors.
== Internet explorer ==
Inserting image into post then editing with the insert/edit image wysiwyg
button results in duplicated image tag and in both image tags it sets
width and height to 1, unless you are setting the width and height to
something else then it sets your width and height correctly but still
duplicates image code. Example code below.
{{{
<img border="0" align="left" width="1" src="http://www.ablogsite/wp-
content/uploads/2007/09/test1.jpg" alt="testing" height="1" />
<img border="0" align="left" width="1" src="http://www.ablogsite/wp-
content/uploads/2007/09/test1.jpg" alt="testing" height="1" />
}}}
In the above example the only action I took on the insert/edit image
dialog page was to set the alignment to left.
{{{
<a href="http://www.ablogsite.com/wp-
content/uploads/2007/09/test.JPG"><img border="0" align="left" width="100"
src="http://www.ablogsite.com/wp-content/uploads/2007/09/test.JPG"
height="100" /></a>
<img border="0" align="left" width="100" src="http://www.ablogsite.com/wp-
content/uploads/2007/09/test.JPG" height="100" />
}}}
Above is an example with setting alignment to left and width and height
both to 100.
== Confirmed in Mozilla Firefox as well ==
In Mozilla Firefox still duplicates the image code but does not set the
image width and height fields.
{{{
<img src="http://www.ablogsite/wp-content/uploads/2007/09/test1.jpg"
alt="testing" />
<img src="http://www.ablogsite/wp-content/uploads/2007/09/test1.jpg"
alt="testing" align="left" />
}}}
Problem confirmed with no activated plugins.
== Why Critical ==
I run a community blog site with many authors of varying abilities. For
some the only option is the wysiwyg editor. We also use images in articles
extensively. Every article has at least one image. A picture is worth a
thousand words afterall.
--
Ticket URL: <http://trac.wordpress.org/ticket/5087#comment:9>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list