Re: Page_Attachments

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.

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