Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
photos
Commits
d75c980e
Commit
d75c980e
authored
Jul 18, 2014
by
Tobias Reich
Browse files
Fixed wrong path for public photos in view.php
parent
d627a66a
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
assets/js/view/main.js
View file @
d75c980e
...
...
@@ -90,8 +90,6 @@ function loadPhotoInfo(photoID) {
document
.
title
=
"
Lychee -
"
+
data
.
title
;
headerTitle
.
html
(
data
.
title
);
data
.
url
=
"
uploads/big/
"
+
data
.
url
;
imageview
.
attr
(
"
data-id
"
,
photoID
);
if
(
isPhotoSmall
(
data
))
imageview
.
html
(
"
<div id='image' class='small' style='background-image: url(
"
+
data
.
url
+
"
); width:
"
+
data
.
width
+
"
px; height:
"
+
data
.
height
+
"
px; margin-top: -
"
+
parseInt
((
data
.
height
/
2
)
-
20
)
+
"
px; margin-left: -
"
+
data
.
width
/
2
+
"
px;'></div>
"
);
else
imageview
.
html
(
"
<div id='image' style='background-image: url(
"
+
data
.
url
+
"
);'></div>
"
);
...
...
assets/min/view.js
View file @
d75c980e
This diff is collapsed.
Click to expand it.
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