Previous Thread
Next Thread
Print Thread
Hop To
#191236 07/15/2007 9:12 PM
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#Post596953

Thanks in advance!

Cara


Cara-
Community Producer at:
Canadian Parents.com Message Boards
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
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 wink

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
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 laugh <-- text after a graemlin

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
[Linked Image from blehnet.com] Text between. hi there bunny! [Linked Image from blehnet.com]

also, i just don't hit [Enter] between these two images and they get butted up next to each other.

Code
[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. wink

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
Another example of say float left (image:left or img:left)

[Linked Image from blehnet.com]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
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
Float right now (image:right or img:right)

[Linked Image from blehnet.com]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 wink

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
I think someone is a little bored...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
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 laugh

although it may not really give her the answer she was looking for.. i hope i understood that first post blush

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
mad
are images
confused
aligning to the left?
sick

when this is the way it was actually typed out:

Why mad are images confused aligning to the left? sick

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?



Cara-
Community Producer at:
Canadian Parents.com Message Boards
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
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 laugh

sorry for the misunderstanding... blush

Joined: May 2007
Posts: 52
journeyman
journeyman
Joined: May 2007
Posts: 52
Thanks SD! smile


Cara-
Community Producer at:
Canadian Parents.com Message Boards
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
hrm.. why the hardwired inline style..

Code
<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:

Code
<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


Cara-
Community Producer at:
Canadian Parents.com Message Boards
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
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
SD Offline
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
SD Offline
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 laugh

/me pokes around some more.

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
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... wink

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?


Cara-
Community Producer at:
Canadian Parents.com Message Boards
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
i'll have a look see at the template.. er style wink

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Likely, someone is inserting a line return after every image


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
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,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Indeed odd....


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 811
old hand
old hand
Joined: Jun 2006
Posts: 811
Nice, I like the align coding.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
0 members (), 591 guests, and 147 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)