Piggy 0.5.0.0 → 0.5.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.txt +31 -0
- data/README.txt +3 -5
- data/lib/icons/gallery.jpg +0 -0
- data/lib/piggy-core/album.rb +8 -0
- data/lib/piggy-core/exifr_adapter.rb +10 -2
- data/lib/piggy-core/file_info.rb +6 -1
- data/lib/piggy-core/options.rb +21 -3
- data/lib/piggy-core/rmagick_thumbnail_page_generator.rb +8 -7
- data/lib/piggy-core/thumbnail_generator.rb +1 -1
- data/lib/piggy-core/thumbnail_page_generator.rb +12 -4
- data/lib/piggy-core/version.rb +2 -2
- data/lib/piggy-gui/directory_diff_widget.rb +12 -8
- data/lib/piggy-gui/filtered_file_list.rb +6 -1
- data/lib/piggy-gui/ftp_browser_widget.rb +4 -3
- data/lib/piggy-gui/html_generation_dialog.rb +2 -0
- data/lib/piggy-gui/html_options_widget.rb +27 -4
- data/lib/piggy-gui/image_processor.rb +3 -2
- data/lib/piggy-gui/options_dialog.rb +52 -13
- data/lib/piggy-gui/piggy_image_browser.rb +134 -15
- data/lib/templates/PiggyFX.jar +0 -0
- data/lib/templates/PiggyFX.jnlp +2 -2
- data/lib/templates/PiggyFX_browser.jnlp +2 -2
- data/lib/templates/javafx.htm +2 -2
- data/lib/templates/slideshow.htm +12 -3
- data/lib/templates/slideshow.js +5 -0
- data/lib/templates/styles/candle/kerze-160x213.png +0 -0
- data/lib/templates/styles/candle/style.css +73 -0
- data/lib/templates/styles/cappuccinoheart/cappuccino-300x225.png +0 -0
- data/lib/templates/styles/cappuccinoheart/cappuccinoheart-80x81.png +0 -0
- data/lib/templates/styles/cappuccinoheart/style.css +81 -0
- data/lib/templates/styles/feuerzangenbowle/feuerzangenbowle.jpg +0 -0
- data/lib/templates/styles/feuerzangenbowle/sh.png +0 -0
- data/lib/templates/styles/feuerzangenbowle/style.css +79 -0
- data/lib/templates/styles/glitterballs/christbaum-detail.png +0 -0
- data/lib/templates/styles/glitterballs/christbaumkugel-120x155-multi.png +0 -0
- data/lib/templates/styles/glitterballs/christbaumkugel-120x155.png +0 -0
- data/lib/templates/styles/glitterballs/style.css +86 -0
- data/lib/templates/styles/qualle/qualle.jpg +0 -0
- data/lib/templates/styles/qualle/style.css +73 -0
- data/lib/templates/styles/snow/sitzgruppe-im-schnee-300x225.png +0 -0
- data/lib/templates/styles/snow/style.css +76 -0
- data/lib/templates/styles/snowman/snowman.png +0 -0
- data/lib/templates/styles/snowman/style.css +73 -0
- data/lib/templates/styles/snowwoman/snowwomen.png +0 -0
- data/lib/templates/styles/snowwoman/style.css +73 -0
- data/lib/templates/styles/sylvester/fireworks.png +0 -0
- data/lib/templates/styles/sylvester/gluecksklee-375x500.png +0 -0
- data/lib/templates/styles/sylvester/style.css +7 -9
- data/lib/templates/styles/sylvester/wunderkerze.gif +0 -0
- metadata +64 -33
- data/lib/templates/styles/sylvester/wunderkerze.jpg +0 -0
data/lib/templates/PiggyFX.jnlp
CHANGED
@@ -14,8 +14,8 @@
|
|
14
14
|
<all-permissions/>
|
15
15
|
</security>
|
16
16
|
<resources>
|
17
|
-
<j2se version="1.
|
18
|
-
<extension name="JavaFX Runtime" href="http://dl.javafx.com/1.
|
17
|
+
<j2se version="1.6+"/>
|
18
|
+
<extension name="JavaFX Runtime" href="http://dl.javafx.com/1.3/javafx-rt.jnlp"/>
|
19
19
|
<jar href="PiggyFX.jar" main="true"/>
|
20
20
|
</resources>
|
21
21
|
<application-desc main-class="piggyfx.Main">
|
@@ -9,8 +9,8 @@
|
|
9
9
|
<offline-allowed/>
|
10
10
|
</information>
|
11
11
|
<resources>
|
12
|
-
<j2se version="1.
|
13
|
-
<extension name="JavaFX Runtime" href="http://dl.javafx.com/1.
|
12
|
+
<j2se version="1.6+"/>
|
13
|
+
<extension name="JavaFX Runtime" href="http://dl.javafx.com/1.3/javafx-rt.jnlp"/>
|
14
14
|
<jar href="PiggyFX.jar" main="true"/>
|
15
15
|
</resources>
|
16
16
|
<applet-desc name="PiggyFX" main-class="com.sun.javafx.runtime.adapter.Applet" width="@WIDTH@" height="@HEIGHT@">
|
data/lib/templates/javafx.htm
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
</head>
|
8
8
|
<body id="body" style="background:black;margin:0;padding:0;" >
|
9
9
|
<center>
|
10
|
-
<script src="http://dl.javafx.com/1.
|
10
|
+
<script src="http://dl.javafx.com/1.3/dtfx.js"></script>
|
11
11
|
<script>
|
12
12
|
javafx(
|
13
13
|
{
|
@@ -27,7 +27,7 @@
|
|
27
27
|
</script>
|
28
28
|
<noscript>
|
29
29
|
The slideshow only loads with active Javascript and Java.<br>
|
30
|
-
(Java 6 Update
|
30
|
+
(Java 6 Update 22 or newer is recommended.)
|
31
31
|
</noscript>
|
32
32
|
</center>
|
33
33
|
</body>
|
data/lib/templates/slideshow.htm
CHANGED
@@ -25,18 +25,27 @@
|
|
25
25
|
<!--
|
26
26
|
SLIDES = new slideshow("SLIDES");
|
27
27
|
SLIDES.timeout = 5000;
|
28
|
-
SLIDES.prefetch =
|
28
|
+
SLIDES.prefetch = 1;
|
29
29
|
SLIDES.repeat = true;
|
30
30
|
|
31
|
+
var location_params = document.location.search;
|
32
|
+
var search_args = location_params.substring(1, location_params.length);
|
33
|
+
var filename = unescape(search_args);
|
34
|
+
var start_index = 0;
|
35
|
+
|
31
36
|
for(var i in images)
|
32
37
|
{
|
33
38
|
s = images[i];
|
39
|
+
if(filename == s.src){
|
40
|
+
start_index = i;
|
41
|
+
}
|
34
42
|
s.link = "index.htm";
|
35
43
|
s.target = "";
|
36
44
|
s.attr = "";
|
37
45
|
s.filter = "";
|
38
46
|
SLIDES.add_slide(s);
|
39
47
|
}
|
48
|
+
|
40
49
|
var playing = 1;
|
41
50
|
function togglePlay(){
|
42
51
|
if(playing) {
|
@@ -111,9 +120,9 @@ if (nodivtext) {
|
|
111
120
|
document.getElementById("box").className = 'shown';
|
112
121
|
|
113
122
|
if (document.images) {
|
114
|
-
SLIDES.image = document.images.SLIDESIMG;
|
115
123
|
SLIDES.textid = "SLIDESTEXT";
|
116
|
-
SLIDES.
|
124
|
+
SLIDES.image = document.images.SLIDESIMG;
|
125
|
+
SLIDES.goto_slide(start_index);
|
117
126
|
SLIDES.play();
|
118
127
|
}
|
119
128
|
//-->
|
data/lib/templates/slideshow.js
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
/*==================================================*
|
2
2
|
$Id: slideshow.js,v 1.16 2003/10/14 12:39:00 pat Exp $
|
3
|
+
Changed 10.01.2011 by piggy development team
|
3
4
|
Copyright 2000-2003 Patrick Fitzgerald
|
4
5
|
http://slideshow.barelyfitz.com/
|
5
6
|
|
@@ -603,6 +604,7 @@ function slideshow( slideshowname ) {
|
|
603
604
|
// then do not advance to the next slide yet.
|
604
605
|
|
605
606
|
// Make sure the next slide image has finished loading
|
607
|
+
/*
|
606
608
|
if (this.current < this.slides.length - 1) {
|
607
609
|
next_slide = this.slides[this.current + 1];
|
608
610
|
if (next_slide.image.complete == null || next_slide.image.complete) {
|
@@ -611,6 +613,9 @@ function slideshow( slideshowname ) {
|
|
611
613
|
} else { // we're at the last slide
|
612
614
|
this.next();
|
613
615
|
}
|
616
|
+
*/
|
617
|
+
// Changed 10.01.2011 by piggy development team
|
618
|
+
this.next();
|
614
619
|
|
615
620
|
// Keep playing the slideshow
|
616
621
|
this.play( );
|
Binary file
|
@@ -0,0 +1,73 @@
|
|
1
|
+
body {
|
2
|
+
text-align: center;
|
3
|
+
color: white;
|
4
|
+
background: black url(kerze-160x213.png) bottom left repeat-x;
|
5
|
+
}
|
6
|
+
|
7
|
+
body.thumbs {
|
8
|
+
background: black url(kerze-160x213.png) repeat-y;
|
9
|
+
}
|
10
|
+
|
11
|
+
a {
|
12
|
+
color:#e19333;
|
13
|
+
}
|
14
|
+
|
15
|
+
#toslides span {
|
16
|
+
margin-left: 1.2em;
|
17
|
+
padding: 0.1em;
|
18
|
+
}
|
19
|
+
|
20
|
+
.image_page a {
|
21
|
+
margin: 10px;
|
22
|
+
}
|
23
|
+
|
24
|
+
.thumbs dl.table {
|
25
|
+
padding-left: 170px;
|
26
|
+
}
|
27
|
+
|
28
|
+
div {
|
29
|
+
margin:0;
|
30
|
+
padding:0;
|
31
|
+
}
|
32
|
+
|
33
|
+
dl, table.table {
|
34
|
+
margin-left: auto;
|
35
|
+
margin-right: auto;
|
36
|
+
}
|
37
|
+
|
38
|
+
dd {
|
39
|
+
margin: 0px;
|
40
|
+
padding: 0;
|
41
|
+
width: 116px;
|
42
|
+
height: 116px;
|
43
|
+
float: left;
|
44
|
+
vertical-align: middle;
|
45
|
+
text-align: center;
|
46
|
+
}
|
47
|
+
|
48
|
+
.thumb p {
|
49
|
+
margin:0;
|
50
|
+
padding:0;
|
51
|
+
}
|
52
|
+
|
53
|
+
.thumb p a {
|
54
|
+
display: block;
|
55
|
+
padding: 0px;
|
56
|
+
padding-right: 6px;
|
57
|
+
padding-bottom: 6px;
|
58
|
+
}
|
59
|
+
|
60
|
+
img {
|
61
|
+
border: solid #e19333 3px;
|
62
|
+
border-right: solid #d95711 3px;
|
63
|
+
border-bottom: solid #d95711 3px;
|
64
|
+
}
|
65
|
+
|
66
|
+
.image_page img {
|
67
|
+
max-width: 100%;
|
68
|
+
}
|
69
|
+
|
70
|
+
/* IE 6 image height */
|
71
|
+
* html .thumb p a {
|
72
|
+
padding-bottom: 2px;
|
73
|
+
}
|
Binary file
|
Binary file
|
@@ -0,0 +1,81 @@
|
|
1
|
+
body {
|
2
|
+
text-align: center;
|
3
|
+
color: white;
|
4
|
+
background: #28130e url(cappuccino-300x225.png) bottom left repeat-x;
|
5
|
+
padding-bottom: 120px;
|
6
|
+
}
|
7
|
+
|
8
|
+
body.thumbs {
|
9
|
+
background: #28130e url(cappuccinoheart-80x81.png);
|
10
|
+
}
|
11
|
+
|
12
|
+
a {
|
13
|
+
color:#e19333;
|
14
|
+
}
|
15
|
+
|
16
|
+
#toslides span {
|
17
|
+
margin-left: 1.2em;
|
18
|
+
padding: 0.1em;
|
19
|
+
}
|
20
|
+
|
21
|
+
.navigation span, .comment p {
|
22
|
+
display: inline;
|
23
|
+
border: solid 4px #211f20;
|
24
|
+
background: #211f20;
|
25
|
+
}
|
26
|
+
|
27
|
+
.image_page a {
|
28
|
+
margin: 10px;
|
29
|
+
}
|
30
|
+
|
31
|
+
.thumbs dl.table {
|
32
|
+
padding-left: 72px;
|
33
|
+
}
|
34
|
+
|
35
|
+
div {
|
36
|
+
margin:0;
|
37
|
+
padding:0;
|
38
|
+
}
|
39
|
+
|
40
|
+
dl, table.table {
|
41
|
+
margin-left: auto;
|
42
|
+
margin-right: auto;
|
43
|
+
}
|
44
|
+
|
45
|
+
dd {
|
46
|
+
margin: 0px;
|
47
|
+
padding: 10px;
|
48
|
+
width: 106px;
|
49
|
+
height: 116px;
|
50
|
+
float: left;
|
51
|
+
vertical-align: middle;
|
52
|
+
text-align: center;
|
53
|
+
background: #28130e;
|
54
|
+
}
|
55
|
+
|
56
|
+
.thumb p {
|
57
|
+
margin:0;
|
58
|
+
padding:0;
|
59
|
+
}
|
60
|
+
|
61
|
+
.thumb p a {
|
62
|
+
display: block;
|
63
|
+
padding: 0px;
|
64
|
+
padding-right: 6px;
|
65
|
+
padding-bottom: 6px;
|
66
|
+
}
|
67
|
+
|
68
|
+
img {
|
69
|
+
border: solid #e19333 3px;
|
70
|
+
border-right: solid #d95711 3px;
|
71
|
+
border-bottom: solid #d95711 3px;
|
72
|
+
}
|
73
|
+
|
74
|
+
.image_page img {
|
75
|
+
max-width: 100%;
|
76
|
+
}
|
77
|
+
|
78
|
+
/* IE 6 image height */
|
79
|
+
* html .thumb p a {
|
80
|
+
padding-bottom: 2px;
|
81
|
+
}
|
Binary file
|
Binary file
|
@@ -0,0 +1,79 @@
|
|
1
|
+
body {
|
2
|
+
text-align: center;
|
3
|
+
color: white;
|
4
|
+
background: black;
|
5
|
+
}
|
6
|
+
|
7
|
+
body.thumbs {
|
8
|
+
background: black url(feuerzangenbowle.jpg) no-repeat 660px bottom;
|
9
|
+
min-height:600px; /* improves Opera 9 image positioning */
|
10
|
+
}
|
11
|
+
|
12
|
+
a {
|
13
|
+
color:yellow;
|
14
|
+
}
|
15
|
+
|
16
|
+
#toslides span {
|
17
|
+
margin-left: 1.2em;
|
18
|
+
padding: 0.1em;
|
19
|
+
}
|
20
|
+
|
21
|
+
.image_page a {
|
22
|
+
margin: 10px;
|
23
|
+
}
|
24
|
+
|
25
|
+
.thumbs dl.table {
|
26
|
+
padding-left: 84px;
|
27
|
+
}
|
28
|
+
|
29
|
+
div {
|
30
|
+
margin:0;
|
31
|
+
padding:0;
|
32
|
+
}
|
33
|
+
|
34
|
+
dl, table.table {
|
35
|
+
margin-left: auto;
|
36
|
+
margin-right: auto;
|
37
|
+
max-width: 600px;
|
38
|
+
}
|
39
|
+
|
40
|
+
/* no max-width in IE < 7 */
|
41
|
+
* html dl {
|
42
|
+
width: 600px;
|
43
|
+
}
|
44
|
+
|
45
|
+
dd {
|
46
|
+
margin: 0px;
|
47
|
+
padding: 0;
|
48
|
+
width: 108px;
|
49
|
+
height: 108px;
|
50
|
+
background: url(sh.png) -20px -25px;
|
51
|
+
float: left;
|
52
|
+
vertical-align: middle;
|
53
|
+
text-align: center;
|
54
|
+
}
|
55
|
+
|
56
|
+
.thumb p {
|
57
|
+
margin:0;
|
58
|
+
padding:0;
|
59
|
+
}
|
60
|
+
|
61
|
+
.thumb p a {
|
62
|
+
display: block;
|
63
|
+
padding: 0px;
|
64
|
+
padding-right: 6px;
|
65
|
+
padding-bottom: 6px;
|
66
|
+
}
|
67
|
+
|
68
|
+
.thumb p a img {
|
69
|
+
border: solid gray 1px;
|
70
|
+
}
|
71
|
+
|
72
|
+
.image_page img {
|
73
|
+
max-width: 100%;
|
74
|
+
}
|
75
|
+
|
76
|
+
/* IE 6 image height */
|
77
|
+
* html .thumb p a {
|
78
|
+
padding-bottom: 2px;
|
79
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,86 @@
|
|
1
|
+
body {
|
2
|
+
text-align: center;
|
3
|
+
color: white;
|
4
|
+
background: #211f20 url(christbaumkugel-120x155-multi.png);
|
5
|
+
}
|
6
|
+
|
7
|
+
body.thumbs {
|
8
|
+
background: black url(christbaum-detail.png) no-repeat top right;
|
9
|
+
min-height:600px; /* improves Opera 9 image positioning */
|
10
|
+
}
|
11
|
+
|
12
|
+
a {
|
13
|
+
color:yellow;
|
14
|
+
}
|
15
|
+
|
16
|
+
#toslides span {
|
17
|
+
margin-left: 1.2em;
|
18
|
+
padding: 0.1em;
|
19
|
+
}
|
20
|
+
|
21
|
+
.image_page div.navigation span {
|
22
|
+
border: solid 10px #211f20;
|
23
|
+
}
|
24
|
+
|
25
|
+
.image_page div.navigation span, form {
|
26
|
+
background: #211f20;
|
27
|
+
}
|
28
|
+
|
29
|
+
.image_page a {
|
30
|
+
margin: 10px;
|
31
|
+
}
|
32
|
+
|
33
|
+
div {
|
34
|
+
margin:0;
|
35
|
+
padding:0;
|
36
|
+
}
|
37
|
+
|
38
|
+
dl, table.table {
|
39
|
+
margin-left: auto;
|
40
|
+
margin-right: auto;
|
41
|
+
padding: 14px;
|
42
|
+
padding-left: 60px;
|
43
|
+
padding-right: 200px;
|
44
|
+
}
|
45
|
+
|
46
|
+
/* no max-width in IE < 7 */
|
47
|
+
* html dl {
|
48
|
+
width: 800px;
|
49
|
+
}
|
50
|
+
|
51
|
+
dd {
|
52
|
+
margin: 0px;
|
53
|
+
padding: 0;
|
54
|
+
width: 158px;
|
55
|
+
height: 158px;
|
56
|
+
background: url(christbaumkugel-120x155.png) no-repeat 24px -28px;
|
57
|
+
float: left;
|
58
|
+
vertical-align: middle;
|
59
|
+
text-align: center;
|
60
|
+
}
|
61
|
+
|
62
|
+
.thumb p {
|
63
|
+
margin:0;
|
64
|
+
padding:0;
|
65
|
+
}
|
66
|
+
|
67
|
+
.thumb p a {
|
68
|
+
display: block;
|
69
|
+
padding: 0px;
|
70
|
+
padding-right: 6px;
|
71
|
+
padding-bottom: 6px;
|
72
|
+
}
|
73
|
+
|
74
|
+
.thumb p a img {
|
75
|
+
border: solid gray 1px;
|
76
|
+
}
|
77
|
+
|
78
|
+
.image_page img, .nologo img {
|
79
|
+
border: solid 20px #211f20;
|
80
|
+
max-width: 100%;
|
81
|
+
}
|
82
|
+
|
83
|
+
/* IE 6 image height */
|
84
|
+
* html .thumb p a {
|
85
|
+
padding-bottom: 2px;
|
86
|
+
}
|