1
jimmy1985
how to change newbb photo width?
  • 2023/6/9 4:37

  • jimmy1985

  • Just popping in

  • Posts: 2

  • Since: 2023/6/9 4


xoops :2.5.10
modules: newbb(4.3.4 final)

when I upload the photo , the word is too small , how do I change the photo width?

Resized Image

many Thanks

2
heyula
Re: how to change newbb photo width?
  • 2023/6/9 11:41

  • heyula

  • Theme Designer

  • Posts: 596

  • Since: 2008/4/24


You can adjust the height with css.

Example code:

.res img {
    
floatleft;
    
border2px solid #e5e9f2;
    
width255px;
    
height190px;
    
margin-right5px;
}


or

class/textsanitizer/image/config.php

return $config = array(
    
// Click to open an image in a new window in full size using CaricaFoto
    
'clickable' => 1,
    
// Resize the image down to max_width set below
    
'resize'    => 1,
    
// Maximum width of an image displayed on page, otherwise it will be resized
    
'max_width' => 300);

3
jimmy1985
Re: how to change newbb photo width?
  • 2023/6/12 5:48

  • jimmy1985

  • Just popping in

  • Posts: 2

  • Since: 2023/6/9 4


Thanks , It's work well.

Login

Who's Online

256 user(s) are online (71 user(s) are browsing Support Forums)


Members: 0


Guests: 256


more...

Donat-O-Meter

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

Latest GitHub Commits