fix aspect ratio displaying
This commit is contained in:
parent
8858127498
commit
e5103b543a
@ -348,6 +348,10 @@ class Post {
|
||||
return $built;
|
||||
}
|
||||
|
||||
public function ratio() {
|
||||
return fraction($this->filewidth, $this->fileheight, ':');
|
||||
}
|
||||
|
||||
public function build($index=false) {
|
||||
global $board, $config;
|
||||
|
||||
@ -464,6 +468,10 @@ class Thread {
|
||||
return $built;
|
||||
}
|
||||
|
||||
public function ratio() {
|
||||
return fraction($this->filewidth, $this->fileheight, ':');
|
||||
}
|
||||
|
||||
public function build($index=false) {
|
||||
global $board, $config, $debug;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user