Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Riina Antikainen
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 34d18719
authored
Oct 24, 2013
by
Tuomas Riihimäki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use only dydata/userimage/***.img ( not jpg)
1 parent
70882ce7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
code/MoyaWeb/WebContent/admin/incoming/printCard.xhtml
code/MoyaWeb/WebContent/user/sendPicture.xhtml
code/MoyaWeb/WebContent/useradmin/sendPicture.xhtml
code/MoyaWeb/WebContent/useradmin/userCartShow.xhtml
code/MoyaWeb/WebContent/admin/incoming/printCard.xhtml
View file @
34d1871
...
...
@@ -23,7 +23,7 @@
<h:panelGroup>
<h:form>
<h:outputLabel
value=
"#{i18n['user.cropUserImage']}:"
/>
<p:imageCropper
value=
"#{userView.croppedImage}"
aspectRatio=
"0.7317073170731707"
image=
"/dydata/userimage/#{userView.user.currentImage.id}.
jp
g"
/>
<p:imageCropper
value=
"#{userView.croppedImage}"
aspectRatio=
"0.7317073170731707"
image=
"/dydata/userimage/#{userView.user.currentImage.id}.
im
g"
/>
<br
/>
<h:commandButton
action=
"#{userView.crop}"
value=
"#{i18n['user.cropImage']}"
/>
</h:form>
...
...
code/MoyaWeb/WebContent/user/sendPicture.xhtml
View file @
34d1871
...
...
@@ -47,7 +47,7 @@
<h2>
#{i18n['user.thisIsCurrentImage']}
</h2>
<h:outputText
rendered=
"#{empty userView.user.currentImage}"
value=
"#{i18n['user.noCurrentImage']}"
/>
<img
width=
"300"
rendered=
"#{!empty userView.user.currentImage}"
src=
"#{request.contextPath}/dydata/userimage/#{userView.user.currentImage.id}.
jp
g"
alt=
"image"
/>
<img
width=
"300"
rendered=
"#{!empty userView.user.currentImage}"
src=
"#{request.contextPath}/dydata/userimage/#{userView.user.currentImage.id}.
im
g"
alt=
"image"
/>
<!-- <ui:fragment rendered="#{!empty userView.user.currentImage}">
...
...
code/MoyaWeb/WebContent/useradmin/sendPicture.xhtml
View file @
34d1871
...
...
@@ -35,10 +35,10 @@
<h:outputText
rendered=
"#{empty userView.user.currentImage}"
value=
"#{i18n['user.noCurrentImage']}"
/>
<ui:fragment
rendered=
"#{!empty userView.user.currentImage}"
>
<h:panelGrid
columns=
"2"
>
<img
width=
"300"
src=
"#{request.contextPath}/dydata/userimage/#{userView.user.currentImage.id}.
jp
g"
alt=
"image"
/>
<img
width=
"300"
src=
"#{request.contextPath}/dydata/userimage/#{userView.user.currentImage.id}.
im
g"
alt=
"image"
/>
<ui:fragment
rendered=
"#{userView.canManage()}"
>
<h:form>
<p:imageCropper
value=
"#{userView.croppedImage}"
aspectRatio=
"0.7317073170731707"
image=
"/dydata/userimage/#{userView.user.currentImage.id}.
jp
g"
/>
<p:imageCropper
value=
"#{userView.croppedImage}"
aspectRatio=
"0.7317073170731707"
image=
"/dydata/userimage/#{userView.user.currentImage.id}.
im
g"
/>
<h:commandButton
action=
"#{userView.crop}"
value=
"#{i18n['user.cropImage']}"
/>
</h:form>
</ui:fragment>
...
...
code/MoyaWeb/WebContent/useradmin/userCartShow.xhtml
View file @
34d1871
...
...
@@ -67,7 +67,7 @@
</h:form>
<h:form>
<p:imageCropper
value=
"#{userView.croppedImage}"
aspectRatio=
"0.7317073170731707"
image=
"/dydata/userimage/#{userView.user.currentImage.id}.
jp
g"
/>
<p:imageCropper
value=
"#{userView.croppedImage}"
aspectRatio=
"0.7317073170731707"
image=
"/dydata/userimage/#{userView.user.currentImage.id}.
im
g"
/>
<h:commandButton
action=
"#{userView.crop}"
value=
"#{i18n['user.cropImage']}"
/>
</h:form>
</ui:define>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment