0

I'm facing a problem right now, where in my company, we want to resize the thumbnail images we have on amazon s3 storage using attachment_fu, I've been investigating how to regenerate this thumbnails and had found some guidelines to do it, however all of them work with local storage.

I've found a way, that involves more or less downloading the image from S3 using RestClient, and then assigning each downloaded image to each photo instance as a new attachment, I don't know if this is the best way (slow, expensive?), I would like to know if someone out there have had the same situation, did you do more or less the same? or did you find a more elegant way to solve this issue?

Thanks in advance for any feedback.

4

1 回答 1

0

您可以考虑使用TntDrive将您的 Amazon S3 存储桶挂载为 Windows 驱动器。然后,您可以像在本地存储中一样使用图像。

于 2010-09-27T12:14:43.600 回答