1
Apek81
Exceeded Topic Image...
  • 2004/5/6 10:17

  • Apek81

  • Just popping in

  • Posts: 20

  • Since: 2003/6/28


i want to ask about XOOPS news module...
here is the screenshot of my news module...












as u can see,the topic image is exceeded the news table...
i want the image topic is fit in the news block like in this site...
how to do it???

do i have to write long news as the solution??
is there any simple solution??

2
irmtfan
Re: Exceeded Topic Image...
  • 2004/5/6 10:27

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


i have this problem too and i write long news for solve this

is there a way to fit image in box?

3
limecity
Re: Exceeded Topic Image...
  • 2004/5/6 10:36

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


yes there is..
if you wanna add images together with the news..
you can create a HTML table of 2 columns
split the image from the news


---------------------------------------

if you want to use the news image
maybe you can do something like this to your theme
http://www.macambridge.com/modules/news/

4
WarDick
Re: Exceeded Topic Image...
  • 2004/5/6 10:55

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


This can be most easily accomplished with CSS.

Look at your news_index.html or news_item.html template depending on where the image are being displayed from.

Identify which CSS class or id is being used. And edit the CSS attributes to achieve the results you want.

If this is more than you are up for you could just try another theme.

If you find a theme that displays the image to your liking. Cut and paste the attributes from that CSS into the one you are working with.

Hope this helps,

5
irmtfan
Re: Exceeded Topic Image...
  • 2004/5/6 11:18

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


plz tell me what kind of tag of CSS can solve this:

i use this:
Quote:
.itemimg{display: block; margin-bottom: 12px;}


and change this line in news_item.html
Quote:

<{$story.imglink}>




6
Apek81
Re: Exceeded Topic Image...
  • 2004/5/6 11:57

  • Apek81

  • Just popping in

  • Posts: 20

  • Since: 2003/6/28


catscity..
can u teach us how???
i really like your news layout...
and where can i have the main menu like yours??

7
irmtfan
Re: Exceeded Topic Image...
  • 2004/5/6 12:29

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


NO....
i use this tag but dont work.


8
WarDick
Re: Exceeded Topic Image...
  • 2004/5/6 12:39

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


You need to style the container. The table or division.

9
irmtfan
Re: Exceeded Topic Image...
  • 2004/5/6 12:50

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


my html is not good at all
plz write tag that use in css file.
thank u

10
WarDick
Re: Exceeded Topic Image...
  • 2004/5/6 13:19

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


It is not as simple as writing a tag.
The best solution will be found in CSS however it has a very steep learning curve.
From where you are at it would be easier to find a theme that works better with news images.
From there you can cut and paste your way to satisfaction.

Login

Who's Online

353 user(s) are online (91 user(s) are browsing Support Forums)


Members: 0


Guests: 353


more...

Donat-O-Meter

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

Latest GitHub Commits