On Mon, Mar 24, 2008 at 1:10 PM, Reynier Perez Mira <[EMAIL PROTECTED]> wrote:
>
>  See this:
>
>  [mimeviewer]
>  enscript_modes = text/x-dylan:dylan:4
>  enscript_path = enscript
>  max_preview_size = 5000000
>  mime_map = text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb
>  php_path = php
>  silvercity_modes =
>  tab_width = 8
>
>  This means more than 262144 bytes then why this?
>  Cheers and thanks
>
> Ing. Reynier Pérez Mira
>  Grupo Soporte al Desarrollo - Dirección Técnica
>
>  > -----Mensaje original-----
>  > De: [email protected] [mailto:[EMAIL PROTECTED] En
>  > nombre de Reynier Perez Mira
>  > Enviado el: lunes, 24 de marzo de 2008 11:48 am
>
>
> > Para: [email protected]
>  > Asunto: [Trac] Re: Trac not allow me upload files
>  >
>  >
>  > Yes, youre right. The image link is displayed in the Wiki Page but it have 
> the
>  > same size and others and the others show Ok, why this behaviour?
>  >
>  > Salu2
>  > Ing. Reynier Pérez Mira
>  > Grupo Soporte al Desarrollo - Dirección Técnica
>  >
>  > > -----Mensaje original-----
>  > > De: [email protected] [mailto:[EMAIL PROTECTED]
>  > En
>  > > nombre de Erik Bray
>  > > Enviado el: lunes, 24 de marzo de 2008 11:31 am
>  > > Para: [email protected]
>  > > Asunto: [Trac] Re: Trac not allow me upload files
>  > >
>  > > On Mon, Mar 24, 2008 at 11:29 AM, Reynier Perez Mira <[EMAIL PROTECTED]>
>  > > wrote:
>  > > >
>  > > >  Hi every:
>  > > >  I trying to upload a file to my Trac but I get this error:
>  > > >
>  > > >  --
>  > > >  DebuggingPDT: sshot-1.png
>  > > >  File sshot-1.png, 286.0 kB (added by reynierpm, 1 second ago)
>  > > >  HTML preview not available, since the file size exceeds 262144 bytes. 
> You
>  > > may download the file instead.
>  > > >
>  > > >  I check the config[1] and it's ok. What's the problem here?
>  > > >
>  > > >  [1] http://uploads.screenshot-
>  > > program.com/my.php?image=upl5047511778.png
>  > > >  Cheers and thanks in advance
>  > > >  Ing. Reynier Pérez Mira
>  > > >  Grupo Soporte al Desarrollo - Dirección Técnica
>  > >
>  > > It sounds to me like your image is uploading fine.  It's simply not
>  > > displaying the image in the HTML preview because it's larger than your
>  > > max_preview_size.   The image file should be listed in the list of
>  > > attachments to the ticket/wiki page that you're attaching it to.
>  > >
>  > > Erik
>  > >

Have you tried restarting the server since setting max_preview_size =
5000000?  Because the number 262144 isn't hard coded into the template
or anything.  When it says "HTML preview not available, since the file
size exceeds 262144 bytes" it should be using whatever value you have
set for max_preview_size.

Erik

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to