Notifications
Clear all

wpForo 1.x.x [Closed] Wrapping text around images

5 Posts
2 Users
0 Reactions
1,019 Views
AggieAT
Posts: 48
Topic starter
(@aggie)
Estimable Member
Joined: 5 years ago

I’ve tried to add some html code but have been unsuccessful to get text to wrap around my images. Any suggestions?

4 Replies
VereK
Posts: 522
(@verek)
Honorable Member
Joined: 7 years ago

@aggie

I assume you mean text that pop up on hovering over the image when your cursor is on it?

You should add the code via the {;} editor toolbar button

Example Code:

<img src="https://wpforo.com/wp-content/uploads/wpforo/avatars/aggie_11837.jpeg" border="0" 
title="Super Aggie">

Result:

 

If you want the image to link to an URL:

<a href="https://wpforo.com/community/profile/aggie/" target="_blank">
<img src="https://wpforo.com/wp-content/uploads/wpforo/avatars/aggie_11837.jpeg" border="0"
title="Super Aggie">

Result:

 

AggieAT
Posts: 48
Topic starter
(@aggie)
Estimable Member
Joined: 5 years ago

I was wanting to be able to wrap text around images in a post on our forum. Not so interested in my profile. We have the advanced attachments and the embeds add on installed. 

thanks

VereK
Posts: 522
(@verek)
Honorable Member
Joined: 7 years ago

My apologies @aggie I did not realise you meant text wrapping in that sense. There is simple html code to do this by aligning your image left or right. In practice though it would never render correctly in WPForo posts, the TinyMC code editor would strip out any style elements you put in there (padding for example) and automatically insert <p> elements into the text. The end result would probably see the text moved to bottom of the image.

1 Reply
AggieAT
(@aggie)
Joined: 5 years ago

Estimable Member
Posts: 48

@verek

Thanks...so it’s not possible in the forum post. Maybe someone could put that on list for future changes? Appreciate your time!