Undocumented/unintended? Max preview size limited by wiki max page size
|Reported by:||Owned by:|
|Severity:||normal||Keywords:||max preview size verify|
I'd bumped the attachment size limit on our local Trac instance up from the default 256K to 1M, but another developer noted that when he uploaded a PNG image that was >256K, the attachment link still stated "HTML preview not available, since the file size exceeds 262144 bytes".
Raising the apparently-unrelated [wiki] max_size configuration item to 1M solves the problem. So it looks to me like the max previewable size is actually the lower of (mimeviewer.max_preview_size, wiki.max_size). Whether that's what was intended is another issue…