ruby on rails - How do I apply a drop shadow to thumbnails using imagemagick and paperclip? -
I would like to change the processing of thumbnails in Pemelclip, which will apply a drop-side to all image thumbnails. What I am stuck is the real image magnetic command that will close this small miracle. Whatever I have tried, it returns a wrongly scaled drop shadow without the original image. DF Transformation_anomic scale, crop = current_jammetry.transivation_to (target_geometry, crop?) Trans = "" trans & lt; & Lt; "-Resage \" # {scale} \ "" trans & lt; & Lt; "-crop \" # crop) \ "+ repape" if crop # drop shadow transpole apply & lt; & Lt; "# {Convert_options}" If Convert_section? I have tried ... DF Transformation_ Size scale, crop = current_jammetry.transensfarm_to (@ target_gementory, crop) trans = "" Trans & lt; & Lt; "-Resage \" # {scale} \ "" trans & lt; & Lt; "-Crop \" # {crop} \ "+ repep" if crop trance; & Lt; ...