Forum: Radiant CMS Re: Page_Attachments

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Edf075fd42556b6c8b3506cf6c32cb64?d=identicon&s=25 Sharon Clift (Guest)
on 2007-06-15 10:19
(Received via mailing list)
I am also still having the same problem with Page_Attachments, I have
only tried a couple of pdf files which have been ok.  It is mostly image
files that we need to upload.  The images are usually over 1mb so it
doesn't seem to be caused by the files being very small.

Thanks

Sharon

This e-mail has been scanned for all viruses by MessageLabs.
8802b1fa1b53e2197beea9454244f847?d=identicon&s=25 Sean Cribbs (Guest)
on 2007-06-15 15:46
(Received via mailing list)
Aha!  That would be the problem.  I'll go ahead and make the change,
but if you want to do it yourself, go to
vendor/extensions/page_attachments/app/models/page_attachment.rb and
add this option to the has_attachment line:

:max_size => 10.megabytes # or whatever you want

Then restart your server.  It appears the default is 1 megabyte, which
would explain the issue.

Sean
This topic is locked and can not be replied to.