Store image hash for self-hosted newsletters
This commit is contained in:
@@ -2425,8 +2425,8 @@ class PmsConnect(object):
|
||||
|
||||
return labels_list
|
||||
|
||||
def get_image(self, img=None, width='1000', height='1500', opacity=None, background=None, blur=None, img_format='png',
|
||||
clip=False):
|
||||
def get_image(self, img=None, width=600, height=1000, opacity=None, background=None, blur=None,
|
||||
img_format='png', clip=False):
|
||||
"""
|
||||
Return image data as array.
|
||||
Array contains the image content type and image binary
|
||||
@@ -2440,8 +2440,8 @@ class PmsConnect(object):
|
||||
Output: array
|
||||
"""
|
||||
|
||||
width = width or '1000'
|
||||
height = height or '1500'
|
||||
width = width or 600
|
||||
height = height or 1000
|
||||
|
||||
if img:
|
||||
if clip:
|
||||
|
||||
Reference in New Issue
Block a user