[FIX] website: respect max_{width,height} for /website/image route
This commit is contained in:
parent
bb26dea60b
commit
93238cd1cb
|
@ -381,7 +381,7 @@ class Website(openerp.addons.web.controllers.main.Home):
|
|||
"""
|
||||
response = werkzeug.wrappers.Response()
|
||||
return request.registry['website']._image(
|
||||
request.cr, request.uid, model, id, field, response)
|
||||
request.cr, request.uid, model, id, field, response, max_width, max_height)
|
||||
|
||||
|
||||
#------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue