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

Home » FUDforum Development » Bug Reports » Images take too much space
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Images take too much space [message #183172] Fri, 11 October 2013 10:05 Go to next message
TheDude is currently offline  TheDude
Messages: 120
Registered: November 2012
Location: France
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
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 18:40 Go to previous messageGo to next message
GaryM is currently offline  GaryM   United States
Messages: 87
Registered: May 2013
Location: Seattle
Karma: 1
Member
add to buddy list
ignore all messages by this user
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 01:59 Go to previous messageGo to next message
TheDude is currently offline  TheDude
Messages: 120
Registered: November 2012
Location: France
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
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 02:10 Go to previous messageGo to next message
GaryM is currently offline  GaryM   United States
Messages: 87
Registered: May 2013
Location: Seattle
Karma: 1
Member
add to buddy list
ignore all messages by this user
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 02:27 Go to previous message
TheDude is currently offline  TheDude
Messages: 120
Registered: November 2012
Location: France
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
That works, now. Had to edit the other themes ! Thanks a lot, GaryM

Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Tue Oct 17 09:24:20 EDT 2017

Total time taken to generate the page: 0.00615 seconds