1
Digitalsneep
image does not fit

When i'am adding a image into a newstopic, the image does not fits itselfs into the topic.

Watch the example below:

Resized Image

Can some please help , me because the website gets really ugly when you watch it with a higher resolution then 1024 X 768

BR,

2
studioC
Re: image does not fit
  • 2003/12/9 18:59

  • studioC

  • Friend of XOOPS

  • Posts: 922

  • Since: 2003/12/7


this happens sometimes if there is not "enough" text to fill the height of the image.. maybe it would take effect if you put <br />tags before and after your text of beginnig news..



hope it will help
from
GERMANY
michael

edit: or , if the image is included in the newstext put <p></p>tags around the whole news..

3
ackbarr
Re: image does not fit

Go to "System" -> "Templates" and modify your News -> news_item.html template like so:
<div class="item">
  <
div class="itemHead"><span class="itemTitle"><{$story.title}></span></div>
  <
div class="itemInfo">
    <
span class="itemPoster"><{$lang_postedby}> <{$story.poster}></span> <span class="itemPostDate"><{$lang_on}> <{$story.posttime}></span> (<span class="itemStats"><{$story.hits}> <{$lang_reads}></span>)
  </
div>
  <
div class="itemBody">
    <{
$story.imglink}>
    <
class="itemText"><{$story.text}></p>
    [
b]<br style="clear:both;" />[/b]
  </
div>
  <
div class="itemFoot">
    <
span class="itemAdminLink"><{$story.adminlink}></span> <span class="itemPermaLink"><{$story.morelink}></span>
  </
div>
</
div>

4
CBlue
Re: image does not fit

Thanks for that, ackbarr! I've always wondered if there was a way to fix that problem easily and there is.

5
YourHelp
Re: image does not fit
  • 2003/12/10 0:14

  • YourHelp

  • Friend of XOOPS

  • Posts: 479

  • Since: 2003/6/9 6


Thanks also!

6
Digitalsneep
Re: image does not fit

Thank you very much, now it looks al lot more quiter with this setting.
Thanks for youre help.


BR

Login

Who's Online

174 user(s) are online (102 user(s) are browsing Support Forums)


Members: 0


Guests: 174


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits