chandanjha
chandanjha

Reputation: 931

Image variants are not processed in Rails 7.0.8 using mini_magick

I have recently upgraded from rails 5.2 to rails 7.0.8 and I am using mini_magick to create image variants. But somehow the image variants are not created.

Gem used:

I am using below code for converting my image

    file.variant({ gravity: 'center', resize: sizes[:resize], crop: "#{sizes[:resize].chomp('^')}+0+0" }).processed

Has anybody faces similar issue?

Upvotes: 0

Views: 25

Answers (0)

Related Questions