How to draw diagrams in your blog? - plugins

There is number of plugins that use some third party drawing service... I don't like that!
I would like to be able to use html5 canvas features with some applications such as http://artisanjs.com/ something like what this guy did here http://www.owainlewis.com/blog/post/html5_canvas_drawing_application/
Ideally it should be integrated in TinyMCE....
Anyone?

try Paint web
http://code.google.com/p/paintweb/
Demo
http://www.robodesign.ro/paintweb/trunk/demos/demo-tinymce.html

Related

Any decent "html design" plugin available for use in a website?

I have a need of allowing visitors to my site to create their own "popup" screens.
I would like to have a WYSIWYG like interface where they can add images, backgrounds, text and move it around, resize, etc. Kind of like building a PowerPoint slide really...
Is there any plugin that can offer such function?
I've been Googling like crazy but can only find "big" solutions which I can't incorporate in my own web-site or "desktop" versions...
Something like this: http://framebox.org/
Although as a jQuery plugin or other simple to adapt plugin framework.
Any ideas?
Regards,
Anders

GWT Image Cropping

I'm building a website using GWT and would like to add Image Cropping capability so users can upload their profile image and then crop it as they need to. I'm looking for something similar to Jcrop but in GWT.
I found THIS and THIS code samples how to crop an image on the client side but there is no UI part where user can select part of their image that needs to be cropped.
There were also couple of similar questions on SO (for example and this GWT with Jcrop) but nobody gave an example of the selection part of the image that uses pure GWT.
If you have an idea how to do it please share and I'm sure other people will leverage from this in the future.
Here is the example of what I'm looking for:
I recommend that you take route #1. I've been working full time in GWT for awhile and spend a lot of time looking for libraries, and this is one that I just don't think exists yet.
Here are your options:
Wrap Jcrop using a JSNI interface.
Pros: You have to include JQuery and JCrop, which are small and robust
Cons: Learning how to build your first JSNI wrapper can be a pain
Build your own from GWT Drag and Drop
Pros: "Pure GWT"
Cons: You probably won't handle all the edge cases that JCrop has figured out over time, nor be as featureful.
Port JCrop to GQuery
Pros: JCrop is open source and only around ~1600 lines of code
Cons: It's ~1600 lines of code, which is likely to be much bigger when ported to Java
If you decide to do any of the above, please open source it! I'd be happy to contribute, and it looks like something that I could use in my GWT projects as well.
GWT Cropper is a widget that allows cropping an image.
https://code.google.com/p/gwt-cropper/
Edited in 2015: as long as Google Code is about to be closed, the project has been moved to GitHub. The new address is https://github.com/w32blaster/gwt-cropper

What Did IMDB Use to Code Their iPhone Trivia App?

Their app is very well done, however doesn't seem to use any of the normal controls that come standard with the framework. Now it could be they just did an excellent job of restyling those components, but I'm thinking they used something like Adobe Air or something to code it which I think is allowed now whereas it wasn't in the past.
If anyone has any insight I'd really appreciate it!
I would wager that most of the main UI is done as HTML and rendered using a web view. The rest looks like standard UI with custom images.

Is there a full implementation of the HTML5 Canvas object for GWT?

I'm looking to perform some dynamic charting based on a model via GWT on HTML5 compliant browsers.
I know that the following library exists :
GWT Canvas
The problem is that this library does not support drawing text within the canvas so I can draw lines but no write text on my charts.
I haven't been able to find any other plugin that works with the Canvas in GWT (which is really odd given the HTML5 push by Google).
Does such a component exist?
You could take a look at the official canvas support in gwt-incubator. http://code.google.com/p/google-web-toolkit-incubator/wiki/GWTCanvas
The GWT incubator seems to be more focussed on browser support. If you don't require this and wish to use more of the HTML5 Canvas features, see:
http://sourceforge.net/projects/html5canvas/

CMS for Professional Photographer with Pretty Admin Back End

I'm working on a few sites for professional photographers who want to be able to update on their own. I'm looking for a simple CMS solution that has very basic functionality as a gallery and is easy for them to work with. My main concern is with ordering images--I'd like for them to be able to drag their thumbnails around and lock the order. I suspect there is an existing solution out there and am looking for recommendations. I've seen something like this driven by Flash for Flash sites, but I don't know the name of it. I'm looking for something that is similar, but not Flash.
Photogallery tikiti is nice http://www.rocky.nu/photogallery/
I used wordpress and the dm_albums plugin for this site http://www.arkphotography.co.uk
I found dm_albums easy to use, and so did the photographer who had little experience of using wordpress and none of using dm_albums.