From e44a7e37b6c7b5961adaffc62b9042b8d442938e Mon Sep 17 00:00:00 2001 From: mensonge Date: Thu, 13 Nov 2008 09:49:11 +0000 Subject: New feature: basic Ajax suggestion for tags and implementation of Dojo toolkit git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@151 b3834d28-1941-0410-a4f8-b48e95affb8f --- includes/js/dojox/image/tests/images.json | 32 +++++ includes/js/dojox/image/tests/images/extraWide.jpg | Bin 0 -> 49250 bytes includes/js/dojox/image/tests/images/huuuge.png | Bin 0 -> 37958 bytes .../js/dojox/image/tests/images/imageHoriz.jpg | Bin 0 -> 47693 bytes .../js/dojox/image/tests/images/imageHoriz2.jpg | Bin 0 -> 77176 bytes includes/js/dojox/image/tests/images/imageVert.jpg | Bin 0 -> 71533 bytes includes/js/dojox/image/tests/images/spanke.jpg | Bin 0 -> 302741 bytes includes/js/dojox/image/tests/images/square.jpg | Bin 0 -> 82010 bytes includes/js/dojox/image/tests/test_Gallery.html | 67 +++++++++++ includes/js/dojox/image/tests/test_Lightbox.html | 105 ++++++++++++++++ includes/js/dojox/image/tests/test_Magnifier.html | 98 +++++++++++++++ .../js/dojox/image/tests/test_MagnifierLite.html | 91 ++++++++++++++ includes/js/dojox/image/tests/test_SlideShow.html | 68 +++++++++++ .../js/dojox/image/tests/test_ThumbnailPicker.html | 134 +++++++++++++++++++++ 14 files changed, 595 insertions(+) create mode 100644 includes/js/dojox/image/tests/images.json create mode 100644 includes/js/dojox/image/tests/images/extraWide.jpg create mode 100644 includes/js/dojox/image/tests/images/huuuge.png create mode 100644 includes/js/dojox/image/tests/images/imageHoriz.jpg create mode 100644 includes/js/dojox/image/tests/images/imageHoriz2.jpg create mode 100644 includes/js/dojox/image/tests/images/imageVert.jpg create mode 100644 includes/js/dojox/image/tests/images/spanke.jpg create mode 100644 includes/js/dojox/image/tests/images/square.jpg create mode 100644 includes/js/dojox/image/tests/test_Gallery.html create mode 100644 includes/js/dojox/image/tests/test_Lightbox.html create mode 100644 includes/js/dojox/image/tests/test_Magnifier.html create mode 100644 includes/js/dojox/image/tests/test_MagnifierLite.html create mode 100644 includes/js/dojox/image/tests/test_SlideShow.html create mode 100644 includes/js/dojox/image/tests/test_ThumbnailPicker.html (limited to 'includes/js/dojox/image/tests') diff --git a/includes/js/dojox/image/tests/images.json b/includes/js/dojox/image/tests/images.json new file mode 100644 index 0000000..bd0cf96 --- /dev/null +++ b/includes/js/dojox/image/tests/images.json @@ -0,0 +1,32 @@ +{ items: [ + { + "thumb":"images/extraWide.jpg", + "large":"images/extraWide.jpg", + "title":"I'm wide, me", + "link":"http://www.flickr.com/photos/44153025@N00/748348847" + }, + { + "thumb":"images/imageHoriz.jpg", + "large":"images/imageHoriz.jpg", + "title":"I'm a horizontal picture", + "link":"http://www.flickr.com/photos/44153025@N00/735656038" + }, + { + "thumb":"images/imageHoriz2.jpg", + "large":"images/imageHoriz2.jpg", + "title":"I'm another horizontal picture", + "link":"http://www.flickr.com/photos/44153025@N00/714540483" + }, + { + "thumb":"images/imageVert.jpg", + "large":"images/imageVert.jpg", + "title":"I'm a vertical picture", + "link":"http://www.flickr.com/photos/44153025@N00/715392758" + }, + { + "large":"images/square.jpg", + "thumb":"images/square.jpg", + "link" :"images/square.jpg", + "title":"1:1 aspect ratio" + } +]} \ No newline at end of file diff --git a/includes/js/dojox/image/tests/images/extraWide.jpg b/includes/js/dojox/image/tests/images/extraWide.jpg new file mode 100644 index 0000000..2161825 Binary files /dev/null and b/includes/js/dojox/image/tests/images/extraWide.jpg differ diff --git a/includes/js/dojox/image/tests/images/huuuge.png b/includes/js/dojox/image/tests/images/huuuge.png new file mode 100644 index 0000000..ee98a39 Binary files /dev/null and b/includes/js/dojox/image/tests/images/huuuge.png differ diff --git a/includes/js/dojox/image/tests/images/imageHoriz.jpg b/includes/js/dojox/image/tests/images/imageHoriz.jpg new file mode 100644 index 0000000..3948416 Binary files /dev/null and b/includes/js/dojox/image/tests/images/imageHoriz.jpg differ diff --git a/includes/js/dojox/image/tests/images/imageHoriz2.jpg b/includes/js/dojox/image/tests/images/imageHoriz2.jpg new file mode 100644 index 0000000..fbbf404 Binary files /dev/null and b/includes/js/dojox/image/tests/images/imageHoriz2.jpg differ diff --git a/includes/js/dojox/image/tests/images/imageVert.jpg b/includes/js/dojox/image/tests/images/imageVert.jpg new file mode 100644 index 0000000..1652338 Binary files /dev/null and b/includes/js/dojox/image/tests/images/imageVert.jpg differ diff --git a/includes/js/dojox/image/tests/images/spanke.jpg b/includes/js/dojox/image/tests/images/spanke.jpg new file mode 100644 index 0000000..ec95fb0 Binary files /dev/null and b/includes/js/dojox/image/tests/images/spanke.jpg differ diff --git a/includes/js/dojox/image/tests/images/square.jpg b/includes/js/dojox/image/tests/images/square.jpg new file mode 100644 index 0000000..9094d5a Binary files /dev/null and b/includes/js/dojox/image/tests/images/square.jpg differ diff --git a/includes/js/dojox/image/tests/test_Gallery.html b/includes/js/dojox/image/tests/test_Gallery.html new file mode 100644 index 0000000..320c481 --- /dev/null +++ b/includes/js/dojox/image/tests/test_Gallery.html @@ -0,0 +1,67 @@ + + +
+ ++ tall + 4:3 image + Broken link + large than viewport? +
+ ++ wide image + square + wide image + Broken link +
+ ++ wide image + square + 4:3 image + tall +
+ +They are just images. It's entirely unobtrusive to add magnification to an image, and style it accordingly.
+This widget is based on dojox.image.MagnifierLite, an image-only variant on this dojox.gfx + based Widget. The idea was/is to include addational surfaces in some kind of _Templated GFX widget, based on _Widget.
+
+ Scale= 2.34, 5.67, and 8.90:
+
+
+
+
+
+
+ I Am Some inline text.
lorem ipsum.
+
A Transparent .png:
+
+
+
Programatic:
+
+
+
+
+
+
+
+
Remote file (GTA:LCS/psp map):
+
+
+
Everybody loves Zelda, right?
+
+
+ +
+ + + diff --git a/includes/js/dojox/image/tests/test_MagnifierLite.html b/includes/js/dojox/image/tests/test_MagnifierLite.html new file mode 100644 index 0000000..6e6ccd7 --- /dev/null +++ b/includes/js/dojox/image/tests/test_MagnifierLite.html @@ -0,0 +1,91 @@ + + +They are just images. It's entirely unobtrusive to add magnification to an image, and style it accordingly.
+ +This is the base class for dojox.image.Magnifier, a dojox.gfx-based extension + this portion does not require the dojox.gfx package, but is limited to CSS-based styling. +
+ +
+ Scale= 2.34, 5.67, and 8.90:
+
+
+
+
+
+
+ I Am Some inline text.
lorem ipsum.
+
A Transparent .png: (url unavailable in release versions, need build-utils package, or svn)
+
+
+
Programatic: (destroy() removes this.domNode)
+
+
+
+
+
+
+
+
Remote file (GTA:LCS/psp map):
+
+
+
Everybody loves Zelda:
+
+