Rails 6 Displaying a BLOB column as an image in a view

前端 未结 0 1178
有刺的猬
有刺的猬 2020-12-23 04:29

I\'ve stored image files as BLOBs in a mysql database via a python script using BytesIO:

 with BytesIO() as f:
  rgb_img.save(f, format=\'JPEG\', optimize=Tru         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题