|
Joined: May 2007
Posts: 52
journeyman
|
journeyman
Joined: May 2007
Posts: 52 |
I apologize if this has been asked before but it's something that my members have been complaining about. Everytime anyone inserts any image (photos & graemlins included) into their post or signature, it automatically starts the image on a new line, they won't ever post side by side. Anyone have a fix for this? Here's an example post and take a look at my signature, when I preview it my photos are showing side by side. http://forum.canadianparents.ca/ubb...&Number=596953&page=1#Post596953Thanks in advance! Cara
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
hrm, i can't see a sig from that link.. but i'll try to address some issues with images in general. keep in mind that the images combined width, if greater than the width of the content area, can't be kept together horizontally for space reasons.. sooo assuming you have all the horizontal space you need.... try.. [`image:right] or [`image:left] (also img tag too) note: leave out the ` aligns right, left an floats it.. see my sig ? that is right
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
[censored], gonna have to leave that way til she sees it at least <-- text after a graemlin
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
Text between. hi there bunny! also, i just don't hit [Enter] between these two images and they get butted up next to each other.
[img]http://www.blehnet.com/sd-devil.gif[/img] Text between. hi there bunny! [img]http://www.blehnet.com/sd-devil.gif[/img]
hope that helps.
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
Another example of say float left (image:left or img:left) Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
Float right now (image:right or img:right) Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Note: you can see the innerds of the contents of each of my posts, by simply hitting the 'Quick Quote' button and read the stuff
|
|
|
|
Joined: Jun 2006
Posts: 16,300 Likes: 116
|
Joined: Jun 2006
Posts: 16,300 Likes: 116 |
I think someone is a little bored...
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
it's called a detailed answer with a buncha devils interspersed as props.. nothing more although it may not really give her the answer she was looking for.. i hope i understood that first post
|
|
|
|
Joined: May 2007
Posts: 52
journeyman
|
journeyman
Joined: May 2007
Posts: 52 |
Thanks Sirdude for going into such detail, but perhaps I didn't explain it well enough. For instance the link above I sent you to shows this: Why are images aligning to the left? when this is the way it was actually typed out: Why are images aligning to the left? The same goes for every single image that anyone had in their signatures, instead of the being posted side by side, they keep going one underneath the other even though they preview correctly?
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
aha.. then i'd suspect something else.. /me revisits the link and looks closer.. cool, i can now return my sig to the left sorry for the misunderstanding...
|
|
|
|
Joined: May 2007
Posts: 52
journeyman
|
journeyman
Joined: May 2007
Posts: 52 |
Thanks SD!
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
hrm.. why the hardwired inline style..
<img style="display: block; margin-top: 5px;"...
before every image, including smileys? that is the cause of the display behavior... 'display:block' to be precise. as to why it's inserted into your html at render time... i can look closer.. /me grabs magnifying glass what version of ubbt are you running? has it been modified in anyway ? just trying to get to more detail... i'm suspecting your do_markup() routine in ubbthreads.inc.php has been modified to slam that in for every img or image or %%GRAEMLIN%%, but i don't know for sure. the tpl's can be ruled out (imho) the normal way a graemlin or img gets converted to html is like:
<img src="/forums/images/graemlins/default_dark/laugh.gif"..
no inline display:block added... something must be different from the normal install... or i'm missing something.
|
|
|
|
Joined: May 2007
Posts: 52
journeyman
|
journeyman
Joined: May 2007
Posts: 52 |
v 7.1.1 ...
custom stylesheet to fit inside our 2 sidebars
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
hrm...
i'm assuming the default stylesheet is the one you are talking about?
since that is the one that i use as a guest on the forum, when looking at your site.
/me checks
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
it really can't be the .css anyway, since css is a totally separate dealio from the actual markup..
so i'm wondering if you had someone tweak your board code a wee bit too ?
not just the .css ?
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
hehe, i joined your board to see a little bit more.. nice look/feel btw.. i kinda feel strange as all my kids are now grown and gone /me pokes around some more.
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
ok.. the preview works fine.. so the the 'display:block...' is added after the Post or PM is stored.. so previewpost and do_markup() and do_censor() are ruled out.. quote and quick quote show that what's stored in the db is good.. soooo, it must be where they are preparing to render.. and i'd guess showflat.inc.php (for posts) and viewmessage.inc.php (for PMs) if you zipped those us and emailed to me (sd@sirdude.com) i could probably tell you where.. must be a coding thingie... (imho) let me know if anyone has touched your core code.. keep in mind, i'm just outside lookin in, so i could be way off base...
|
|
|
|
Joined: May 2007
Posts: 52
journeyman
|
journeyman
Joined: May 2007
Posts: 52 |
We had a company to our upgrade and redesign, so chances are they have touched the core code. Another to add to the list for them I guess. I'm trying to see if I can fix things myself before I go to them with this ever growing list!
Oh SD, while you're on the board...could you look at one more thing?
If you change your stylesheet to UBBthreads, both the quick reply and reply boxes are shrunk to one line! Any fix for that?
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
i'll have a look see at the template.. er style
|
|
|
|
Joined: Jun 2006
Posts: 16,300 Likes: 116
|
Joined: Jun 2006
Posts: 16,300 Likes: 116 |
Likely, someone is inserting a line return after every image
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
no, they are inserting an inline style="display:block" for every image...
weird that they would do it.. but oh well.
|
|
|
|
Joined: Jun 2006
Posts: 16,300 Likes: 116
|
Joined: Jun 2006
Posts: 16,300 Likes: 116 |
|
|
|
|
Joined: Jun 2006
Posts: 811
old hand
|
old hand
Joined: Jun 2006
Posts: 811 |
Nice, I like the align coding.
|
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
4 members (Gizmo, Baldeagle, Ruben, 1 invisible),
779
guests, and
156
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|