1

Yo,

I've got attachment_fu set up on my server, and it works just fine. My goal, however, is to be able to upload PDFs and have them convert to image (then use all the pre-built attachment_fu options like resize and thumb produce the desired images). What currently happens is that PDFs upload and remain PDFs, whereas images go through all the motions of resizing and whatnot.

How can I get the functionality I want? Is there a simple way to go about doing this using the tools I already have, or should I just manually invoke RMagick to do the initial conversion? If so, how can I do that and then pass off the file to attachment_fu for handling?

Thanks, --Matchu

4

1 に答える 1

0

Rails の最も古い未回答の質問: https://stackoverflow.com/a/69804/156561彼の答えはおそらく非常によく似ており、Attachment_fu を使用するようにドアに誘導します。

于 2013-01-19T15:58:02.053 に答える