Reputation: 481
if pictures are uploaded using one style, how can i change the style of the uploaded picture after the picture is already uploaded. say if i want to change from tiny or thumb to original? Thanks,
Upvotes: 1
Views: 70
Reputation: 2380
:thumb
and :grid
and uploaded image to it, then you already have three images by default: grid, thumb and original. So in your views you could just use <your attachment>.path(:thumb)
or <your attachment>.path(:grid)
.rake paperclip:refresh:missing_styles
.Upvotes: 2