Ticket #1329 (closed Bug: invalid)

Opened 7 years ago

Last modified 7 years ago

Adding border to an image causes image not to show up on the page

Reported by: vwininger Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Pending WorksForMe Cc:

Description

Whenever I add a link to an image and then add a border to that image, the image no longer appears on the page. For some reason, the source seems to be truncated by this process, as you can see in the attached screenshots. If I then remove the border from the image and apply the change, the image still doesn't show up. The only way I can get it to show up is to go into the source view and remove the class="" attribute that is automatically added when I try to add the border.

I am using IE 7 on Windows XP Pro SP2.

Attachments

NoBorder.gif (21.7 KB) - added by vwininger 7 years ago.
AddBorder.gif (36.7 KB) - added by vwininger 7 years ago.
CodeAfterBorder.gif (15.9 KB) - added by vwininger 7 years ago.
ResultwithSource.gif (38.5 KB) - added by vwininger 7 years ago.

Change History

Changed 7 years ago by vwininger

Changed 7 years ago by vwininger

Changed 7 years ago by vwininger

Changed 7 years ago by vwininger

comment:1 Changed 7 years ago by vwininger

Also, I have just upgraded to the newest version of the editor and it didn't make any difference. Thanks!

comment:2 Changed 7 years ago by alfonsoml

  • Keywords Pending added

Do you have the problem if you use the online demo? And does it fail while you are editing or only when you publish the content?

In that case it would be a problem in some part of your code that isn't able to handle empty class attributes, and the problem here would be only to check that no useless attributes are added with IE7.

comment:3 Changed 7 years ago by fredck

  • Keywords WorksForMe added

It seams that your application is truncating the data, adding the ellipsis to the end. This is usually done on CMS when automatically creating articles abstracts, with a "Read more" link for the full article.

comment:4 Changed 7 years ago by vwininger

Thank you so much for the suggestion. That is exactly what the problem was, but I was jumping into some old code that was written by someone else, and I just missed that completely. I'm sorry for wasting your time!

comment:5 Changed 7 years ago by fredck

  • Status changed from new to closed
  • Resolution set to invalid
Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy