mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-03-03 08:46:09 +01:00
Handle paperclip icon as OP image
This commit is contained in:
parent
25c5ccd2db
commit
cbc49e2a16
@ -82,7 +82,11 @@
|
|||||||
$post['file'] = '/' . $config['spoiler_image'];
|
$post['file'] = '/' . $config['spoiler_image'];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$post['file'] = $config['uri_thumb'] . $files[0]->thumb;
|
if ($files[0]->thumb == 'file') {
|
||||||
|
$post['file'] = $config['root'] . sprintf($config['file_thumb'], 'file.png');
|
||||||
|
} else {
|
||||||
|
$post['file'] = $config['uri_thumb'] . $files[0]->thumb;
|
||||||
|
}
|
||||||
$post['fullimage'] = $config['uri_img'] . $files[0]->file;
|
$post['fullimage'] = $config['uri_img'] . $files[0]->file;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user