Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Image Viewer with Zoom, Pan and Rotate
Hi!
I am just starting to develop a new application with vaadin and I am looking for some component, which has the features as describes in the subject of this post.
Just like this tool does: http://code.google.com/p/yapi-viewer/
In addition it would be good to have navigation to next/previous image.
I googled my a.. of already and I would be very thankful if you could give me advice!
Thanks in advance!
Chris
Hi Chris,
Magic Touch can do most of what you need:
- Zoom
- Pan
When you say rotate, do you mean as 360 spin effect or a slideshow effect from one image to the next?
http://www.magictoolbox.com/magictouch/
Click the full screen button and you'll see that it has thumbnails of alternative images.
Magictouch looks nice.
No. I do not need 360° 3d like rotation. I just need pure 2d rotation in 90° steps. Sometimes a landscape image is stored as portrait so the user should be able to rotate it 90° to see it in the right orientataion.
Regards,
Christoph
Christoph Wilhelms: Sometimes a landscape image is stored as portrait so the user should be able to rotate it 90° to see it in the right orientataion.
90 degree rotation needs to be applied to the image either before you upload it or on the server.
Magic Toolbox: 90 degree rotation needs to be applied to the image either before you upload it or on the server.
... which is no problem at all with JAI :-). Would be great to have some "hook" to apply appropriate buttons in the viewe UI for this.
What I have found in addition:
http://www.spictrading.com/viewer/others.php
Would be good to have a wrapper component/widget in vaadin for one of those. Is there one for magic touch?
Regards,
Christoph
Christoph Wilhelms: Would be good to have a wrapper component/widget in vaadin for one of those. Is there one for magic touch?
There isn't a Vaadin addon for Magic Touch but we might be able to build one for you. We are investigating the process.
In the meantime, if you send us a login to your Vaadin site via our form here:
http://www.magictoolbox.com/contact/
then we will investigate how simple it would be to manually integrate Magic Touch. It's usually quite easy.
Jake
Magic Toolbox
Hi,
I really need a vaadin component that provides me with this functionality.
http://www.magictoolbox.com/magictouch/
However. I want a self contained component, I want to host my image and not depend on any third party server to have the zoom working.
Please provide a ETA if you think you can build it and how much would you charge for it.
Thank you.
You could also contact Vaadin Sales for custom development: https://vaadin.com/consulting
Best,
Enver