FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Images take too much space
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Images take too much space [message #183172] Fri, 11 October 2013 14:05 Go to next message
TheDude is currently offline  TheDude
Messages: 120
Registered: November 2012
Location: France
Karma: 2
Senior Member
Hi,
On my forum, users post many photos and they don't care about the size of them.
Result : photos are enormous and can't be contained inside the forum width.
Is there a css or template mod to prevent that and resize them correctly ?
Thx

Apart from that no other problem Wink


Re: Images take too much space [message #183187 is a reply to message #183172] Fri, 11 October 2013 22:40 Go to previous messageGo to next message
GaryM is currently offline  GaryM   United States
Messages: 118
Registered: May 2013
Location: Seattle
Karma: 3
Senior Member
Go into the template editor and edit the default template. Find the forum.css.tmpl and expand it. Click on the css_overides and paste something similar to this:

img {
max-width: 400px;
}

Save and rebuild all themes.

Cheers!


Re : Re: Images take too much space [message #183197 is a reply to message #183187] Sat, 12 October 2013 05:59 Go to previous messageGo to next message
TheDude is currently offline  TheDude
Messages: 120
Registered: November 2012
Location: France
Karma: 2
Senior Member
Erm. Doesn't work. Sad

Re: Re : Re: Images take too much space [message #183201 is a reply to message #183197] Sat, 12 October 2013 06:10 Go to previous messageGo to next message
GaryM is currently offline  GaryM   United States
Messages: 118
Registered: May 2013
Location: Seattle
Karma: 3
Senior Member
Interesting...I just did an upgrade to our production forum tonight and made this same change and worked.

The first time we made this change in 3.0.4, we only saw it in the default theme. So we made the same changes to our other themes, user_left and user_right, that worked.

The 3.0.5 upgrade took the changes from the default and it trickled down to the other themes.


Re : Re: Re : Re: Images take too much space [message #183202 is a reply to message #183201] Sat, 12 October 2013 06:27 Go to previous message
TheDude is currently offline  TheDude
Messages: 120
Registered: November 2012
Location: France
Karma: 2
Senior Member
That works, now. Had to edit the other themes ! Thanks a lot, GaryM

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Database problem in fud30_ses sessions table
Next Topic: search engine bug
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed May 15 12:36:21 GMT 2024

Total time taken to generate the page: 0.02395 seconds