Hello
I have problem with ImageCropper.
How to read image to cropp from object?
Like that:
<p:imageCropper value="#{imageCropperBean.croppedImage}" image="#{imageCropperBean.imageToCropp}" />
not that:
<p:imageCropper value="#{imageCropperBean.croppedImage}" image="/ui/barca/campnou.jpg" />
Thanks!
ImageCropper from DB or object
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
ImageCropper does not support dynamic images yet.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Feel free to create a feature request for this in our issue tracker so we can prioritize it depending on how many votes it gets.
Currently I can't think of a workaround, unless you save your dynamic image at a temporary location and use imagecropper on that temporary physical image.
Currently I can't think of a workaround, unless you save your dynamic image at a temporary location and use imagecropper on that temporary physical image.
-
- Posts: 30
- Joined: 19 Nov 2010, 19:25
I vote for that feature, I'm very interested that ImageCropper supports dynamic images!Is the issue created?
eclipse mars,
apache-tomcat-8.0.29
myfaces 2.2.9,
primefaces-5.3,
mysql-connector-java-5.1.30-bin,
hibernate 4.3.11.Final
apache-tomcat-8.0.29
myfaces 2.2.9,
primefaces-5.3,
mysql-connector-java-5.1.30-bin,
hibernate 4.3.11.Final
-
- Posts: 30
- Joined: 19 Nov 2010, 19:25
I have searched and have not found the request created on issue tracker, I´ll create one!
Please friends, vote!
http://code.google.com/p/primefaces/iss ... %20Summary
Please friends, vote!
http://code.google.com/p/primefaces/iss ... %20Summary
eclipse mars,
apache-tomcat-8.0.29
myfaces 2.2.9,
primefaces-5.3,
mysql-connector-java-5.1.30-bin,
hibernate 4.3.11.Final
apache-tomcat-8.0.29
myfaces 2.2.9,
primefaces-5.3,
mysql-connector-java-5.1.30-bin,
hibernate 4.3.11.Final
I added StreamedContent support for ImageCropper like this (requires compiling PrimeFaces from source)
modify imageCropper.xml (under src/main/resource-maven-jsf/ui/imageCropper.xml) as such:
http://pastebin.com/eu5APFxu
modify ImageCropperRenderer.java (under src/main/java/org/primefaces/component/imagecropper):
http://pastebin.com/BYddVAN1
i modified 4.0.7-SNAPSHOT from https://github.com/primefaces/primefaces/tree/4.0.x
modify imageCropper.xml (under src/main/resource-maven-jsf/ui/imageCropper.xml) as such:
http://pastebin.com/eu5APFxu
modify ImageCropperRenderer.java (under src/main/java/org/primefaces/component/imagecropper):
http://pastebin.com/BYddVAN1
i modified 4.0.7-SNAPSHOT from https://github.com/primefaces/primefaces/tree/4.0.x
-
- Posts: 41
- Joined: 19 Jun 2013, 00:54
isthmus86 wrote:I added StreamedContent support for ImageCropper like this (requires compiling PrimeFaces from source)
modify imageCropper.xml (under src/main/resource-maven-jsf/ui/imageCropper.xml) as such:
http://pastebin.com/eu5APFxu
modify ImageCropperRenderer.java (under src/main/java/org/primefaces/component/imagecropper):
http://pastebin.com/BYddVAN1
i modified 4.0.7-SNAPSHOT from https://github.com/primefaces/primefaces/tree/4.0.x
I have got 5.2 version of PF and I don't see the ImageCropper component support StreamedContent. Is this functionality over written in 5.2.
PrimeFaces 5.3 | Spark 2.1 | Wildfly 10.0 | Mojarra 2.2.0 | Eclipse | Prime Faces Extension 3.2.0 | Omnifaces 2.0 | Java 1.8
-
- Posts: 79
- Joined: 25 Mar 2013, 13:00
-
- Information
-
Who is online
Users browsing this forum: No registered users and 29 guests