This workaround seems to be do it.

[mimeviewer]
mime_map = text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb, 
image/jpeg: text/html,image/png: text/html

Michela
On Thursday, 13 February 2025 at 18:59:54 UTC+11 [email protected] wrote:

> Has ini spec changed in 1.6?
>
> Regardless what I put in trac.ini
>
> getting "*HTML preview not available*, since the file size exceeds 256.0 
> KB"
> e.g.
>
> [mimeviewer]
> max_preview_size = 52428800
>
> Michela
> On Thursday, 8 November 2012 at 00:41:31 UTC+11 Voelker, Bernhard wrote:
>
>> bejot22 wrote (Wednesday, November 07, 2012 1:16 PM): 
>> > HTML preview not available, since the file size 
>> > exceeds 262144 bytes. Try downloading the file instead. 
>> > 
>> > Is there a posibility to change this maximum display size? 
>>
>> Isn't it this (in trac.ini)? 
>>
>> [mimeviewer] 
>> max_preview_size = 524288 
>>
>> Have a nice day, 
>> Berny 
>>
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/trac-users/28ec60dc-ea3f-4816-9065-1b6d6e5c194dn%40googlegroups.com.

Reply via email to