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

Inserting images in text

Login / Search

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

Community saint

Me again... :(

I have been having a bit of a hunt thru your documentation trying to find the answer - to no avail so far…

Throughout your own documentation and guides, you frequently have images posted that does not actually break the flow of the text…

/docs/pg/tut_intro/index.php

is an example. When I insert any image, it immediately bcomes part of the line and leaves a wide gap in the text line spacing, whereas your images down the right hand side do not seem to have effected the text spacing of the lines to their left.

Is it done using OCP?? (It is what I call text wrap - not sure if people know or use that expression or if it is the correct expression even:P).
 

 





Back to the top
 
Posted
Rating:
#32107
Avatar

ocStaff (admin)

I believe it is the "exp_thumb" tag. Its operators are listed in the documentation/tutorials.


Like ocPortal on Facebook:
Back to the top
 
Posted
Rating:
#32110
Avatar

ocStaff (admin)

Also version 3.2 will have an attachment type for doing this.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#32111
Avatar

Community saint

What program is used to generate the docs so that I know where these attachments times will be used.

I run Otaku Play Ground and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
Posted
Rating:
#32112
Avatar

ocStaff (admin)

The documentation is hand-typed in Comcode. It doesn't use attachments, because it has to run independent of any database records, and attachments exist within the database.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#32113
Avatar

Community saint

ah I have not used the comcode page from the sounds of it its like the add on for IPB called custom page.
So how is this new attachment system going to work?
Is it going to be a flat file system but work just like the other attachment system?

I run Otaku Play Ground and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
Posted
Rating:
#32114
Avatar

ocStaff (admin)

There is no new attachment system involved here. We have simply added two new attachment types alongside the existing 'island', 'inline' and 'download' types.

The original question here relates to functionality used in documentation, but this has existed since version 2.5. That functionality is not the attachment system.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#32124
Avatar

Community saint

I side-stepped the 'problem' (mainly because I couldn't find how to make that aspect work), by building my own CSS properties for placing my images. I then tagged it on to the bottom of global.css and it works fine for me . . .!

Code

/* Terry's add-on image placement codes */

.img_left {
   float: left;
   margin-right: 20px;
   margin-bottom: 6px;
   }
   
.img_right {
   float: right;
   margin-left: 20px;
   margin-bottom: 6px;
   }
   
.clear {
   clear: both;
   }

/* end of Terry's add-on image placement codes */

Give it a try. It may just give you an extra string to your bow while you're hunting around for the other ocPortal codes!

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#32208
Avatar

Community saint



Umm, will try that - thanks Terry. (Have a rough idea what do to get that in - sure I will be fine as I am exploring OCP deeper and deeper)

I worked out how to do it using HTML with WYSIWYG disabled in the comcode editor. The problem with that is if you reenable it is seems to change the format when you next save it and the text then drops to one line beside and the rest below, so I find I am doing a lot more comcode work in HTML (not a bad thing I guess…).

 





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

Quick reply   Contract

Your name:
Your message: