2010-04-28 12 views

Antwort

46
has_attached_file :image, :styles => { :thumb => "100x100>" }, 
    :convert_options => {:thumb => "-gravity center -extent 100x100"} 

Oder mit nicht weißen Hintergrund

has_attached_file :image, :styles => { :thumb => "100x100>" }, 
    :convert_options => {:thumb => "-background red -gravity center -extent 100x100"} 
+0

Perfect, dank – astropanic

+0

1 für umfangreiche Antwort :) –

+0

Danke - funktioniert perfekt –

Verwandte Themen