Jump to ContentJump to Navigation/Login

Site Search

Login


[Register]

Course Registration

Understanding Web Accessibility

Register Now for the April 18 start date.

Donate

If you have found ATutor useful, please consider making a donation.

Donate

Services

Members Online

No Members Logged In

(12 guests in past 15 min.)

Visitors

Locations of visitors to this page

Advertisements

Support Forums

ATutor Bug Reports



Image Formatting


You must be signed-in to post.

AuthorSubject
  Page: 1
acre_user

Avatar for acre_user


Subject: Image FormattingQuote this post in your reply
I'm a new user of ATutor attempting to create a course site. I'm using ATutor's own servers (not ready to create (import) content onto our own servers yet). So whatever restrictions ATutor has as to content and formatting applies.

At the start of my efforts, I was using IE8. I've noticed of a few posts here that IE8 is not compatible with ATudor. I switched to Firefox (3.5.3) and have also tried using Chrome (3.0.195), each with the same result. When I enter an image (images stored on my ftp server) they look fine in the editor. I set them to left or right justify, and until I "save" the image, the page looks exactly the way it should. As soon as I hit "save" and am able to view the saved page, I see that the image location has been changed. I've tried this repeatedly, each time double checking to be sure my image "settings" are correct when I hit that initial "save" button. This is very frustrating....I don't know if there is a setting I'm missing or what. I have placed some images in tables and have used the regular "center" justify on those....and they all work just fine.

HELP???????
Posted: 2009-10-25 13:46:32
greg

Avatar for greg


Subject: Re: Image FormattingQuote this post in your reply
It does seem to be a problem. It's probably time for us to upgrade TinyMCE (the 3rd arty WYSIWYG) editor, though it could be the way the browser's are handling old ways of centering (e.g. <center></center> and align="center") , which have been deprecated for a while. IE 8 we know has a mind of its own when it comes to displaying standard HTML/CSS, though FF is usually fine.

For now you can manually edit the HTML p element around the image to add a style something like style="width:60%;margin:auto;"
Posted: 2009-10-25 14:31:12
acre_user

Avatar for acre_user


Subject: Re: Image FormattingQuote this post in your reply
I've tried using different browsers (ie8 is my default) but found the same behavior when using firefox, and chrome as well. At this point (because I'm not particularly proficient with html) I'm creating my content with your wysiwyg, including the addition of the images "generally" in their preferred location, copying the page to an external editor, using THEIR wysiwyg editor for formatting, then copying THEIR source code your your code view. Cumbersome, but seems to work.
Posted: 2009-10-31 02:33:27
alo

Avatar for alo


Subject: Re: Image FormattingQuote this post in your reply
Hello Greg,

Are there any news about this issue?

I found the same problem in ATutor ver. 1.6.4.

Allan
Posted: 2009-12-04 05:11:11
greg

Avatar for greg


Subject: Re: Image FormattingQuote this post in your reply
Nothing on this yet. It's low priority for us at the moment with the Common Cartridge release quickly approaching.

If someone could check to see if the latest version of TinyMCE fixes the problem, we may be able to swap in the new version before the release.
Posted: 2009-12-07 10:10:18
alo

Avatar for alo


Subject: Re: Image FormattingQuote this post in your reply
Hi again,

Problem solved smile

Found that style not was included in extended_valid_elements in the file /include/lib/tinymce.inc.php around line 82:

img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name|style]

Allan
Posted: 2010-01-23 04:43:32
 Page: 1

You must be signed-in to post.