Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
erp5
Commits
413300b6
Commit
413300b6
authored
Oct 20, 2011
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
specify backgroud color explicitly because recent ImageMagick generates transparent PNG from PDF.
parent
9fbb94ec
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/PDF_renderHTMLPreviewAsImage.xml
...em/portal_skins/erp5_dms/PDF_renderHTMLPreviewAsImage.xml
+1
-1
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/PDF_renderHTMLThumbnailPreview.xml
.../portal_skins/erp5_dms/PDF_renderHTMLThumbnailPreview.xml
+2
-3
bt5/erp5_dms/bt/revision
bt5/erp5_dms/bt/revision
+1
-1
No files found.
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/PDF_renderHTMLPreviewAsImage.xml
View file @
413300b6
...
...
@@ -41,7 +41,7 @@
python:here.PDF_getPageNumberFromSelectionIndex(request.get(\'selection_index\', 0));\n
display python: request.get(\'display\', context.portal_preferences.getPreference(\'preferred_image_size\', \'large\'));\n
format python: request.get(\'format\', context.portal_preferences.getPreference(\'preferred_image_format\', \'png\'))">
\n
<img
src=
""
alt=
""
\n
<img
src=
""
alt=
""
style=
"background-color:white;"
\n
tal:attributes=
"src\n
string:${here/absolute_url}/index_html?display=${display}&format=${format}&frame=${frame}"
/>
\n
</div>
...
...
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/PDF_renderHTMLThumbnailPreview.xml
View file @
413300b6
...
...
@@ -43,12 +43,11 @@
format python: request.get(\'format\', \n
context.portal_preferences.getPreference(\'preferred_image_format\', \'png\'))">
\n
<a
tal:attributes=
"href string:PDF_viewHTMLPreviewAsImage?selection_index=${frame}"
>
\n
<img
title=
"Thumbnail"
\n
<img
title=
"Thumbnail"
style=
"background-color:white;"
\n
i18n:attributes=
"title"
i18n:domain=
"ui"
\n
tal:attributes=
"src string:index_html?display=${display}&format=${format}&frame=${frame}"
/>
\n
</a>
\n
</tal:block>
\n
</tal:block>
]]>
</unicode>
</value>
</item>
...
...
bt5/erp5_dms/bt/revision
View file @
413300b6
1256
\ No newline at end of file
1257
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment