Browse Source

fix aspect ratio displaying

pull/40/head
Michael Foster 9 years ago
parent
commit
e5103b543a
  1. 8
      inc/display.php

8
inc/display.php

@ -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…
Cancel
Save