I'm using attachment_fu to handle uploading some images. I'm using the
path_prefix option to set the path as 'public/portfolio_images' and
this is then symlinked to an identically named directory in the shared
My issue is that the public_filename method is placing a leading slash
on the image url. When I added a trailing slash to the base_path
method so that the regex would catch it, it adds a directory named
images/ to the front of the url.
My image.rb is here: http://pastie.caboo.se/149478 This is the only
redefinition of any methods I've done.
All help appreciated.