由paperclip上传的图像的原始路径是什么.
has_attached_file :attachment,:url => ":rails_root/public/photos/images/:id/:style/:basename.:extension",:default => ":rails_root/public/images/no-image-available.png",:styles => style_options,:default_style => :gallery
和style_options是@H_403_5@
style_options = { :thumbnail => {:geometry => '100x100'},:profile_gallery => {:geometry => '184x247'} }
在我的公共文件夹中创建3个文件夹,同时一个图像上传1.缩略图,2.profile_gallary 3.原始.@H_403_5@
<%= photo.thumbnail_url %>
我的问题是我想使用上传图片的原始路径.我不想将thumnail用于任何特定网址.我怎样才能使用原始路径.@H_403_5@
感谢Advance@H_403_5@