|
|
@@ -741,6 +741,7 @@ class class_do_render_namumark:
|
|
|
file_bgcolor = ''
|
|
|
file_turn = ''
|
|
|
file_radius = ''
|
|
|
+ file_rendering = ''
|
|
|
|
|
|
file_split_regex = r'(?:^|&) *((?:(?!&).)+)'
|
|
|
file_split_sub_regex = r'(^[^=]+) *= *([^=]+)'
|
|
|
@@ -766,6 +767,9 @@ class class_do_render_namumark:
|
|
|
file_turn = 'light'
|
|
|
elif data_sub[0] == 'border-radius':
|
|
|
file_radius = self.get_tool_px_add_check(data_sub[1])
|
|
|
+ elif data_sub[0] == 'rendering':
|
|
|
+ if data_sub[1] == 'pixelated':
|
|
|
+ file_rendering = 'pixelated'
|
|
|
|
|
|
link_main_org = ''
|
|
|
link_sub = link_main
|
|
|
@@ -826,11 +830,16 @@ class class_do_render_namumark:
|
|
|
if file_radius != '':
|
|
|
file_radius = 'border-radius:' + self.get_tool_css_safe(file_radius) + ';'
|
|
|
|
|
|
+ if file_rendering != '':
|
|
|
+ file_rendering = 'image-rendering:' + self.get_tool_css_safe(file_rendering) + ';'
|
|
|
+
|
|
|
+ file_style = file_width + file_height + file_align_style + file_bgcolor + file_radius + file_rendering
|
|
|
+
|
|
|
image_set = get_main_skin_set(self.curs, self.flask_session, 'main_css_image_set', self.ip)
|
|
|
if image_set == 'new_click' or image_set == 'click':
|
|
|
- file_end = '<img style="' + file_width + file_height + file_align_style + file_bgcolor + file_radius + '" id="opennamu_image_' + str(image_count) + '" alt="' + link_sub + '" src="">'
|
|
|
+ file_end = '<img style="' + file_style + '" id="opennamu_image_' + str(image_count) + '" alt="' + link_sub + '" src="">'
|
|
|
else:
|
|
|
- file_end = '<img style="' + file_width + file_height + file_align_style + file_bgcolor + file_radius + '" alt="' + link_sub + '" src="' + link_main + '">'
|
|
|
+ file_end = '<img style="' + file_style + '" alt="' + link_sub + '" src="' + link_main + '">'
|
|
|
|
|
|
if file_align == 'center':
|
|
|
file_end = '<div style="text-align:center;">' + file_end + '</div>'
|