Hi, please implement it. Currently, I don't have enough time to work on this feature. Thanks
On Sunday, October 21, 2018 at 2:21:00 PM UTC+3, Marcel Muller wrote: > > Hey there! > > Did you make any progress? I'd also want to see this feature at some > point, and would like to implement it. But if you are already doing so, > then no reason for wasted effort from my side. > > Cheers > > On Thursday, 13 September 2018 21:47:39 UTC+2, igorkas...@gmail.com wrote: >> >> Hi, >> >> I would like to add support for defining different versions of images for >> active storage. >> Already started some development: >> The diff is here: >> https://gist.github.com/igorkasyanchuk/2775123a3fbaf196f43a092e8f4a6931 >> and it could be used like >> >> has_one_attached :avatar, versions: { thumb: { combine_options: { >> thumbnail: "500x500^", gravity: "center", extent: "500x500"} } } >> >> >> is it fine? I've got a suggestion to implement it like this >> >> has_one_attached :avatar do >> variation :thumb, thumbnail: "500x500^", gravity: "center", extent: >> "500x500"end >> >> >> which looks good to me. >> >> What do you think? >> > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at https://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.