Hello,

I am using the paperclip plugin to upload images and it works
absolutely fine.

I intend to save my uploaded images to C:\Application_name\public
folder. Accordingly, with some study over the i-net, I changed
the :path option of has_attached_file to -

:path => "C:/Application_name/
public/:class/:attachment/:id/:style_:basename.:extension"

Now, the files are being saved to the desired path. However, I need to
understand what should be the corresponding change in the :url option.

I tried everything -

:url => "/:id/:style_:basename.:extension"
:url => "C:/Application_name/
public/:class/:attachment/:id/:style_:basename.:extension"
:url => "/public/:class/:attachment/:id/:style_:basename.:extension"

but none of them work. The image couldn't be displayed.

Request, please share any inputs which could help me further to this.

Thanks in advance.

love-n-peace,
@shaan
Aal izz well...:-)

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to