1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-20 04:31:23 +01:00

fix aspect ratio displaying

This commit is contained in:
Michael Foster 2013-08-17 04:11:24 +10:00
parent b2580d4a18
commit 2c7c1249bf

View File

@ -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;