Forum: Radiant CMS Re: Page_Attachments

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Sharon C. (Guest)
on 2007-06-15 12: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.



This e-mail has been scanned for all viruses by MessageLabs.
Sean C. (Guest)
on 2007-06-15 17: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.

This topic is locked and can not be replied to.