HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Image and textwrap

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#84954 (In Topic #17495)
Avatar

Honoured member

Hi guys, another one from me. Thanks for your patience :)

One of the only real issues ive ever had with ocPortal is the text wrap of images in blog/news articles. I know it was hugely updated in v8, but im still struggling with it.

The method i use is as follows, let me know if im getting something wrong;
  • Attachments, then click upload...select the file.
  • From the image options screen i select "Embed Image (If Possible)
  • Align to left/right depending on the article
  • I then click "Use"
Now, the image embeds into the article edit box beautifully, but when i publish the article the text wrap and alignment fails and the image is places between lines rather than wrapped. When i click edit, the formatting in the article edit box is again aligned and wrapped perfectly.

Have i missed a step? Or this this a bug?

Here is an example of a page that shows up perfect in the edit box, but fails on publishing.
Back to the top
 
Posted
Rating:
#84967
Avatar

I suspect the Convert HTML to Comcode option you were planning to try disabling is also causing this. We now have this option off by default for new installs.

I'm going to have a shot at fixing this anyway, but my suggestion is to set that option off.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#84968
Avatar

Yes, I've had a look, the "Convert HTML to Comcode" option and the attachment layout features, aren't going to play well together. I'm actually going to disable those features if the "Convert HTML to Comcode" option is on.

Definitely disable "Convert HTML to Comcode".


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#85009
Avatar

Community saint

Ollie-

Have you tried using any of the vertical alignment options under the advanced tab in the attachment uploader?

Bob
Back to the top
 
Posted
Rating:
#85103
Avatar

Honoured member

Hi Chris,

I have disabled the "Convert HTML to Comcode" and have come across another problem. The alignment is sorted i think.

However, the image now randomly disappears completly on publishing. When i open the edit box, the image is still there. To get it back i have to delete the image in the edit box and attach it again.

I cant quite work out under what circumstances it vanishes, will let you know if i can identify any trend.

Bob, thanks for the suggestion. Is that the option under 'Advanced'? I took a look at that but couldnt quite work out the difference between the options so will do some experimenting :)
Back to the top
 
Posted
Rating:
#85107
Avatar

Community saint

Ollie8557 said

Bob, thanks for the suggestion. Is that the option under 'Advanced'? I took a look at that but couldnt quite work out the difference between the options so will do some experimenting :)

Yes, in the attachments overlay under the "Advanced" section which is shown hidden, there is an option for vertical alignment with four different options to choose from. I've not used it yet but made amental note about it as I will be going back to "illustrate" some of my articles.

Bob
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: