Re: Uploading Images

Hi Sean,

Do you have any documentation on the page attachment extension? I have
run the rake command and now have the plus icon. It looks as though it
is working. However after I save the page and then try to find the
image I’ve tried to upload it does not seem to have been added anywhere.
I’ve tried searching for it in my project folder but it isn’t in any of
the sub-folders and when I go back into the page it says attachments (0)
Do I need to set the path to where it should upload to somewhere?

Many thanks for your help

Sharon

This e-mail has been scanned for all viruses by MessageLabs.

The upload path is set automatically by the PageAttachment model. Do
you have an image processor (RMagick, MiniMagick, ImageScience)
installed on your server, or local machine, or wherever you’re testing
this?

Sean

Ah, yes. I had forgotten! Make sure to use Radiant edge:

rake radiant:freeze:edge

The stock 0.6.1 page-edit interface doesn’t allow file uploads, but that
has since been changed in trunk.

Sean

Are there plans from the core team to release 0.6.2?
I"m running 0.5.2 in production and planning to use page_attachments,
but I won’t be able to run edge in production.

There have been very few changes in trunk since 0.6.1. At RailsConf
John mentioned releasing 0.6.2 quickly if we wanted. So, in short, I
don’t know! However, the overwhelming majority of changes we make are
thoroughly tested, and you can choose to freeze to any tag, branch or
revision when you freeze edge. There is not much risk in running edge
at this point.

Sean

Sean C. wrote:

There have been very few changes in trunk since 0.6.1. At RailsConf
John mentioned releasing 0.6.2 quickly if we wanted.

It’ll be at least a week or two. I’m on vacation next week.


John L.
http://wiseheartdesign.com

Yeah, there are not many changes to the core since 0.6.1, mostly
extension changes.

Sean