code: protected void setResource(CmsObject cms, CmsResource resource) {
  
          m_resource = CmsJspResourceWrapper.wrap(cms, resource);
      }
docs: Sets the CmsResource for this image.<p>
  
  @param cms the current OpenCms user context, required for wrapping the resource
  @param resource the VFS resource for this image