![]() |
Regarding the imaghe distortion, this seems to work:
Code:
<img src="{param}" max-width="200" ondblclick='this.src="{param}";this.width=600' onclick='this.src="{param}";this.width=200' align="left" hspace="10"> I've just kept the width parameters and deleted the height paramaters. This shrinks the width and the height shrinks proportionately. Now there's just the problem of the signature wrapping. |
For me the above code displays the large picture when the page first loads- it should show the small image until it gets clicked.
|
Well with height removed now you could add an option, probably best to define the large width so you can use:
Code:
<img src="{param}" width="200" ondblclick='this.src="{param}";this.width={option}' onclick='this.src="{param}";this.width=200' align="left" hspace="10"> Double clicking enlarges the image to 800px wide. |
Change max-width to just width and it displays the small image by default I think:
Code:
<img src="{param}" width="200" ondblclick='this.src="{param}";this.width=600' onclick='this.src="{param}";this.width=200' align="left" hspace="10"> |
Quote:
When I was looking for reasons/solutions to fix the sig wrapping I tested adding/removing that Postbit.css edit mentioned in post#12 and replacing it with the following code and that fixed the issue for me. Prior to that I found that any example of image align="left" or align="right" caused signature wrapping. Would you mind trying the Postbit.css edit below to see if that fixes it for you please? NOTE: That edit did affect the postbit_legacy display for me. Postbit.css find: Code:
/*post bit*/ Code:
.postbitlegacy .after_content { If that edit doesn't work I'll be happy to provide you with copies of any templates that might help find clues to resolve it for you. Quote:
I'm hoping the sig wrapping might be easily solved for you now. |
Quote:
|
Quote:
Quote:
|
Quote:
Do you think that altering the code edit from postbitlegacy that I used, to postbit, might help? Code:
.postbit .after_content { |
I can't see how that would make a difference, since it's code I'm not using.
|
It won't make any difference. I've checked myself.
The best that can be achieved at present is to remove the align="left" from the code and forget about text wrapping until a solution can be found for those using the newer horizontal postbit layout. I came from vB3.6 where align="left" worked to vB4.0.5/6 where it doesn't work any more with the newer horizontal postbit display because of the signature interference issue. If I were still using 3.6 I'd find the signature code in the template and place <p></p> right before it to move signatures down. vB4 is somewhat more complex for me and I'm still coming to grips how it all works. The solution appears to me to be changing how the signature is displayed using the newer horizontal postbit layout. |
All times are GMT. The time now is 08:29 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|