Displaying 1 result from an estimated 1 matches for "before_attachment_saved".
2009 Jul 24
1
Attachment_fu - watermark tmp file before saved to S3
...azon S3.
I took a look at the callbacks available in attachment_fu. There''s an
''after_attachment_saved'' method but this would be too late, and a
''before_thumbnail_saved'' but this is no good because it''s for
thumbnails.
I think I need ''before_attachment_saved'' or the equivalent in the
attachment workflow.
I do have a watermark working for :file_system storage option using
the code below.
# -------------------------------------------- watermark on
file_system after initial save - but doesn''t work for s3
def after_attachment_saved...