version: 1.0
approval status: REJECTED
submitted by bogdibota 4 years ago

A simple, yet effective, plugin for managing and using images stored in the database. It is very simple to use: # Domain class class MyDomainClass{ ... Image image static mapping = { ... image cascade: "all" } } # Image creation CommonsMultipartFile file ... myDomainClass.image = imageCreationService.createImage(file).save() # Display the image //full sized image //notice that the backgroundColor must be specified in hexadecimal RGB format: BLACK="0x000000", RED="0xFF0000" and so on

blog comments powered by Disqus