Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
officejs
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
officejs
Commits
a85a4ff0
Commit
a85a4ff0
authored
May 15, 2012
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use newly imported images
parent
9f77778a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
poc/safeimage/index.html
poc/safeimage/index.html
+2
-2
poc/safeimage/js/form.js
poc/safeimage/js/form.js
+6
-6
No files found.
poc/safeimage/index.html
View file @
a85a4ff0
...
...
@@ -43,8 +43,8 @@
<div
class=
"well"
>
<ul
class=
"nav nav-list"
>
<li
class=
"nav-header"
>
Images
</li>
<li
autofocus=
"autofocus"
><a
href=
"#image/
hs-2007-16-a-full_jpg"
><i
class=
"icon-star"
></i>
hs-2007-16-a-full_jpg
</a></li>
<li><a
href=
"#image/
copy"
><i
class=
"icon-star"
></i>
copy
</a></li>
<li
autofocus=
"autofocus"
><a
href=
"#image/
openphotonet_imgp0034-1"
><i
class=
"icon-star"
></i>
openphotonet_imgp0034-1
</a></li>
<li><a
href=
"#image/
openphotonet_s5000563"
><i
class=
"icon-star"
></i>
openphotonet_s5000563
</a></li>
</ul>
</div>
</div>
...
...
poc/safeimage/js/form.js
View file @
a85a4ff0
...
...
@@ -38,12 +38,12 @@
}
zoomify_url
=
"
image/
"
+
id
+
"
/
"
;
//XXX look at the xml definition inside image folder
if
(
id
==
'
hs-2007-16-a-full_jpg
'
)
{
zoomify_width
=
29566
;
zoomify_height
=
14321
;
}
else
{
zoomify_width
=
1277
;
zoomify_height
=
75
4
;
if
(
id
==
'
openphotonet_imgp0034-1
'
)
{
zoomify_width
=
4672
;
zoomify_height
=
3104
;
}
else
if
(
id
==
'
openphotonet_s5000563
'
)
{
zoomify_width
=
2592
;
zoomify_height
=
194
4
;
}
$
(
this
).
form
(
'
render
'
,
'
image
'
,
{
'
image_id
'
:
id
});
$
(
loadOpenLayerZoomedImage
);
...
...
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