I done some more work on the photo display widget. I have done the following today. I would say I have done a fair days work.
- Fixed the upload handler , now returns text/html instead of text/plain, the upload control uses a normal submission inside and temp Iframe. When the content type was set as ‘plain’ the returned JSON would be encapsulated insde <pre> html tags causing a eval error.
- Since the above was fixed had the upload form refresh the datastore to include the new images.
- I added a click listener to the dataview control, when an image is clicked it will load a new window positioned at the top of the screen(useful for the large screen shots) with the image inside, though not as pretty as say ‘lightbox’, it works.
- Implemented a pass key on the image upload form a security to stop unwanted uploads.
- Fixed a CSS issue with the dataview, overflows of floated elements.