Spaces:
Running
Running
Upload 13 files
Browse files- data-filenames.js +0 -0
- data-filenames.json +0 -0
- data-hf-images.js +65 -0
- data-hf-images.json +66 -1
- data-hf-uploaded.js +0 -0
- data-hf-uploaded.json +0 -0
- data-huggingface.js +0 -0
- data-huggingface.json +0 -0
- data-unique-people.json +3 -8
- gallery.html +1022 -1018
- index.html +40 -1
data-filenames.js
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data-filenames.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data-hf-images.js
CHANGED
|
@@ -1052,6 +1052,28 @@ const hfImages = {
|
|
| 1052 |
"framework": "Klein9"
|
| 1053 |
}
|
| 1054 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1055 |
"LTX": [
|
| 1056 |
{
|
| 1057 |
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/ltx/ltx2_feliciaday_00001_.png",
|
|
@@ -1180,6 +1202,28 @@ const hfImages = {
|
|
| 1180 |
"framework": "Klein9"
|
| 1181 |
}
|
| 1182 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1183 |
"WAN": [
|
| 1184 |
{
|
| 1185 |
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/wan/wan_gilliananderson_00001_.png",
|
|
@@ -26722,6 +26766,18 @@ const hfImages = {
|
|
| 26722 |
"framework": "Ideogram4"
|
| 26723 |
}
|
| 26724 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26725 |
"WAN": [
|
| 26726 |
{
|
| 26727 |
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/wan/wan_klaudiajachira_00001_.png",
|
|
@@ -41288,6 +41344,15 @@ const hfImages = {
|
|
| 41288 |
}
|
| 41289 |
]
|
| 41290 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41291 |
"aarontaylorjohnson": {
|
| 41292 |
"WAN": [
|
| 41293 |
{
|
|
|
|
| 1052 |
"framework": "Klein9"
|
| 1053 |
}
|
| 1054 |
],
|
| 1055 |
+
"Krea2": [
|
| 1056 |
+
{
|
| 1057 |
+
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/krea2/krea2_feliciaday_00001_.png",
|
| 1058 |
+
"filename": "krea2_feliciaday_00001_.png",
|
| 1059 |
+
"framework": "Krea2"
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/krea2/krea2_feliciaday_00002_.png",
|
| 1063 |
+
"filename": "krea2_feliciaday_00002_.png",
|
| 1064 |
+
"framework": "Krea2"
|
| 1065 |
+
},
|
| 1066 |
+
{
|
| 1067 |
+
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/krea2/krea2_feliciaday_00003_.png",
|
| 1068 |
+
"filename": "krea2_feliciaday_00003_.png",
|
| 1069 |
+
"framework": "Krea2"
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/krea2/krea2_feliciaday_00004_.png",
|
| 1073 |
+
"filename": "krea2_feliciaday_00004_.png",
|
| 1074 |
+
"framework": "Krea2"
|
| 1075 |
+
}
|
| 1076 |
+
],
|
| 1077 |
"LTX": [
|
| 1078 |
{
|
| 1079 |
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/ltx/ltx2_feliciaday_00001_.png",
|
|
|
|
| 1202 |
"framework": "Klein9"
|
| 1203 |
}
|
| 1204 |
],
|
| 1205 |
+
"Krea2": [
|
| 1206 |
+
{
|
| 1207 |
+
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/krea2/krea2_gilliananderson_00001_.png",
|
| 1208 |
+
"filename": "krea2_gilliananderson_00001_.png",
|
| 1209 |
+
"framework": "Krea2"
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/krea2/krea2_gilliananderson_00002_.png",
|
| 1213 |
+
"filename": "krea2_gilliananderson_00002_.png",
|
| 1214 |
+
"framework": "Krea2"
|
| 1215 |
+
},
|
| 1216 |
+
{
|
| 1217 |
+
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/krea2/krea2_gilliananderson_00003_.png",
|
| 1218 |
+
"filename": "krea2_gilliananderson_00003_.png",
|
| 1219 |
+
"framework": "Krea2"
|
| 1220 |
+
},
|
| 1221 |
+
{
|
| 1222 |
+
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/krea2/krea2_gilliananderson_00004_.png",
|
| 1223 |
+
"filename": "krea2_gilliananderson_00004_.png",
|
| 1224 |
+
"framework": "Krea2"
|
| 1225 |
+
}
|
| 1226 |
+
],
|
| 1227 |
"WAN": [
|
| 1228 |
{
|
| 1229 |
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/wan/wan_gilliananderson_00001_.png",
|
|
|
|
| 26766 |
"framework": "Ideogram4"
|
| 26767 |
}
|
| 26768 |
],
|
| 26769 |
+
"Krea2": [
|
| 26770 |
+
{
|
| 26771 |
+
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/krea2/krea2_klaudiajachira_00001_.png",
|
| 26772 |
+
"filename": "krea2_klaudiajachira_00001_.png",
|
| 26773 |
+
"framework": "Krea2"
|
| 26774 |
+
},
|
| 26775 |
+
{
|
| 26776 |
+
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/krea2/krea2_klaudiajachira_00002_.png",
|
| 26777 |
+
"filename": "krea2_klaudiajachira_00002_.png",
|
| 26778 |
+
"framework": "Krea2"
|
| 26779 |
+
}
|
| 26780 |
+
],
|
| 26781 |
"WAN": [
|
| 26782 |
{
|
| 26783 |
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/wan/wan_klaudiajachira_00001_.png",
|
|
|
|
| 41344 |
}
|
| 41345 |
]
|
| 41346 |
},
|
| 41347 |
+
"krea2feliciaday": {
|
| 41348 |
+
"Krea2": [
|
| 41349 |
+
{
|
| 41350 |
+
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/krea2/krea2_krea2_feliciaday_00001_.png",
|
| 41351 |
+
"filename": "krea2_krea2_feliciaday_00001_.png",
|
| 41352 |
+
"framework": "Krea2"
|
| 41353 |
+
}
|
| 41354 |
+
]
|
| 41355 |
+
},
|
| 41356 |
"aarontaylorjohnson": {
|
| 41357 |
"WAN": [
|
| 41358 |
{
|
data-hf-images.json
CHANGED
|
@@ -1052,6 +1052,28 @@
|
|
| 1052 |
"framework": "Klein9"
|
| 1053 |
}
|
| 1054 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1055 |
"LTX": [
|
| 1056 |
{
|
| 1057 |
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/ltx/ltx2_feliciaday_00001_.png",
|
|
@@ -1180,6 +1202,28 @@
|
|
| 1180 |
"framework": "Klein9"
|
| 1181 |
}
|
| 1182 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1183 |
"WAN": [
|
| 1184 |
{
|
| 1185 |
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/wan/wan_gilliananderson_00001_.png",
|
|
@@ -26722,6 +26766,18 @@
|
|
| 26722 |
"framework": "Ideogram4"
|
| 26723 |
}
|
| 26724 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26725 |
"WAN": [
|
| 26726 |
{
|
| 26727 |
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/wan/wan_klaudiajachira_00001_.png",
|
|
@@ -41288,6 +41344,15 @@
|
|
| 41288 |
}
|
| 41289 |
]
|
| 41290 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41291 |
"aarontaylorjohnson": {
|
| 41292 |
"WAN": [
|
| 41293 |
{
|
|
@@ -43515,4 +43580,4 @@
|
|
| 43515 |
}
|
| 43516 |
]
|
| 43517 |
}
|
| 43518 |
-
}
|
|
|
|
| 1052 |
"framework": "Klein9"
|
| 1053 |
}
|
| 1054 |
],
|
| 1055 |
+
"Krea2": [
|
| 1056 |
+
{
|
| 1057 |
+
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/krea2/krea2_feliciaday_00001_.png",
|
| 1058 |
+
"filename": "krea2_feliciaday_00001_.png",
|
| 1059 |
+
"framework": "Krea2"
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/krea2/krea2_feliciaday_00002_.png",
|
| 1063 |
+
"filename": "krea2_feliciaday_00002_.png",
|
| 1064 |
+
"framework": "Krea2"
|
| 1065 |
+
},
|
| 1066 |
+
{
|
| 1067 |
+
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/krea2/krea2_feliciaday_00003_.png",
|
| 1068 |
+
"filename": "krea2_feliciaday_00003_.png",
|
| 1069 |
+
"framework": "Krea2"
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/krea2/krea2_feliciaday_00004_.png",
|
| 1073 |
+
"filename": "krea2_feliciaday_00004_.png",
|
| 1074 |
+
"framework": "Krea2"
|
| 1075 |
+
}
|
| 1076 |
+
],
|
| 1077 |
"LTX": [
|
| 1078 |
{
|
| 1079 |
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/ltx/ltx2_feliciaday_00001_.png",
|
|
|
|
| 1202 |
"framework": "Klein9"
|
| 1203 |
}
|
| 1204 |
],
|
| 1205 |
+
"Krea2": [
|
| 1206 |
+
{
|
| 1207 |
+
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/krea2/krea2_gilliananderson_00001_.png",
|
| 1208 |
+
"filename": "krea2_gilliananderson_00001_.png",
|
| 1209 |
+
"framework": "Krea2"
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/krea2/krea2_gilliananderson_00002_.png",
|
| 1213 |
+
"filename": "krea2_gilliananderson_00002_.png",
|
| 1214 |
+
"framework": "Krea2"
|
| 1215 |
+
},
|
| 1216 |
+
{
|
| 1217 |
+
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/krea2/krea2_gilliananderson_00003_.png",
|
| 1218 |
+
"filename": "krea2_gilliananderson_00003_.png",
|
| 1219 |
+
"framework": "Krea2"
|
| 1220 |
+
},
|
| 1221 |
+
{
|
| 1222 |
+
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/krea2/krea2_gilliananderson_00004_.png",
|
| 1223 |
+
"filename": "krea2_gilliananderson_00004_.png",
|
| 1224 |
+
"framework": "Krea2"
|
| 1225 |
+
}
|
| 1226 |
+
],
|
| 1227 |
"WAN": [
|
| 1228 |
{
|
| 1229 |
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/wan/wan_gilliananderson_00001_.png",
|
|
|
|
| 26766 |
"framework": "Ideogram4"
|
| 26767 |
}
|
| 26768 |
],
|
| 26769 |
+
"Krea2": [
|
| 26770 |
+
{
|
| 26771 |
+
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/krea2/krea2_klaudiajachira_00001_.png",
|
| 26772 |
+
"filename": "krea2_klaudiajachira_00001_.png",
|
| 26773 |
+
"framework": "Krea2"
|
| 26774 |
+
},
|
| 26775 |
+
{
|
| 26776 |
+
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/krea2/krea2_klaudiajachira_00002_.png",
|
| 26777 |
+
"filename": "krea2_klaudiajachira_00002_.png",
|
| 26778 |
+
"framework": "Krea2"
|
| 26779 |
+
}
|
| 26780 |
+
],
|
| 26781 |
"WAN": [
|
| 26782 |
{
|
| 26783 |
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/wan/wan_klaudiajachira_00001_.png",
|
|
|
|
| 41344 |
}
|
| 41345 |
]
|
| 41346 |
},
|
| 41347 |
+
"krea2feliciaday": {
|
| 41348 |
+
"Krea2": [
|
| 41349 |
+
{
|
| 41350 |
+
"url": "https://huggingface.co/datasets/malcolmrey/samples/resolve/main/krea2/krea2_krea2_feliciaday_00001_.png",
|
| 41351 |
+
"filename": "krea2_krea2_feliciaday_00001_.png",
|
| 41352 |
+
"framework": "Krea2"
|
| 41353 |
+
}
|
| 41354 |
+
]
|
| 41355 |
+
},
|
| 41356 |
"aarontaylorjohnson": {
|
| 41357 |
"WAN": [
|
| 41358 |
{
|
|
|
|
| 43580 |
}
|
| 43581 |
]
|
| 43582 |
}
|
| 43583 |
+
}
|
data-hf-uploaded.js
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data-hf-uploaded.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data-huggingface.js
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data-huggingface.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data-unique-people.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"_metadata": {
|
| 3 |
-
"generated": "2026-06-
|
| 4 |
-
"totalPeople":
|
| 5 |
},
|
| 6 |
"people": [
|
| 7 |
"aaliyah",
|
|
@@ -232,10 +232,7 @@
|
|
| 232 |
"biancablanchard",
|
| 233 |
"biancacensori",
|
| 234 |
"billieeilish",
|
| 235 |
-
"billieeilishblonde",
|
| 236 |
-
"billieeilishblueblack",
|
| 237 |
"billieeilishgreen",
|
| 238 |
-
"billieeilishgrey",
|
| 239 |
"billielourd",
|
| 240 |
"billiepiper",
|
| 241 |
"billmurray",
|
|
@@ -303,9 +300,7 @@
|
|
| 303 |
"cathrinebell",
|
| 304 |
"catwoman",
|
| 305 |
"cbg",
|
| 306 |
-
"characterfuumakotarou",
|
| 307 |
"characterharold",
|
| 308 |
-
"charactermeredithstout",
|
| 309 |
"charismacarpenter",
|
| 310 |
"charlidamelio",
|
| 311 |
"charliecox",
|
|
@@ -1511,4 +1506,4 @@
|
|
| 1511 |
"zofiajastrzebska",
|
| 1512 |
"zuleikharobinson"
|
| 1513 |
]
|
| 1514 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
"_metadata": {
|
| 3 |
+
"generated": "2026-06-30T15:46:26.946Z",
|
| 4 |
+
"totalPeople": 1501
|
| 5 |
},
|
| 6 |
"people": [
|
| 7 |
"aaliyah",
|
|
|
|
| 232 |
"biancablanchard",
|
| 233 |
"biancacensori",
|
| 234 |
"billieeilish",
|
|
|
|
|
|
|
| 235 |
"billieeilishgreen",
|
|
|
|
| 236 |
"billielourd",
|
| 237 |
"billiepiper",
|
| 238 |
"billmurray",
|
|
|
|
| 300 |
"cathrinebell",
|
| 301 |
"catwoman",
|
| 302 |
"cbg",
|
|
|
|
| 303 |
"characterharold",
|
|
|
|
| 304 |
"charismacarpenter",
|
| 305 |
"charlidamelio",
|
| 306 |
"charliecox",
|
|
|
|
| 1506 |
"zofiajastrzebska",
|
| 1507 |
"zuleikharobinson"
|
| 1508 |
]
|
| 1509 |
+
}
|
gallery.html
CHANGED
|
@@ -1,1018 +1,1022 @@
|
|
| 1 |
-
<!DOCTYPE html>
|
| 2 |
-
<html lang="en">
|
| 3 |
-
<head>
|
| 4 |
-
<meta charset="utf-8" />
|
| 5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 6 |
-
<title>Samples Gallery</title>
|
| 7 |
-
<script type="text/javascript" src="data-hf-images.js"></script>
|
| 8 |
-
<script type="text/javascript" src="data-hf-uploaded.js"></script>
|
| 9 |
-
<script type="text/javascript" src="data-filenames.js"></script>
|
| 10 |
-
<script type="text/javascript" src="data-thumbnails.js"></script>
|
| 11 |
-
<script type="text/javascript" src="data-civitai.js"></script>
|
| 12 |
-
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 13 |
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 14 |
-
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
| 15 |
-
<style>
|
| 16 |
-
:root {
|
| 17 |
-
--bg-gradient-start: #0f172a;
|
| 18 |
-
--bg-gradient-end: #1e293b;
|
| 19 |
-
--text-primary: #f1f5f9;
|
| 20 |
-
--text-secondary: #94a3b8;
|
| 21 |
-
--text-muted: #64748b;
|
| 22 |
-
--link-color: #60a5fa;
|
| 23 |
-
--card-bg: rgba(30, 41, 59, 0.7);
|
| 24 |
-
--card-border: rgba(148, 163, 184, 0.1);
|
| 25 |
-
--input-bg: rgba(15, 23, 42, 0.6);
|
| 26 |
-
--input-border: rgba(148, 163, 184, 0.2);
|
| 27 |
-
--input-text: #e2e8f0;
|
| 28 |
-
--hover-bg: rgba(96, 165, 250, 0.2);
|
| 29 |
-
--modal-overlay: rgba(0, 0, 0, 0.85);
|
| 30 |
-
--shadow-color: rgba(0, 0, 0, 0.3);
|
| 31 |
-
}
|
| 32 |
-
|
| 33 |
-
[data-theme="light"] {
|
| 34 |
-
--bg-gradient-start: #f8fafc;
|
| 35 |
-
--bg-gradient-end: #e2e8f0;
|
| 36 |
-
--text-primary: #1e293b;
|
| 37 |
-
--text-secondary: #475569;
|
| 38 |
-
--text-muted: #64748b;
|
| 39 |
-
--link-color: #2563eb;
|
| 40 |
-
--card-bg: rgba(255, 255, 255, 0.9);
|
| 41 |
-
--card-border: rgba(148, 163, 184, 0.3);
|
| 42 |
-
--input-bg: rgba(255, 255, 255, 0.8);
|
| 43 |
-
--input-border: rgba(148, 163, 184, 0.4);
|
| 44 |
-
--input-text: #1e293b;
|
| 45 |
-
--hover-bg: rgba(37, 99, 235, 0.1);
|
| 46 |
-
--modal-overlay: rgba(0, 0, 0, 0.5);
|
| 47 |
-
--shadow-color: rgba(0, 0, 0, 0.1);
|
| 48 |
-
}
|
| 49 |
-
|
| 50 |
-
* { margin: 0; padding: 0; box-sizing: border-box; }
|
| 51 |
-
|
| 52 |
-
body {
|
| 53 |
-
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
| 54 |
-
background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
|
| 55 |
-
color: var(--text-primary);
|
| 56 |
-
min-height: 100vh;
|
| 57 |
-
padding: 20px;
|
| 58 |
-
}
|
| 59 |
-
|
| 60 |
-
a { text-decoration: none; color: var(--link-color); }
|
| 61 |
-
a:hover { color: #93c5fd; }
|
| 62 |
-
|
| 63 |
-
.header {
|
| 64 |
-
display: flex;
|
| 65 |
-
align-items: center;
|
| 66 |
-
gap: 16px;
|
| 67 |
-
margin-bottom: 24px;
|
| 68 |
-
flex-wrap: wrap;
|
| 69 |
-
}
|
| 70 |
-
|
| 71 |
-
.header h1 {
|
| 72 |
-
font-size: 1.5rem;
|
| 73 |
-
font-weight: 700;
|
| 74 |
-
background: linear-gradient(135deg, #60a5fa, #a78bfa);
|
| 75 |
-
-webkit-background-clip: text;
|
| 76 |
-
-webkit-text-fill-color: transparent;
|
| 77 |
-
}
|
| 78 |
-
|
| 79 |
-
.back-link {
|
| 80 |
-
font-size: 14px;
|
| 81 |
-
padding: 6px 12px;
|
| 82 |
-
border-radius: 8px;
|
| 83 |
-
background: var(--card-bg);
|
| 84 |
-
border: 1px solid var(--card-border);
|
| 85 |
-
}
|
| 86 |
-
|
| 87 |
-
.controls {
|
| 88 |
-
display: flex;
|
| 89 |
-
gap: 12px;
|
| 90 |
-
align-items: center;
|
| 91 |
-
flex-wrap: wrap;
|
| 92 |
-
margin-bottom: 24px;
|
| 93 |
-
padding: 16px;
|
| 94 |
-
background: var(--card-bg);
|
| 95 |
-
border: 1px solid var(--card-border);
|
| 96 |
-
border-radius: 12px;
|
| 97 |
-
}
|
| 98 |
-
|
| 99 |
-
.control-group {
|
| 100 |
-
display: flex;
|
| 101 |
-
flex-direction: column;
|
| 102 |
-
gap: 4px;
|
| 103 |
-
}
|
| 104 |
-
|
| 105 |
-
.control-group label {
|
| 106 |
-
font-size: 11px;
|
| 107 |
-
font-weight: 600;
|
| 108 |
-
text-transform: uppercase;
|
| 109 |
-
letter-spacing: 0.5px;
|
| 110 |
-
color: var(--text-muted);
|
| 111 |
-
}
|
| 112 |
-
|
| 113 |
-
select {
|
| 114 |
-
padding: 8px 12px;
|
| 115 |
-
border-radius: 8px;
|
| 116 |
-
border: 1px solid var(--input-border);
|
| 117 |
-
background: var(--input-bg);
|
| 118 |
-
color: var(--input-text);
|
| 119 |
-
font-size: 14px;
|
| 120 |
-
min-width: 160px;
|
| 121 |
-
cursor: pointer;
|
| 122 |
-
}
|
| 123 |
-
|
| 124 |
-
#searchInput {
|
| 125 |
-
padding: 8px 12px;
|
| 126 |
-
border-radius: 8px;
|
| 127 |
-
border: 1px solid var(--input-border);
|
| 128 |
-
background: var(--input-bg);
|
| 129 |
-
color: var(--input-text);
|
| 130 |
-
font-size: 14px;
|
| 131 |
-
min-width: 180px;
|
| 132 |
-
outline: none;
|
| 133 |
-
}
|
| 134 |
-
#searchInput:focus { border-color: var(--link-color); }
|
| 135 |
-
|
| 136 |
-
.stats-bar {
|
| 137 |
-
display: flex;
|
| 138 |
-
gap: 16px;
|
| 139 |
-
align-items: center;
|
| 140 |
-
margin-bottom: 16px;
|
| 141 |
-
font-size: 14px;
|
| 142 |
-
color: var(--text-secondary);
|
| 143 |
-
}
|
| 144 |
-
|
| 145 |
-
.stats-bar strong { color: var(--text-primary); }
|
| 146 |
-
|
| 147 |
-
.gallery-grid {
|
| 148 |
-
display: grid;
|
| 149 |
-
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
| 150 |
-
gap: 16px;
|
| 151 |
-
}
|
| 152 |
-
|
| 153 |
-
.gallery-card {
|
| 154 |
-
background: var(--card-bg);
|
| 155 |
-
border: 1px solid var(--card-border);
|
| 156 |
-
border-radius: 12px;
|
| 157 |
-
overflow: hidden;
|
| 158 |
-
cursor: pointer;
|
| 159 |
-
transition: transform 0.2s, box-shadow 0.2s;
|
| 160 |
-
}
|
| 161 |
-
|
| 162 |
-
.gallery-card:hover {
|
| 163 |
-
transform: translateY(-3px);
|
| 164 |
-
box-shadow: 0 8px 24px var(--shadow-color);
|
| 165 |
-
}
|
| 166 |
-
|
| 167 |
-
.gallery-card img {
|
| 168 |
-
width: 100%;
|
| 169 |
-
aspect-ratio: 3/4;
|
| 170 |
-
object-fit: cover;
|
| 171 |
-
display: block;
|
| 172 |
-
}
|
| 173 |
-
|
| 174 |
-
.gallery-card video {
|
| 175 |
-
width: 100%;
|
| 176 |
-
aspect-ratio: 3/4;
|
| 177 |
-
object-fit: cover;
|
| 178 |
-
display: block;
|
| 179 |
-
}
|
| 180 |
-
|
| 181 |
-
.gallery-card-info {
|
| 182 |
-
padding: 10px 12px;
|
| 183 |
-
display: flex;
|
| 184 |
-
flex-direction: column;
|
| 185 |
-
gap: 4px;
|
| 186 |
-
}
|
| 187 |
-
|
| 188 |
-
.gallery-card-name {
|
| 189 |
-
font-size: 13px;
|
| 190 |
-
font-weight: 600;
|
| 191 |
-
white-space: nowrap;
|
| 192 |
-
overflow: hidden;
|
| 193 |
-
text-overflow: ellipsis;
|
| 194 |
-
}
|
| 195 |
-
|
| 196 |
-
.gallery-card-meta {
|
| 197 |
-
font-size: 11px;
|
| 198 |
-
color: var(--text-muted);
|
| 199 |
-
white-space: nowrap;
|
| 200 |
-
overflow: hidden;
|
| 201 |
-
text-overflow: ellipsis;
|
| 202 |
-
}
|
| 203 |
-
|
| 204 |
-
.gallery-card-badge {
|
| 205 |
-
display: inline-block;
|
| 206 |
-
font-size: 10px;
|
| 207 |
-
font-weight: 600;
|
| 208 |
-
padding: 2px 8px;
|
| 209 |
-
border-radius: 8px;
|
| 210 |
-
text-transform: uppercase;
|
| 211 |
-
letter-spacing: 0.3px;
|
| 212 |
-
color: #fff;
|
| 213 |
-
background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
|
| 214 |
-
}
|
| 215 |
-
|
| 216 |
-
.gallery-card-badge[data-type="wan"] { background: linear-gradient(135deg, #dc2626, #f59e0b); }
|
| 217 |
-
.gallery-card-badge[data-type="flux"] { background: linear-gradient(135deg, #7c3aed, #c026d3); }
|
| 218 |
-
.gallery-card-badge[data-type="klein9"] { background: linear-gradient(135deg, #8b5cf6, #a855f7); }
|
| 219 |
-
.gallery-card-badge[data-type="ernie"] { background: linear-gradient(135deg, #be185d, #f472b6); }
|
| 220 |
-
.gallery-card-badge[data-type="ideogram4"] { background: linear-gradient(135deg, #d97706, #fbbf24); }
|
| 221 |
-
.gallery-card-badge[data-type="
|
| 222 |
-
.gallery-card-badge[data-type="
|
| 223 |
-
.gallery-card-badge[data-type="
|
| 224 |
-
.gallery-card-badge[data-type="
|
| 225 |
-
.gallery-card-badge[data-type="
|
| 226 |
-
.gallery-card-badge[data-type="
|
| 227 |
-
.gallery-card-badge[data-type="
|
| 228 |
-
.gallery-card-badge[data-type="
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
| 242 |
-
|
| 243 |
-
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
|
| 252 |
-
|
| 253 |
-
|
| 254 |
-
|
| 255 |
-
border
|
| 256 |
-
|
| 257 |
-
max-
|
| 258 |
-
|
| 259 |
-
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
|
| 264 |
-
|
| 265 |
-
|
| 266 |
-
|
| 267 |
-
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
|
| 271 |
-
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
font-
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
|
| 279 |
-
|
| 280 |
-
|
| 281 |
-
|
| 282 |
-
|
| 283 |
-
|
| 284 |
-
|
| 285 |
-
|
| 286 |
-
|
| 287 |
-
|
| 288 |
-
|
| 289 |
-
|
| 290 |
-
|
| 291 |
-
|
| 292 |
-
|
| 293 |
-
|
| 294 |
-
|
| 295 |
-
|
| 296 |
-
|
| 297 |
-
|
| 298 |
-
|
| 299 |
-
|
| 300 |
-
|
| 301 |
-
|
| 302 |
-
|
| 303 |
-
|
| 304 |
-
.modal-media-wrap
|
| 305 |
-
|
| 306 |
-
max-
|
| 307 |
-
|
| 308 |
-
|
| 309 |
-
|
| 310 |
-
|
| 311 |
-
|
| 312 |
-
|
| 313 |
-
|
| 314 |
-
|
| 315 |
-
|
| 316 |
-
|
| 317 |
-
|
| 318 |
-
|
| 319 |
-
|
| 320 |
-
|
| 321 |
-
|
| 322 |
-
|
| 323 |
-
|
| 324 |
-
|
| 325 |
-
|
| 326 |
-
|
| 327 |
-
|
| 328 |
-
|
| 329 |
-
.nav-btn
|
| 330 |
-
.nav-btn.
|
| 331 |
-
|
| 332 |
-
|
| 333 |
-
|
| 334 |
-
|
| 335 |
-
|
| 336 |
-
|
| 337 |
-
|
| 338 |
-
|
| 339 |
-
|
| 340 |
-
|
| 341 |
-
|
| 342 |
-
|
| 343 |
-
|
| 344 |
-
|
| 345 |
-
|
| 346 |
-
|
| 347 |
-
|
| 348 |
-
|
| 349 |
-
|
| 350 |
-
|
| 351 |
-
|
| 352 |
-
|
| 353 |
-
|
| 354 |
-
|
| 355 |
-
|
| 356 |
-
|
| 357 |
-
|
| 358 |
-
|
| 359 |
-
|
| 360 |
-
|
| 361 |
-
|
| 362 |
-
|
| 363 |
-
|
| 364 |
-
border:
|
| 365 |
-
|
| 366 |
-
|
| 367 |
-
|
| 368 |
-
|
| 369 |
-
|
| 370 |
-
|
| 371 |
-
|
| 372 |
-
|
| 373 |
-
|
| 374 |
-
|
| 375 |
-
|
| 376 |
-
|
| 377 |
-
|
| 378 |
-
|
| 379 |
-
|
| 380 |
-
|
| 381 |
-
|
| 382 |
-
|
| 383 |
-
|
| 384 |
-
|
| 385 |
-
|
| 386 |
-
|
| 387 |
-
|
| 388 |
-
|
| 389 |
-
|
| 390 |
-
|
| 391 |
-
|
| 392 |
-
|
| 393 |
-
|
| 394 |
-
|
| 395 |
-
|
| 396 |
-
.theme-toggle
|
| 397 |
-
.theme-toggle .
|
| 398 |
-
|
| 399 |
-
[data-theme="light"] .theme-toggle .
|
| 400 |
-
|
| 401 |
-
|
| 402 |
-
.pagination-
|
| 403 |
-
|
| 404 |
-
|
| 405 |
-
|
| 406 |
-
|
| 407 |
-
|
| 408 |
-
|
| 409 |
-
|
| 410 |
-
.pagination-
|
| 411 |
-
.pagination-buttons
|
| 412 |
-
.pagination-buttons .btn
|
| 413 |
-
.pagination-
|
| 414 |
-
.pagination-
|
| 415 |
-
|
| 416 |
-
</
|
| 417 |
-
<
|
| 418 |
-
|
| 419 |
-
|
| 420 |
-
<span class="
|
| 421 |
-
|
| 422 |
-
|
| 423 |
-
|
| 424 |
-
|
| 425 |
-
<
|
| 426 |
-
|
| 427 |
-
|
| 428 |
-
|
| 429 |
-
|
| 430 |
-
|
| 431 |
-
<
|
| 432 |
-
|
| 433 |
-
<div
|
| 434 |
-
|
| 435 |
-
<
|
| 436 |
-
|
| 437 |
-
<option value="
|
| 438 |
-
<option value="
|
| 439 |
-
<option value="
|
| 440 |
-
<option value="
|
| 441 |
-
<option value="
|
| 442 |
-
<option value="
|
| 443 |
-
<option value="
|
| 444 |
-
<option value="
|
| 445 |
-
<option value="
|
| 446 |
-
<option value="
|
| 447 |
-
<option value="
|
| 448 |
-
<option value="
|
| 449 |
-
<option value="
|
| 450 |
-
|
| 451 |
-
|
| 452 |
-
|
| 453 |
-
|
| 454 |
-
|
| 455 |
-
|
| 456 |
-
|
| 457 |
-
|
| 458 |
-
|
| 459 |
-
|
| 460 |
-
|
| 461 |
-
<option value="
|
| 462 |
-
<option value="
|
| 463 |
-
|
| 464 |
-
|
| 465 |
-
|
| 466 |
-
|
| 467 |
-
|
| 468 |
-
|
| 469 |
-
|
| 470 |
-
|
| 471 |
-
|
| 472 |
-
|
| 473 |
-
|
| 474 |
-
|
| 475 |
-
<
|
| 476 |
-
|
| 477 |
-
<div class="
|
| 478 |
-
<div class="pagination-bar" id="
|
| 479 |
-
<div class="
|
| 480 |
-
|
| 481 |
-
<
|
| 482 |
-
|
| 483 |
-
|
| 484 |
-
|
| 485 |
-
|
| 486 |
-
|
| 487 |
-
|
| 488 |
-
|
| 489 |
-
|
| 490 |
-
|
| 491 |
-
|
| 492 |
-
|
| 493 |
-
|
| 494 |
-
<
|
| 495 |
-
<
|
| 496 |
-
|
| 497 |
-
|
| 498 |
-
|
| 499 |
-
|
| 500 |
-
<
|
| 501 |
-
|
| 502 |
-
|
| 503 |
-
|
| 504 |
-
|
| 505 |
-
|
| 506 |
-
|
| 507 |
-
|
| 508 |
-
<
|
| 509 |
-
|
| 510 |
-
|
| 511 |
-
|
| 512 |
-
|
| 513 |
-
|
| 514 |
-
|
| 515 |
-
|
| 516 |
-
document.body.
|
| 517 |
-
}
|
| 518 |
-
|
| 519 |
-
|
| 520 |
-
|
| 521 |
-
|
| 522 |
-
|
| 523 |
-
|
| 524 |
-
|
| 525 |
-
|
| 526 |
-
|
| 527 |
-
|
| 528 |
-
|
| 529 |
-
const
|
| 530 |
-
const
|
| 531 |
-
const
|
| 532 |
-
|
| 533 |
-
const
|
| 534 |
-
|
| 535 |
-
|
| 536 |
-
|
| 537 |
-
|
| 538 |
-
|
| 539 |
-
|
| 540 |
-
|
| 541 |
-
|
| 542 |
-
|
| 543 |
-
|
| 544 |
-
|
| 545 |
-
|
| 546 |
-
|
| 547 |
-
|
| 548 |
-
|
| 549 |
-
|
| 550 |
-
|
| 551 |
-
|
| 552 |
-
|
| 553 |
-
'
|
| 554 |
-
'
|
| 555 |
-
'
|
| 556 |
-
'
|
| 557 |
-
'
|
| 558 |
-
'
|
| 559 |
-
'
|
| 560 |
-
'
|
| 561 |
-
'
|
| 562 |
-
'
|
| 563 |
-
|
| 564 |
-
|
| 565 |
-
|
| 566 |
-
|
| 567 |
-
|
| 568 |
-
|
| 569 |
-
|
| 570 |
-
let
|
| 571 |
-
let
|
| 572 |
-
|
| 573 |
-
|
| 574 |
-
|
| 575 |
-
|
| 576 |
-
|
| 577 |
-
|
| 578 |
-
|
| 579 |
-
|
| 580 |
-
|
| 581 |
-
|
| 582 |
-
|
| 583 |
-
|
| 584 |
-
|
| 585 |
-
|
| 586 |
-
|
| 587 |
-
|
| 588 |
-
|
| 589 |
-
const
|
| 590 |
-
const
|
| 591 |
-
|
| 592 |
-
|
| 593 |
-
|
| 594 |
-
|
| 595 |
-
|
| 596 |
-
|
| 597 |
-
|
| 598 |
-
|
| 599 |
-
|
| 600 |
-
|
| 601 |
-
|
| 602 |
-
|
| 603 |
-
|
| 604 |
-
|
| 605 |
-
|
| 606 |
-
|
| 607 |
-
|
| 608 |
-
|
| 609 |
-
|
| 610 |
-
|
| 611 |
-
|
| 612 |
-
|
| 613 |
-
|
| 614 |
-
|
| 615 |
-
|
| 616 |
-
|
| 617 |
-
|
| 618 |
-
|
| 619 |
-
|
| 620 |
-
|
| 621 |
-
|
| 622 |
-
|
| 623 |
-
|
| 624 |
-
|
| 625 |
-
|
| 626 |
-
|
| 627 |
-
|
| 628 |
-
|
| 629 |
-
|
| 630 |
-
|
| 631 |
-
|
| 632 |
-
|
| 633 |
-
|
| 634 |
-
|
| 635 |
-
|
| 636 |
-
|
| 637 |
-
|
| 638 |
-
|
| 639 |
-
|
| 640 |
-
|
| 641 |
-
|
| 642 |
-
|
| 643 |
-
|
| 644 |
-
|
| 645 |
-
|
| 646 |
-
|
| 647 |
-
|
| 648 |
-
};
|
| 649 |
-
|
| 650 |
-
|
| 651 |
-
|
| 652 |
-
|
| 653 |
-
|
| 654 |
-
|
| 655 |
-
|
| 656 |
-
|
| 657 |
-
|
| 658 |
-
const
|
| 659 |
-
return
|
| 660 |
-
|
| 661 |
-
|
| 662 |
-
|
| 663 |
-
|
| 664 |
-
|
| 665 |
-
|
| 666 |
-
|
| 667 |
-
|
| 668 |
-
|
| 669 |
-
|
| 670 |
-
|
| 671 |
-
|
| 672 |
-
|
| 673 |
-
|
| 674 |
-
|
| 675 |
-
|
| 676 |
-
|
| 677 |
-
|
| 678 |
-
|
| 679 |
-
|
| 680 |
-
}
|
| 681 |
-
|
| 682 |
-
|
| 683 |
-
|
| 684 |
-
|
| 685 |
-
|
| 686 |
-
|
| 687 |
-
|
| 688 |
-
|
| 689 |
-
|
| 690 |
-
|
| 691 |
-
|
| 692 |
-
|
| 693 |
-
|
| 694 |
-
|
| 695 |
-
|
| 696 |
-
|
| 697 |
-
|
| 698 |
-
|
| 699 |
-
|
| 700 |
-
|
| 701 |
-
|
| 702 |
-
|
| 703 |
-
|
| 704 |
-
|
| 705 |
-
|
| 706 |
-
|
| 707 |
-
|
| 708 |
-
|
| 709 |
-
|
| 710 |
-
|
| 711 |
-
|
| 712 |
-
|
| 713 |
-
|
| 714 |
-
|
| 715 |
-
|
| 716 |
-
|
| 717 |
-
|
| 718 |
-
|
| 719 |
-
|
| 720 |
-
|
| 721 |
-
|
| 722 |
-
|
| 723 |
-
|
| 724 |
-
const
|
| 725 |
-
|
| 726 |
-
|
| 727 |
-
|
| 728 |
-
|
| 729 |
-
|
| 730 |
-
|
| 731 |
-
|
| 732 |
-
|
| 733 |
-
|
| 734 |
-
|
| 735 |
-
if (
|
| 736 |
-
if (
|
| 737 |
-
if (
|
| 738 |
-
|
| 739 |
-
|
| 740 |
-
|
| 741 |
-
|
| 742 |
-
|
| 743 |
-
|
| 744 |
-
|
| 745 |
-
|
| 746 |
-
|
| 747 |
-
|
| 748 |
-
|
| 749 |
-
|
| 750 |
-
|
| 751 |
-
|
| 752 |
-
|
| 753 |
-
|
| 754 |
-
|
| 755 |
-
|
| 756 |
-
|
| 757 |
-
|
| 758 |
-
|
| 759 |
-
|
| 760 |
-
|
| 761 |
-
|
| 762 |
-
|
| 763 |
-
|
| 764 |
-
|
| 765 |
-
|
| 766 |
-
|
| 767 |
-
|
| 768 |
-
|
| 769 |
-
|
| 770 |
-
|
| 771 |
-
|
| 772 |
-
|
| 773 |
-
|
| 774 |
-
|
| 775 |
-
|
| 776 |
-
|
| 777 |
-
|
| 778 |
-
|
| 779 |
-
|
| 780 |
-
|
| 781 |
-
|
| 782 |
-
|
| 783 |
-
|
| 784 |
-
|
| 785 |
-
|
| 786 |
-
|
| 787 |
-
|
| 788 |
-
|
| 789 |
-
|
| 790 |
-
|
| 791 |
-
|
| 792 |
-
|
| 793 |
-
|
| 794 |
-
|
| 795 |
-
|
| 796 |
-
|
| 797 |
-
|
| 798 |
-
|
| 799 |
-
|
| 800 |
-
|
| 801 |
-
|
| 802 |
-
|
| 803 |
-
|
| 804 |
-
|
| 805 |
-
|
| 806 |
-
|
| 807 |
-
|
| 808 |
-
|
| 809 |
-
|
| 810 |
-
|
| 811 |
-
|
| 812 |
-
|
| 813 |
-
const
|
| 814 |
-
const
|
| 815 |
-
|
| 816 |
-
|
| 817 |
-
|
| 818 |
-
const
|
| 819 |
-
|
| 820 |
-
|
| 821 |
-
|
| 822 |
-
|
| 823 |
-
|
| 824 |
-
const
|
| 825 |
-
|
| 826 |
-
|
| 827 |
-
|
| 828 |
-
|
| 829 |
-
|
| 830 |
-
|
| 831 |
-
|
| 832 |
-
|
| 833 |
-
|
| 834 |
-
const
|
| 835 |
-
|
| 836 |
-
|
| 837 |
-
|
| 838 |
-
|
| 839 |
-
<
|
| 840 |
-
|
| 841 |
-
|
| 842 |
-
|
| 843 |
-
|
| 844 |
-
|
| 845 |
-
|
| 846 |
-
|
| 847 |
-
|
| 848 |
-
|
| 849 |
-
|
| 850 |
-
|
| 851 |
-
|
| 852 |
-
|
| 853 |
-
|
| 854 |
-
|
| 855 |
-
|
| 856 |
-
|
| 857 |
-
|
| 858 |
-
const
|
| 859 |
-
|
| 860 |
-
|
| 861 |
-
|
| 862 |
-
|
| 863 |
-
|
| 864 |
-
|
| 865 |
-
|
| 866 |
-
|
| 867 |
-
|
| 868 |
-
|
| 869 |
-
|
| 870 |
-
|
| 871 |
-
|
| 872 |
-
|
| 873 |
-
|
| 874 |
-
|
| 875 |
-
|
| 876 |
-
|
| 877 |
-
|
| 878 |
-
|
| 879 |
-
|
| 880 |
-
if (current
|
| 881 |
-
|
| 882 |
-
|
| 883 |
-
|
| 884 |
-
|
| 885 |
-
|
| 886 |
-
|
| 887 |
-
|
| 888 |
-
|
| 889 |
-
|
| 890 |
-
|
| 891 |
-
|
| 892 |
-
|
| 893 |
-
|
| 894 |
-
|
| 895 |
-
|
| 896 |
-
|
| 897 |
-
|
| 898 |
-
|
| 899 |
-
|
| 900 |
-
|
| 901 |
-
|
| 902 |
-
|
| 903 |
-
|
| 904 |
-
|
| 905 |
-
|
| 906 |
-
|
| 907 |
-
|
| 908 |
-
|
| 909 |
-
|
| 910 |
-
|
| 911 |
-
|
| 912 |
-
|
| 913 |
-
|
| 914 |
-
|
| 915 |
-
|
| 916 |
-
|
| 917 |
-
|
| 918 |
-
|
| 919 |
-
|
| 920 |
-
|
| 921 |
-
|
| 922 |
-
|
| 923 |
-
|
| 924 |
-
|
| 925 |
-
|
| 926 |
-
|
| 927 |
-
document.
|
| 928 |
-
a.
|
| 929 |
-
|
| 930 |
-
|
| 931 |
-
|
| 932 |
-
|
| 933 |
-
|
| 934 |
-
|
| 935 |
-
|
| 936 |
-
|
| 937 |
-
|
| 938 |
-
|
| 939 |
-
if (
|
| 940 |
-
|
| 941 |
-
|
| 942 |
-
|
| 943 |
-
|
| 944 |
-
|
| 945 |
-
|
| 946 |
-
|
| 947 |
-
|
| 948 |
-
|
| 949 |
-
|
| 950 |
-
|
| 951 |
-
document.getElementById('
|
| 952 |
-
|
| 953 |
-
|
| 954 |
-
|
| 955 |
-
|
| 956 |
-
|
| 957 |
-
|
| 958 |
-
|
| 959 |
-
|
| 960 |
-
|
| 961 |
-
|
| 962 |
-
|
| 963 |
-
|
| 964 |
-
|
| 965 |
-
|
| 966 |
-
|
| 967 |
-
|
| 968 |
-
|
| 969 |
-
|
| 970 |
-
|
| 971 |
-
|
| 972 |
-
|
| 973 |
-
|
| 974 |
-
|
| 975 |
-
|
| 976 |
-
|
| 977 |
-
|
| 978 |
-
|
| 979 |
-
|
| 980 |
-
|
| 981 |
-
const
|
| 982 |
-
|
| 983 |
-
|
| 984 |
-
|
| 985 |
-
|
| 986 |
-
|
| 987 |
-
|
| 988 |
-
|
| 989 |
-
|
| 990 |
-
|
| 991 |
-
img.style.display = '
|
| 992 |
-
|
| 993 |
-
|
| 994 |
-
|
| 995 |
-
|
| 996 |
-
|
| 997 |
-
|
| 998 |
-
|
| 999 |
-
|
| 1000 |
-
|
| 1001 |
-
|
| 1002 |
-
|
| 1003 |
-
|
| 1004 |
-
|
| 1005 |
-
|
| 1006 |
-
|
| 1007 |
-
|
| 1008 |
-
|
| 1009 |
-
|
| 1010 |
-
|
| 1011 |
-
|
| 1012 |
-
|
| 1013 |
-
|
| 1014 |
-
|
| 1015 |
-
|
| 1016 |
-
|
| 1017 |
-
|
| 1018 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="utf-8" />
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 6 |
+
<title>Samples Gallery</title>
|
| 7 |
+
<script type="text/javascript" src="data-hf-images.js"></script>
|
| 8 |
+
<script type="text/javascript" src="data-hf-uploaded.js"></script>
|
| 9 |
+
<script type="text/javascript" src="data-filenames.js"></script>
|
| 10 |
+
<script type="text/javascript" src="data-thumbnails.js"></script>
|
| 11 |
+
<script type="text/javascript" src="data-civitai.js"></script>
|
| 12 |
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 13 |
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 14 |
+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
| 15 |
+
<style>
|
| 16 |
+
:root {
|
| 17 |
+
--bg-gradient-start: #0f172a;
|
| 18 |
+
--bg-gradient-end: #1e293b;
|
| 19 |
+
--text-primary: #f1f5f9;
|
| 20 |
+
--text-secondary: #94a3b8;
|
| 21 |
+
--text-muted: #64748b;
|
| 22 |
+
--link-color: #60a5fa;
|
| 23 |
+
--card-bg: rgba(30, 41, 59, 0.7);
|
| 24 |
+
--card-border: rgba(148, 163, 184, 0.1);
|
| 25 |
+
--input-bg: rgba(15, 23, 42, 0.6);
|
| 26 |
+
--input-border: rgba(148, 163, 184, 0.2);
|
| 27 |
+
--input-text: #e2e8f0;
|
| 28 |
+
--hover-bg: rgba(96, 165, 250, 0.2);
|
| 29 |
+
--modal-overlay: rgba(0, 0, 0, 0.85);
|
| 30 |
+
--shadow-color: rgba(0, 0, 0, 0.3);
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
[data-theme="light"] {
|
| 34 |
+
--bg-gradient-start: #f8fafc;
|
| 35 |
+
--bg-gradient-end: #e2e8f0;
|
| 36 |
+
--text-primary: #1e293b;
|
| 37 |
+
--text-secondary: #475569;
|
| 38 |
+
--text-muted: #64748b;
|
| 39 |
+
--link-color: #2563eb;
|
| 40 |
+
--card-bg: rgba(255, 255, 255, 0.9);
|
| 41 |
+
--card-border: rgba(148, 163, 184, 0.3);
|
| 42 |
+
--input-bg: rgba(255, 255, 255, 0.8);
|
| 43 |
+
--input-border: rgba(148, 163, 184, 0.4);
|
| 44 |
+
--input-text: #1e293b;
|
| 45 |
+
--hover-bg: rgba(37, 99, 235, 0.1);
|
| 46 |
+
--modal-overlay: rgba(0, 0, 0, 0.5);
|
| 47 |
+
--shadow-color: rgba(0, 0, 0, 0.1);
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
* { margin: 0; padding: 0; box-sizing: border-box; }
|
| 51 |
+
|
| 52 |
+
body {
|
| 53 |
+
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
| 54 |
+
background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
|
| 55 |
+
color: var(--text-primary);
|
| 56 |
+
min-height: 100vh;
|
| 57 |
+
padding: 20px;
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
a { text-decoration: none; color: var(--link-color); }
|
| 61 |
+
a:hover { color: #93c5fd; }
|
| 62 |
+
|
| 63 |
+
.header {
|
| 64 |
+
display: flex;
|
| 65 |
+
align-items: center;
|
| 66 |
+
gap: 16px;
|
| 67 |
+
margin-bottom: 24px;
|
| 68 |
+
flex-wrap: wrap;
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
.header h1 {
|
| 72 |
+
font-size: 1.5rem;
|
| 73 |
+
font-weight: 700;
|
| 74 |
+
background: linear-gradient(135deg, #60a5fa, #a78bfa);
|
| 75 |
+
-webkit-background-clip: text;
|
| 76 |
+
-webkit-text-fill-color: transparent;
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
.back-link {
|
| 80 |
+
font-size: 14px;
|
| 81 |
+
padding: 6px 12px;
|
| 82 |
+
border-radius: 8px;
|
| 83 |
+
background: var(--card-bg);
|
| 84 |
+
border: 1px solid var(--card-border);
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
.controls {
|
| 88 |
+
display: flex;
|
| 89 |
+
gap: 12px;
|
| 90 |
+
align-items: center;
|
| 91 |
+
flex-wrap: wrap;
|
| 92 |
+
margin-bottom: 24px;
|
| 93 |
+
padding: 16px;
|
| 94 |
+
background: var(--card-bg);
|
| 95 |
+
border: 1px solid var(--card-border);
|
| 96 |
+
border-radius: 12px;
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
.control-group {
|
| 100 |
+
display: flex;
|
| 101 |
+
flex-direction: column;
|
| 102 |
+
gap: 4px;
|
| 103 |
+
}
|
| 104 |
+
|
| 105 |
+
.control-group label {
|
| 106 |
+
font-size: 11px;
|
| 107 |
+
font-weight: 600;
|
| 108 |
+
text-transform: uppercase;
|
| 109 |
+
letter-spacing: 0.5px;
|
| 110 |
+
color: var(--text-muted);
|
| 111 |
+
}
|
| 112 |
+
|
| 113 |
+
select {
|
| 114 |
+
padding: 8px 12px;
|
| 115 |
+
border-radius: 8px;
|
| 116 |
+
border: 1px solid var(--input-border);
|
| 117 |
+
background: var(--input-bg);
|
| 118 |
+
color: var(--input-text);
|
| 119 |
+
font-size: 14px;
|
| 120 |
+
min-width: 160px;
|
| 121 |
+
cursor: pointer;
|
| 122 |
+
}
|
| 123 |
+
|
| 124 |
+
#searchInput {
|
| 125 |
+
padding: 8px 12px;
|
| 126 |
+
border-radius: 8px;
|
| 127 |
+
border: 1px solid var(--input-border);
|
| 128 |
+
background: var(--input-bg);
|
| 129 |
+
color: var(--input-text);
|
| 130 |
+
font-size: 14px;
|
| 131 |
+
min-width: 180px;
|
| 132 |
+
outline: none;
|
| 133 |
+
}
|
| 134 |
+
#searchInput:focus { border-color: var(--link-color); }
|
| 135 |
+
|
| 136 |
+
.stats-bar {
|
| 137 |
+
display: flex;
|
| 138 |
+
gap: 16px;
|
| 139 |
+
align-items: center;
|
| 140 |
+
margin-bottom: 16px;
|
| 141 |
+
font-size: 14px;
|
| 142 |
+
color: var(--text-secondary);
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
.stats-bar strong { color: var(--text-primary); }
|
| 146 |
+
|
| 147 |
+
.gallery-grid {
|
| 148 |
+
display: grid;
|
| 149 |
+
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
| 150 |
+
gap: 16px;
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
.gallery-card {
|
| 154 |
+
background: var(--card-bg);
|
| 155 |
+
border: 1px solid var(--card-border);
|
| 156 |
+
border-radius: 12px;
|
| 157 |
+
overflow: hidden;
|
| 158 |
+
cursor: pointer;
|
| 159 |
+
transition: transform 0.2s, box-shadow 0.2s;
|
| 160 |
+
}
|
| 161 |
+
|
| 162 |
+
.gallery-card:hover {
|
| 163 |
+
transform: translateY(-3px);
|
| 164 |
+
box-shadow: 0 8px 24px var(--shadow-color);
|
| 165 |
+
}
|
| 166 |
+
|
| 167 |
+
.gallery-card img {
|
| 168 |
+
width: 100%;
|
| 169 |
+
aspect-ratio: 3/4;
|
| 170 |
+
object-fit: cover;
|
| 171 |
+
display: block;
|
| 172 |
+
}
|
| 173 |
+
|
| 174 |
+
.gallery-card video {
|
| 175 |
+
width: 100%;
|
| 176 |
+
aspect-ratio: 3/4;
|
| 177 |
+
object-fit: cover;
|
| 178 |
+
display: block;
|
| 179 |
+
}
|
| 180 |
+
|
| 181 |
+
.gallery-card-info {
|
| 182 |
+
padding: 10px 12px;
|
| 183 |
+
display: flex;
|
| 184 |
+
flex-direction: column;
|
| 185 |
+
gap: 4px;
|
| 186 |
+
}
|
| 187 |
+
|
| 188 |
+
.gallery-card-name {
|
| 189 |
+
font-size: 13px;
|
| 190 |
+
font-weight: 600;
|
| 191 |
+
white-space: nowrap;
|
| 192 |
+
overflow: hidden;
|
| 193 |
+
text-overflow: ellipsis;
|
| 194 |
+
}
|
| 195 |
+
|
| 196 |
+
.gallery-card-meta {
|
| 197 |
+
font-size: 11px;
|
| 198 |
+
color: var(--text-muted);
|
| 199 |
+
white-space: nowrap;
|
| 200 |
+
overflow: hidden;
|
| 201 |
+
text-overflow: ellipsis;
|
| 202 |
+
}
|
| 203 |
+
|
| 204 |
+
.gallery-card-badge {
|
| 205 |
+
display: inline-block;
|
| 206 |
+
font-size: 10px;
|
| 207 |
+
font-weight: 600;
|
| 208 |
+
padding: 2px 8px;
|
| 209 |
+
border-radius: 8px;
|
| 210 |
+
text-transform: uppercase;
|
| 211 |
+
letter-spacing: 0.3px;
|
| 212 |
+
color: #fff;
|
| 213 |
+
background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
|
| 214 |
+
}
|
| 215 |
+
|
| 216 |
+
.gallery-card-badge[data-type="wan"] { background: linear-gradient(135deg, #dc2626, #f59e0b); }
|
| 217 |
+
.gallery-card-badge[data-type="flux"] { background: linear-gradient(135deg, #7c3aed, #c026d3); }
|
| 218 |
+
.gallery-card-badge[data-type="klein9"] { background: linear-gradient(135deg, #8b5cf6, #a855f7); }
|
| 219 |
+
.gallery-card-badge[data-type="ernie"] { background: linear-gradient(135deg, #be185d, #f472b6); }
|
| 220 |
+
.gallery-card-badge[data-type="ideogram4"] { background: linear-gradient(135deg, #d97706, #fbbf24); }
|
| 221 |
+
.gallery-card-badge[data-type="krea2"] { background: linear-gradient(135deg, #16a34a, #4ade80); }
|
| 222 |
+
.gallery-card-badge[data-type="zimage"] { background: linear-gradient(135deg, #e11d48, #fb7185); }
|
| 223 |
+
.gallery-card-badge[data-type="zbase"] { background: linear-gradient(135deg, #0f766e, #14b8a6); }
|
| 224 |
+
.gallery-card-badge[data-type="ltx"] { background: linear-gradient(135deg, #0369a1, #22d3ee); }
|
| 225 |
+
.gallery-card-badge[data-type="sdxl"] { background: linear-gradient(135deg, #65a30d, #84cc16); }
|
| 226 |
+
.gallery-card-badge[data-type="locon"] { background: linear-gradient(135deg, #16a34a, #22c55e); }
|
| 227 |
+
.gallery-card-badge[data-type="lora"] { background: linear-gradient(135deg, #3b82f6, #6366f1); }
|
| 228 |
+
.gallery-card-badge[data-type="embedding"] { background: linear-gradient(135deg, #92400e, #f59e0b); }
|
| 229 |
+
.gallery-card-badge[data-type="qwen"] { background: linear-gradient(135deg, #0284c7, #38bdf8); }
|
| 230 |
+
|
| 231 |
+
.no-results {
|
| 232 |
+
text-align: center;
|
| 233 |
+
padding: 60px 20px;
|
| 234 |
+
color: var(--text-muted);
|
| 235 |
+
font-size: 16px;
|
| 236 |
+
}
|
| 237 |
+
|
| 238 |
+
/* Modal */
|
| 239 |
+
.modal-overlay {
|
| 240 |
+
display: none;
|
| 241 |
+
position: fixed;
|
| 242 |
+
inset: 0;
|
| 243 |
+
background: var(--modal-overlay);
|
| 244 |
+
z-index: 1000;
|
| 245 |
+
align-items: center;
|
| 246 |
+
justify-content: center;
|
| 247 |
+
}
|
| 248 |
+
|
| 249 |
+
.modal-overlay.active {
|
| 250 |
+
display: flex;
|
| 251 |
+
}
|
| 252 |
+
|
| 253 |
+
.modal-box {
|
| 254 |
+
background: var(--card-bg);
|
| 255 |
+
border: 1px solid var(--card-border);
|
| 256 |
+
border-radius: 16px;
|
| 257 |
+
max-width: 90vw;
|
| 258 |
+
max-height: 90vh;
|
| 259 |
+
display: flex;
|
| 260 |
+
flex-direction: column;
|
| 261 |
+
overflow: hidden;
|
| 262 |
+
box-shadow: 0 25px 50px var(--shadow-color);
|
| 263 |
+
}
|
| 264 |
+
|
| 265 |
+
.modal-top {
|
| 266 |
+
display: flex;
|
| 267 |
+
align-items: center;
|
| 268 |
+
justify-content: space-between;
|
| 269 |
+
padding: 16px 20px;
|
| 270 |
+
border-bottom: 1px solid var(--card-border);
|
| 271 |
+
}
|
| 272 |
+
|
| 273 |
+
.modal-title {
|
| 274 |
+
font-size: 16px;
|
| 275 |
+
font-weight: 600;
|
| 276 |
+
}
|
| 277 |
+
|
| 278 |
+
.modal-person-link {
|
| 279 |
+
font-size: 13px;
|
| 280 |
+
margin-left: 12px;
|
| 281 |
+
}
|
| 282 |
+
|
| 283 |
+
.modal-close-btn {
|
| 284 |
+
background: none;
|
| 285 |
+
border: none;
|
| 286 |
+
color: var(--text-secondary);
|
| 287 |
+
font-size: 24px;
|
| 288 |
+
cursor: pointer;
|
| 289 |
+
padding: 4px 8px;
|
| 290 |
+
border-radius: 8px;
|
| 291 |
+
}
|
| 292 |
+
|
| 293 |
+
.modal-close-btn:hover { background: var(--hover-bg); color: var(--text-primary); }
|
| 294 |
+
|
| 295 |
+
.modal-media-wrap {
|
| 296 |
+
position: relative;
|
| 297 |
+
display: flex;
|
| 298 |
+
align-items: center;
|
| 299 |
+
justify-content: center;
|
| 300 |
+
padding: 16px;
|
| 301 |
+
min-height: 400px;
|
| 302 |
+
}
|
| 303 |
+
|
| 304 |
+
.modal-media-wrap img,
|
| 305 |
+
.modal-media-wrap video {
|
| 306 |
+
max-width: 100%;
|
| 307 |
+
max-height: 70vh;
|
| 308 |
+
border-radius: 8px;
|
| 309 |
+
object-fit: contain;
|
| 310 |
+
}
|
| 311 |
+
|
| 312 |
+
.nav-btn {
|
| 313 |
+
position: absolute;
|
| 314 |
+
top: 50%;
|
| 315 |
+
transform: translateY(-50%);
|
| 316 |
+
background: rgba(0, 0, 0, 0.6);
|
| 317 |
+
border: none;
|
| 318 |
+
color: #fff;
|
| 319 |
+
font-size: 28px;
|
| 320 |
+
width: 44px;
|
| 321 |
+
height: 44px;
|
| 322 |
+
border-radius: 50%;
|
| 323 |
+
cursor: pointer;
|
| 324 |
+
display: flex;
|
| 325 |
+
align-items: center;
|
| 326 |
+
justify-content: center;
|
| 327 |
+
}
|
| 328 |
+
|
| 329 |
+
.nav-btn:hover { background: rgba(0, 0, 0, 0.85); }
|
| 330 |
+
.nav-btn.prev { left: 12px; }
|
| 331 |
+
.nav-btn.next { right: 12px; }
|
| 332 |
+
|
| 333 |
+
.modal-bottom {
|
| 334 |
+
display: flex;
|
| 335 |
+
align-items: center;
|
| 336 |
+
justify-content: space-between;
|
| 337 |
+
padding: 12px 20px;
|
| 338 |
+
border-top: 1px solid var(--card-border);
|
| 339 |
+
gap: 12px;
|
| 340 |
+
flex-wrap: wrap;
|
| 341 |
+
}
|
| 342 |
+
|
| 343 |
+
.modal-counter {
|
| 344 |
+
font-size: 13px;
|
| 345 |
+
color: var(--text-secondary);
|
| 346 |
+
}
|
| 347 |
+
|
| 348 |
+
.modal-filename {
|
| 349 |
+
font-size: 12px;
|
| 350 |
+
color: var(--text-muted);
|
| 351 |
+
white-space: nowrap;
|
| 352 |
+
overflow: hidden;
|
| 353 |
+
text-overflow: ellipsis;
|
| 354 |
+
max-width: 300px;
|
| 355 |
+
}
|
| 356 |
+
|
| 357 |
+
.modal-actions {
|
| 358 |
+
display: flex;
|
| 359 |
+
gap: 8px;
|
| 360 |
+
}
|
| 361 |
+
|
| 362 |
+
.btn {
|
| 363 |
+
padding: 6px 14px;
|
| 364 |
+
border-radius: 8px;
|
| 365 |
+
border: 1px solid var(--input-border);
|
| 366 |
+
background: var(--input-bg);
|
| 367 |
+
color: var(--input-text);
|
| 368 |
+
font-size: 13px;
|
| 369 |
+
cursor: pointer;
|
| 370 |
+
text-decoration: none;
|
| 371 |
+
display: inline-flex;
|
| 372 |
+
align-items: center;
|
| 373 |
+
gap: 4px;
|
| 374 |
+
}
|
| 375 |
+
|
| 376 |
+
.btn:hover { background: var(--hover-bg); color: var(--text-primary); }
|
| 377 |
+
|
| 378 |
+
.theme-toggle {
|
| 379 |
+
position: fixed;
|
| 380 |
+
top: 20px;
|
| 381 |
+
right: 20px;
|
| 382 |
+
width: 44px;
|
| 383 |
+
height: 44px;
|
| 384 |
+
border-radius: 50%;
|
| 385 |
+
background: var(--card-bg);
|
| 386 |
+
border: 2px solid var(--card-border);
|
| 387 |
+
cursor: pointer;
|
| 388 |
+
display: flex;
|
| 389 |
+
align-items: center;
|
| 390 |
+
justify-content: center;
|
| 391 |
+
font-size: 20px;
|
| 392 |
+
z-index: 1000;
|
| 393 |
+
box-shadow: 0 4px 12px var(--shadow-color);
|
| 394 |
+
transition: all 0.3s ease;
|
| 395 |
+
}
|
| 396 |
+
.theme-toggle:hover { transform: scale(1.1); border-color: var(--link-color); }
|
| 397 |
+
.theme-toggle .sun-icon { display: none; }
|
| 398 |
+
.theme-toggle .moon-icon { display: block; }
|
| 399 |
+
[data-theme="light"] .theme-toggle .sun-icon { display: block; }
|
| 400 |
+
[data-theme="light"] .theme-toggle .moon-icon { display: none; }
|
| 401 |
+
|
| 402 |
+
.pagination-bar { margin: 12px 0; }
|
| 403 |
+
.pagination-controls {
|
| 404 |
+
display: flex;
|
| 405 |
+
align-items: center;
|
| 406 |
+
justify-content: space-between;
|
| 407 |
+
flex-wrap: wrap;
|
| 408 |
+
gap: 8px;
|
| 409 |
+
}
|
| 410 |
+
.pagination-info { font-size: 13px; color: var(--text-secondary); }
|
| 411 |
+
.pagination-buttons { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
|
| 412 |
+
.pagination-buttons .btn { min-width: 36px; justify-content: center; }
|
| 413 |
+
.pagination-buttons .btn[disabled] { opacity: 0.4; cursor: default; pointer-events: none; }
|
| 414 |
+
.pagination-active { background: var(--link-color) !important; color: #fff !important; border-color: var(--link-color) !important; }
|
| 415 |
+
.pagination-ellipsis { padding: 0 6px; color: var(--text-muted); }
|
| 416 |
+
</style>
|
| 417 |
+
</head>
|
| 418 |
+
<body>
|
| 419 |
+
<button class="theme-toggle" onclick="toggleTheme()" title="Toggle dark/light mode">
|
| 420 |
+
<span class="moon-icon">🌙</span>
|
| 421 |
+
<span class="sun-icon">☀️</span>
|
| 422 |
+
</button>
|
| 423 |
+
|
| 424 |
+
<div class="header">
|
| 425 |
+
<h1>🖼️ Samples Gallery</h1>
|
| 426 |
+
<a class="back-link" href="index.html">← Back to Browser</a>
|
| 427 |
+
</div>
|
| 428 |
+
|
| 429 |
+
<div class="controls">
|
| 430 |
+
<div class="control-group">
|
| 431 |
+
<label>Date</label>
|
| 432 |
+
<select id="dateSelect" onchange="currentPage=1;renderGallery()"></select>
|
| 433 |
+
</div>
|
| 434 |
+
<div class="control-group">
|
| 435 |
+
<label>Model Type</label>
|
| 436 |
+
<select id="typeSelect" onchange="currentPage=1;renderGallery()">
|
| 437 |
+
<option value="all">All Types</option>
|
| 438 |
+
<option value="zbase">ZBase</option>
|
| 439 |
+
<option value="zimage">ZImage</option>
|
| 440 |
+
<option value="klein9">Klein9</option>
|
| 441 |
+
<option value="ernie">Ernie</option>
|
| 442 |
+
<option value="ideogram4">Ideogram4</option>
|
| 443 |
+
<option value="krea2">Krea 2</option>
|
| 444 |
+
<option value="flux">Flux</option>
|
| 445 |
+
<option value="wan">WAN</option>
|
| 446 |
+
<option value="sdxl">SDXL</option>
|
| 447 |
+
<option value="ltx">LTX</option>
|
| 448 |
+
<option value="locon">LyCORIS</option>
|
| 449 |
+
<option value="lora">Lora</option>
|
| 450 |
+
<option value="embedding">Embedding</option>
|
| 451 |
+
<option value="qwen">Qwen</option>
|
| 452 |
+
</select>
|
| 453 |
+
</div>
|
| 454 |
+
<div class="control-group">
|
| 455 |
+
<label>Search</label>
|
| 456 |
+
<input type="text" id="searchInput" placeholder="Filter by name…" oninput="currentPage=1;renderGallery()" />
|
| 457 |
+
</div>
|
| 458 |
+
<div class="control-group">
|
| 459 |
+
<label>Per Page</label>
|
| 460 |
+
<select id="pageSizeSelect" onchange="onPageSizeChange()">
|
| 461 |
+
<option value="24">24</option>
|
| 462 |
+
<option value="48">48</option>
|
| 463 |
+
<option value="96">96</option>
|
| 464 |
+
<option value="all">All</option>
|
| 465 |
+
</select>
|
| 466 |
+
</div>
|
| 467 |
+
<div class="control-group" style="justify-content:flex-end;">
|
| 468 |
+
<label> </label>
|
| 469 |
+
<button class="btn" onclick="clearFilters()">✕ Clear</button>
|
| 470 |
+
</div>
|
| 471 |
+
<div class="control-group" style="justify-content:flex-end;">
|
| 472 |
+
<label> </label>
|
| 473 |
+
<button class="btn" id="copyLinkBtn" onclick="copyLink()">🔗 Copy Link</button>
|
| 474 |
+
</div>
|
| 475 |
+
</div>
|
| 476 |
+
|
| 477 |
+
<div class="stats-bar" id="statsBar"></div>
|
| 478 |
+
<div class="pagination-bar" id="paginationTop"></div>
|
| 479 |
+
<div class="gallery-grid" id="galleryGrid"></div>
|
| 480 |
+
<div class="pagination-bar" id="paginationBottom"></div>
|
| 481 |
+
<div class="no-results" id="noResults" style="display:none;">No samples found for this selection.</div>
|
| 482 |
+
|
| 483 |
+
<!-- Gallery Modal -->
|
| 484 |
+
<div class="modal-overlay" id="galleryModal" onclick="if(event.target===this)closeGalleryModal()">
|
| 485 |
+
<div class="modal-box">
|
| 486 |
+
<div class="modal-top">
|
| 487 |
+
<div>
|
| 488 |
+
<span class="modal-title" id="modalPersonName"></span>
|
| 489 |
+
<a class="modal-person-link" id="modalPersonLink" href="#" target="_blank">open in browser →</a>
|
| 490 |
+
</div>
|
| 491 |
+
<button class="modal-close-btn" onclick="closeGalleryModal()">×</button>
|
| 492 |
+
</div>
|
| 493 |
+
<div class="modal-media-wrap">
|
| 494 |
+
<button class="nav-btn prev" onclick="navImage(-1)">‹</button>
|
| 495 |
+
<img id="modalImg" src="" alt="" />
|
| 496 |
+
<video id="modalVideo" autoplay loop muted style="display:none;"></video>
|
| 497 |
+
<button class="nav-btn next" onclick="navImage(1)">›</button>
|
| 498 |
+
</div>
|
| 499 |
+
<div class="modal-bottom">
|
| 500 |
+
<span class="modal-counter" id="modalCounter"></span>
|
| 501 |
+
<span class="modal-filename" id="modalFilename"></span>
|
| 502 |
+
<div class="modal-actions">
|
| 503 |
+
<button class="btn" id="modalDownloadSample" onclick="downloadCurrentSample()">🖼️ Download Sample</button>
|
| 504 |
+
<a class="btn" id="modalDownload" href="#" target="_blank">⬇️ Download Model</a>
|
| 505 |
+
</div>
|
| 506 |
+
</div>
|
| 507 |
+
</div>
|
| 508 |
+
</div>
|
| 509 |
+
|
| 510 |
+
<script>
|
| 511 |
+
// Theme management
|
| 512 |
+
function toggleTheme() {
|
| 513 |
+
const currentTheme = document.body.getAttribute('data-theme');
|
| 514 |
+
const newTheme = currentTheme === 'light' ? 'dark' : 'light';
|
| 515 |
+
if (newTheme === 'dark') {
|
| 516 |
+
document.body.removeAttribute('data-theme');
|
| 517 |
+
} else {
|
| 518 |
+
document.body.setAttribute('data-theme', newTheme);
|
| 519 |
+
}
|
| 520 |
+
localStorage.setItem('theme', newTheme);
|
| 521 |
+
}
|
| 522 |
+
// Restore saved theme
|
| 523 |
+
(function() {
|
| 524 |
+
const saved = localStorage.getItem('theme');
|
| 525 |
+
if (saved === 'light') document.body.setAttribute('data-theme', 'light');
|
| 526 |
+
})();
|
| 527 |
+
|
| 528 |
+
// Data references (use window.X to avoid redeclaration of globals from data-*.js)
|
| 529 |
+
const _hfImages = window.hfImages || {};
|
| 530 |
+
const _uploadData = window.uploadedData || {};
|
| 531 |
+
const _dates = window.uploadDates || [];
|
| 532 |
+
const _filenamesData = window.filenames || {};
|
| 533 |
+
const _thumbnailsData = window.thumbnails || {};
|
| 534 |
+
|
| 535 |
+
const FOLDER_MAP = {
|
| 536 |
+
locon: 'lycoris',
|
| 537 |
+
lora: 'small-loras',
|
| 538 |
+
embedding: 'embeddings',
|
| 539 |
+
flux: 'flux',
|
| 540 |
+
wan: 'wan',
|
| 541 |
+
sdxl: 'sdxl',
|
| 542 |
+
ltx: 'ltx',
|
| 543 |
+
qwen: 'qwen',
|
| 544 |
+
zimage: 'zimage',
|
| 545 |
+
zbase: 'zbase',
|
| 546 |
+
klein9: 'klein9',
|
| 547 |
+
ernie: 'ernie',
|
| 548 |
+
ideogram4: 'ideogram',
|
| 549 |
+
krea2: 'krea2',
|
| 550 |
+
};
|
| 551 |
+
|
| 552 |
+
const FRAMEWORK_TO_TYPE = {
|
| 553 |
+
'ZBase': 'zbase',
|
| 554 |
+
'ZImage': 'zimage',
|
| 555 |
+
'Klein9': 'klein9',
|
| 556 |
+
'Ernie': 'ernie',
|
| 557 |
+
'Ideogram4': 'ideogram4',
|
| 558 |
+
'Krea2': 'krea2',
|
| 559 |
+
'WAN': 'wan',
|
| 560 |
+
'LTX': 'ltx',
|
| 561 |
+
'Flux': 'flux',
|
| 562 |
+
'SDXL': 'sdxl',
|
| 563 |
+
'LyCORIS': 'locon',
|
| 564 |
+
'Lora': 'lora',
|
| 565 |
+
'Embedding': 'embedding',
|
| 566 |
+
'Qwen': 'qwen',
|
| 567 |
+
};
|
| 568 |
+
|
| 569 |
+
// Gallery state
|
| 570 |
+
let galleryItems = [];
|
| 571 |
+
let allFilteredItems = [];
|
| 572 |
+
let modalItems = [];
|
| 573 |
+
let modalIndex = 0;
|
| 574 |
+
let currentPage = 1;
|
| 575 |
+
let pageSize = 24;
|
| 576 |
+
|
| 577 |
+
// Initialize
|
| 578 |
+
function init() {
|
| 579 |
+
const dateSelect = document.getElementById('dateSelect');
|
| 580 |
+
const dateOptions = _dates.map(d => {
|
| 581 |
+
const display = new Date(d).toLocaleDateString('en-US', {
|
| 582 |
+
weekday: 'short', year: 'numeric', month: 'short', day: 'numeric'
|
| 583 |
+
});
|
| 584 |
+
return `<option value="${d}">${display}</option>`;
|
| 585 |
+
}).join('');
|
| 586 |
+
dateSelect.innerHTML = `<option value="all">All Dates</option>${dateOptions}`;
|
| 587 |
+
|
| 588 |
+
// Restore URL params
|
| 589 |
+
const params = new URLSearchParams(window.location.search);
|
| 590 |
+
const paramDate = params.get('date');
|
| 591 |
+
const paramType = params.get('type');
|
| 592 |
+
const paramSearch = params.get('q');
|
| 593 |
+
const paramPageSize = params.get('size');
|
| 594 |
+
const paramPage = params.get('page');
|
| 595 |
+
|
| 596 |
+
if (paramDate === 'all' || (paramDate && _dates.includes(paramDate))) {
|
| 597 |
+
dateSelect.value = paramDate;
|
| 598 |
+
}
|
| 599 |
+
if (paramType) {
|
| 600 |
+
document.getElementById('typeSelect').value = paramType;
|
| 601 |
+
}
|
| 602 |
+
if (paramSearch) {
|
| 603 |
+
document.getElementById('searchInput').value = paramSearch;
|
| 604 |
+
}
|
| 605 |
+
if (paramPageSize) {
|
| 606 |
+
const sizeSelect = document.getElementById('pageSizeSelect');
|
| 607 |
+
sizeSelect.value = paramPageSize;
|
| 608 |
+
pageSize = paramPageSize === 'all' ? 'all' : parseInt(paramPageSize, 10);
|
| 609 |
+
}
|
| 610 |
+
if (paramPage) {
|
| 611 |
+
currentPage = parseInt(paramPage, 10) || 1;
|
| 612 |
+
}
|
| 613 |
+
|
| 614 |
+
renderGallery();
|
| 615 |
+
}
|
| 616 |
+
|
| 617 |
+
function getUploadsForDate(date) {
|
| 618 |
+
const results = [];
|
| 619 |
+
const seen = new Set();
|
| 620 |
+
|
| 621 |
+
for (const [personKey, personData] of Object.entries(_uploadData)) {
|
| 622 |
+
if (!personData.models) continue;
|
| 623 |
+
|
| 624 |
+
for (const [modelType, models] of Object.entries(personData.models)) {
|
| 625 |
+
for (const model of models) {
|
| 626 |
+
const uploadDate = model.uploadedAt.split('T')[0];
|
| 627 |
+
if (uploadDate === date) {
|
| 628 |
+
// Deduplicate: one card per person+modelType
|
| 629 |
+
const dedupeKey = `${personKey}|${modelType}`;
|
| 630 |
+
if (seen.has(dedupeKey)) continue;
|
| 631 |
+
seen.add(dedupeKey);
|
| 632 |
+
|
| 633 |
+
results.push({
|
| 634 |
+
person: personKey,
|
| 635 |
+
modelType,
|
| 636 |
+
filename: model.filename,
|
| 637 |
+
uploadedAt: model.uploadedAt,
|
| 638 |
+
});
|
| 639 |
+
}
|
| 640 |
+
}
|
| 641 |
+
}
|
| 642 |
+
}
|
| 643 |
+
|
| 644 |
+
return results;
|
| 645 |
+
}
|
| 646 |
+
|
| 647 |
+
// Civitai type mapping
|
| 648 |
+
const CIVITAI_TYPE_MAP = { 'LoCon': 'LyCORIS', 'LORA': 'Lora', 'TextualInversion': 'Embedding' };
|
| 649 |
+
const CIVITAI_COLLECTIONS = {
|
| 650 |
+
locon: 'lycorises', lora: 'loras', embedding: 'embeddings',
|
| 651 |
+
flux: 'fluxes', wan: 'wans', sdxl: 'sdxls', ltx: 'ltxes', qwen: 'qwens',
|
| 652 |
+
};
|
| 653 |
+
|
| 654 |
+
function getCivitaiImage(personKey, modelType) {
|
| 655 |
+
const collection = CIVITAI_COLLECTIONS[modelType];
|
| 656 |
+
if (!collection || !models || !models[collection]) return null;
|
| 657 |
+
const civitaiModel = models[collection].find(m => {
|
| 658 |
+
const normalized = m.name.toLowerCase().replaceAll(' ', '').replaceAll('-', '').replaceAll("'", '');
|
| 659 |
+
return normalized === personKey;
|
| 660 |
+
});
|
| 661 |
+
if (civitaiModel && civitaiModel.imageUrl) {
|
| 662 |
+
const fw = CIVITAI_TYPE_MAP[civitaiModel.type] || civitaiModel.type;
|
| 663 |
+
return {
|
| 664 |
+
url: civitaiModel.imageUrl,
|
| 665 |
+
filename: civitaiModel.imageUrl.split('/').pop() || 'civitai-sample',
|
| 666 |
+
framework: fw,
|
| 667 |
+
};
|
| 668 |
+
}
|
| 669 |
+
return null;
|
| 670 |
+
}
|
| 671 |
+
|
| 672 |
+
function getSampleImage(personKey, modelType) {
|
| 673 |
+
const personImages = _hfImages[personKey] || {};
|
| 674 |
+
// Map modelType to framework name
|
| 675 |
+
const frameworkNames = {
|
| 676 |
+
locon: 'LyCORIS', lora: 'Lora', embedding: 'Embedding',
|
| 677 |
+
flux: 'Flux', wan: 'WAN', sdxl: 'SDXL', ltx: 'LTX',
|
| 678 |
+
qwen: 'Qwen', zimage: 'ZImage', zbase: 'ZBase',
|
| 679 |
+
klein9: 'Klein9', ernie: 'Ernie', ideogram4: 'Ideogram4', krea2: 'Krea2',
|
| 680 |
+
};
|
| 681 |
+
const fw = frameworkNames[modelType];
|
| 682 |
+
if (fw && personImages[fw] && personImages[fw].length > 0) {
|
| 683 |
+
return personImages[fw][0];
|
| 684 |
+
}
|
| 685 |
+
// Fallback to Civitai
|
| 686 |
+
const civitaiImg = getCivitaiImage(personKey, modelType);
|
| 687 |
+
if (civitaiImg) return civitaiImg;
|
| 688 |
+
// Fallback to thumbnail
|
| 689 |
+
if (_thumbnailsData[personKey]) {
|
| 690 |
+
return {
|
| 691 |
+
url: `https://huggingface.co/datasets/malcolmrey/samples/resolve/main/thumbnails/${encodeURIComponent(personKey)}.jpg`,
|
| 692 |
+
filename: `${personKey}.jpg`,
|
| 693 |
+
framework: 'Thumbnail',
|
| 694 |
+
};
|
| 695 |
+
}
|
| 696 |
+
return null;
|
| 697 |
+
}
|
| 698 |
+
|
| 699 |
+
function getAllSampleImages(personKey, modelType) {
|
| 700 |
+
const personImages = _hfImages[personKey] || {};
|
| 701 |
+
const frameworkNames = {
|
| 702 |
+
locon: 'LyCORIS', lora: 'Lora', embedding: 'Embedding',
|
| 703 |
+
flux: 'Flux', wan: 'WAN', sdxl: 'SDXL', ltx: 'LTX',
|
| 704 |
+
qwen: 'Qwen', zimage: 'ZImage', zbase: 'ZBase',
|
| 705 |
+
klein9: 'Klein9', ernie: 'Ernie', ideogram4: 'Ideogram4', krea2: 'Krea2',
|
| 706 |
+
};
|
| 707 |
+
const fw = frameworkNames[modelType];
|
| 708 |
+
const images = [];
|
| 709 |
+
if (fw && personImages[fw] && personImages[fw].length > 0) {
|
| 710 |
+
images.push(...personImages[fw]);
|
| 711 |
+
}
|
| 712 |
+
// Add Civitai image if not already covered by HF
|
| 713 |
+
const civitaiImg = getCivitaiImage(personKey, modelType);
|
| 714 |
+
if (civitaiImg && !images.some(img => img.url === civitaiImg.url)) {
|
| 715 |
+
images.push(civitaiImg);
|
| 716 |
+
}
|
| 717 |
+
return images;
|
| 718 |
+
}
|
| 719 |
+
|
| 720 |
+
function getDownloadUrl(personKey, modelType) {
|
| 721 |
+
const folder = FOLDER_MAP[modelType];
|
| 722 |
+
if (!folder) return '#';
|
| 723 |
+
const personFilenames = _filenamesData[personKey];
|
| 724 |
+
const files = personFilenames?.[modelType];
|
| 725 |
+
if (!files || files.length === 0) {
|
| 726 |
+
return `https://huggingface.co/malcolmrey/${folder}`;
|
| 727 |
+
}
|
| 728 |
+
const filename = files[0];
|
| 729 |
+
const filePath = modelType === 'wan' ? `wan2.1/${filename}` : filename;
|
| 730 |
+
return `https://huggingface.co/malcolmrey/${folder}/resolve/main/${filePath}?download=true`;
|
| 731 |
+
}
|
| 732 |
+
|
| 733 |
+
function syncUrlParams(date, type, search) {
|
| 734 |
+
const params = new URLSearchParams();
|
| 735 |
+
if (date && date !== 'all') params.set('date', date);
|
| 736 |
+
if (date === 'all') params.set('date', 'all');
|
| 737 |
+
if (type && type !== 'all') params.set('type', type);
|
| 738 |
+
if (search) params.set('q', search);
|
| 739 |
+
if (pageSize !== 24 && pageSize !== 'all') params.set('size', String(pageSize));
|
| 740 |
+
if (pageSize === 'all') params.set('size', 'all');
|
| 741 |
+
if (currentPage > 1) params.set('page', String(currentPage));
|
| 742 |
+
const qs = params.toString();
|
| 743 |
+
const newUrl = window.location.pathname + (qs ? '?' + qs : '');
|
| 744 |
+
history.replaceState(null, '', newUrl);
|
| 745 |
+
}
|
| 746 |
+
|
| 747 |
+
function renderGallery() {
|
| 748 |
+
const date = document.getElementById('dateSelect').value;
|
| 749 |
+
const typeFilter = document.getElementById('typeSelect').value;
|
| 750 |
+
|
| 751 |
+
if (!date) {
|
| 752 |
+
document.getElementById('galleryGrid').innerHTML = '';
|
| 753 |
+
document.getElementById('noResults').style.display = 'block';
|
| 754 |
+
document.getElementById('statsBar').innerHTML = '';
|
| 755 |
+
return;
|
| 756 |
+
}
|
| 757 |
+
|
| 758 |
+
const uploads = date === 'all'
|
| 759 |
+
? _dates.flatMap(d => getUploadsForDate(d))
|
| 760 |
+
: getUploadsForDate(date);
|
| 761 |
+
|
| 762 |
+
// Deduplicate: one card per person+modelType (driven by samples, not models)
|
| 763 |
+
const seenKeys = new Set();
|
| 764 |
+
const deduped = [];
|
| 765 |
+
for (const u of uploads) {
|
| 766 |
+
const key = `${u.person}|${u.modelType}`;
|
| 767 |
+
if (seenKeys.has(key)) continue;
|
| 768 |
+
seenKeys.add(key);
|
| 769 |
+
deduped.push(u);
|
| 770 |
+
}
|
| 771 |
+
|
| 772 |
+
// Filter by type
|
| 773 |
+
let filtered = typeFilter === 'all'
|
| 774 |
+
? deduped
|
| 775 |
+
: deduped.filter(u => u.modelType === typeFilter);
|
| 776 |
+
|
| 777 |
+
// Filter by search term
|
| 778 |
+
const searchTerm = document.getElementById('searchInput').value.trim().toLowerCase();
|
| 779 |
+
if (searchTerm) {
|
| 780 |
+
filtered = filtered.filter(u => u.person.toLowerCase().includes(searchTerm));
|
| 781 |
+
}
|
| 782 |
+
|
| 783 |
+
// Skip entries without sample images (only keep those with actual samples or thumbnails)
|
| 784 |
+
filtered = filtered.filter(u => getSampleImage(u.person, u.modelType) !== null);
|
| 785 |
+
|
| 786 |
+
// Sort: by model type, then person name
|
| 787 |
+
filtered.sort((a, b) => {
|
| 788 |
+
if (a.modelType !== b.modelType) return a.modelType.localeCompare(b.modelType);
|
| 789 |
+
return a.person.localeCompare(b.person);
|
| 790 |
+
});
|
| 791 |
+
|
| 792 |
+
allFilteredItems = filtered;
|
| 793 |
+
|
| 794 |
+
// Sync state to URL
|
| 795 |
+
syncUrlParams(date, typeFilter, searchTerm);
|
| 796 |
+
|
| 797 |
+
const grid = document.getElementById('galleryGrid');
|
| 798 |
+
const noResults = document.getElementById('noResults');
|
| 799 |
+
const statsBar = document.getElementById('statsBar');
|
| 800 |
+
|
| 801 |
+
if (filtered.length === 0) {
|
| 802 |
+
grid.innerHTML = '';
|
| 803 |
+
noResults.style.display = 'block';
|
| 804 |
+
statsBar.innerHTML = '';
|
| 805 |
+
document.getElementById('paginationTop').innerHTML = '';
|
| 806 |
+
document.getElementById('paginationBottom').innerHTML = '';
|
| 807 |
+
return;
|
| 808 |
+
}
|
| 809 |
+
|
| 810 |
+
noResults.style.display = 'none';
|
| 811 |
+
|
| 812 |
+
// Pagination
|
| 813 |
+
const totalItems = filtered.length;
|
| 814 |
+
const totalPages = pageSize === 'all' ? 1 : Math.ceil(totalItems / pageSize);
|
| 815 |
+
if (currentPage > totalPages) currentPage = totalPages;
|
| 816 |
+
const startIdx = pageSize === 'all' ? 0 : (currentPage - 1) * pageSize;
|
| 817 |
+
const endIdx = pageSize === 'all' ? totalItems : Math.min(startIdx + pageSize, totalItems);
|
| 818 |
+
const pageItems = filtered.slice(startIdx, endIdx);
|
| 819 |
+
galleryItems = pageItems;
|
| 820 |
+
|
| 821 |
+
// Stats
|
| 822 |
+
const typeCount = {};
|
| 823 |
+
filtered.forEach(u => { typeCount[u.modelType] = (typeCount[u.modelType] || 0) + 1; });
|
| 824 |
+
const typeSummary = Object.entries(typeCount).map(([t, c]) => `${t}: <strong>${c}</strong>`).join(' · ');
|
| 825 |
+
statsBar.innerHTML = `<span>Total: <strong>${filtered.length}</strong> samples</span><span>${typeSummary}</span>`;
|
| 826 |
+
|
| 827 |
+
// Pagination controls
|
| 828 |
+
const paginationHtml = totalPages > 1 ? buildPaginationHtml(currentPage, totalPages, startIdx + 1, endIdx, totalItems) : '';
|
| 829 |
+
document.getElementById('paginationTop').innerHTML = paginationHtml;
|
| 830 |
+
document.getElementById('paginationBottom').innerHTML = paginationHtml;
|
| 831 |
+
|
| 832 |
+
// Render cards
|
| 833 |
+
grid.innerHTML = pageItems.map((item, idx) => {
|
| 834 |
+
const sample = getSampleImage(item.person, item.modelType);
|
| 835 |
+
const imgUrl = sample?.url || '';
|
| 836 |
+
const isVideo = imgUrl.toLowerCase().endsWith('.mp4');
|
| 837 |
+
|
| 838 |
+
const mediaHtml = isVideo
|
| 839 |
+
? `<video src="${imgUrl}" muted loop autoplay playsinline></video>`
|
| 840 |
+
: `<img src="${imgUrl}" alt="${item.person}" loading="lazy" onerror="this.src='unknown.jpg'" />`;
|
| 841 |
+
|
| 842 |
+
return `
|
| 843 |
+
<div class="gallery-card" onclick="openGalleryModal(${idx})">
|
| 844 |
+
${mediaHtml}
|
| 845 |
+
<div class="gallery-card-info">
|
| 846 |
+
<span class="gallery-card-name">${item.person}</span>
|
| 847 |
+
<span class="gallery-card-badge" data-type="${item.modelType}">${item.modelType}</span>
|
| 848 |
+
</div>
|
| 849 |
+
</div>
|
| 850 |
+
`;
|
| 851 |
+
}).join('');
|
| 852 |
+
}
|
| 853 |
+
|
| 854 |
+
// Pagination helpers
|
| 855 |
+
function buildPaginationHtml(page, totalPages, from, to, total) {
|
| 856 |
+
let buttons = '';
|
| 857 |
+
const prevDisabled = page <= 1 ? 'disabled' : '';
|
| 858 |
+
const nextDisabled = page >= totalPages ? 'disabled' : '';
|
| 859 |
+
buttons += `<button class="btn" onclick="goToPage(${page - 1})" ${prevDisabled}>← Prev</button>`;
|
| 860 |
+
|
| 861 |
+
// Page numbers
|
| 862 |
+
const range = getPageRange(page, totalPages);
|
| 863 |
+
for (const p of range) {
|
| 864 |
+
if (p === '...') {
|
| 865 |
+
buttons += `<span class="pagination-ellipsis">…</span>`;
|
| 866 |
+
} else {
|
| 867 |
+
const active = p === page ? 'pagination-active' : '';
|
| 868 |
+
buttons += `<button class="btn ${active}" onclick="goToPage(${p})">${p}</button>`;
|
| 869 |
+
}
|
| 870 |
+
}
|
| 871 |
+
|
| 872 |
+
buttons += `<button class="btn" onclick="goToPage(${page + 1})" ${nextDisabled}>Next →</button>`;
|
| 873 |
+
return `<div class="pagination-controls"><span class="pagination-info">Showing ${from}–${to} of ${total}</span><div class="pagination-buttons">${buttons}</div></div>`;
|
| 874 |
+
}
|
| 875 |
+
|
| 876 |
+
function getPageRange(current, total) {
|
| 877 |
+
if (total <= 7) return Array.from({length: total}, (_, i) => i + 1);
|
| 878 |
+
const pages = [];
|
| 879 |
+
pages.push(1);
|
| 880 |
+
if (current > 3) pages.push('...');
|
| 881 |
+
for (let i = Math.max(2, current - 1); i <= Math.min(total - 1, current + 1); i++) {
|
| 882 |
+
pages.push(i);
|
| 883 |
+
}
|
| 884 |
+
if (current < total - 2) pages.push('...');
|
| 885 |
+
pages.push(total);
|
| 886 |
+
return pages;
|
| 887 |
+
}
|
| 888 |
+
|
| 889 |
+
function goToPage(page) {
|
| 890 |
+
const totalPages = pageSize === 'all' ? 1 : Math.ceil(allFilteredItems.length / pageSize);
|
| 891 |
+
if (page < 1 || page > totalPages) return;
|
| 892 |
+
currentPage = page;
|
| 893 |
+
renderGallery();
|
| 894 |
+
window.scrollTo({ top: 0, behavior: 'smooth' });
|
| 895 |
+
}
|
| 896 |
+
|
| 897 |
+
function onPageSizeChange() {
|
| 898 |
+
const val = document.getElementById('pageSizeSelect').value;
|
| 899 |
+
pageSize = val === 'all' ? 'all' : parseInt(val, 10);
|
| 900 |
+
currentPage = 1;
|
| 901 |
+
renderGallery();
|
| 902 |
+
}
|
| 903 |
+
|
| 904 |
+
function clearFilters() {
|
| 905 |
+
document.getElementById('dateSelect').value = 'all';
|
| 906 |
+
document.getElementById('typeSelect').value = 'all';
|
| 907 |
+
document.getElementById('searchInput').value = '';
|
| 908 |
+
document.getElementById('pageSizeSelect').value = '24';
|
| 909 |
+
pageSize = 24;
|
| 910 |
+
currentPage = 1;
|
| 911 |
+
renderGallery();
|
| 912 |
+
}
|
| 913 |
+
|
| 914 |
+
function copyLink() {
|
| 915 |
+
const url = window.location.href;
|
| 916 |
+
navigator.clipboard.writeText(url).then(() => {
|
| 917 |
+
const btn = document.getElementById('copyLinkBtn');
|
| 918 |
+
btn.textContent = '✓ Copied!';
|
| 919 |
+
setTimeout(() => { btn.textContent = '🔗 Copy Link'; }, 2000);
|
| 920 |
+
});
|
| 921 |
+
}
|
| 922 |
+
|
| 923 |
+
function downloadCurrentSample() {
|
| 924 |
+
if (modalItems.length === 0) return;
|
| 925 |
+
const current = modalItems[modalIndex];
|
| 926 |
+
if (!current || !current.url) return;
|
| 927 |
+
const a = document.createElement('a');
|
| 928 |
+
a.href = current.url;
|
| 929 |
+
a.download = current.filename || current.url.split('/').pop() || 'sample';
|
| 930 |
+
a.target = '_blank';
|
| 931 |
+
document.body.appendChild(a);
|
| 932 |
+
a.click();
|
| 933 |
+
document.body.removeChild(a);
|
| 934 |
+
}
|
| 935 |
+
|
| 936 |
+
// Modal
|
| 937 |
+
function openGalleryModal(idx) {
|
| 938 |
+
const item = galleryItems[idx];
|
| 939 |
+
if (!item) return;
|
| 940 |
+
|
| 941 |
+
// Build images list for this person+type
|
| 942 |
+
modalItems = getAllSampleImages(item.person, item.modelType);
|
| 943 |
+
if (modalItems.length === 0) {
|
| 944 |
+
// Show the card image if no dedicated samples
|
| 945 |
+
const sample = getSampleImage(item.person, item.modelType);
|
| 946 |
+
if (sample) modalItems = [sample];
|
| 947 |
+
}
|
| 948 |
+
modalIndex = 0;
|
| 949 |
+
|
| 950 |
+
document.getElementById('modalPersonName').textContent = item.person;
|
| 951 |
+
const personLink = document.getElementById('modalPersonLink');
|
| 952 |
+
personLink.href = `index.html?personcode=${encodeURIComponent(item.person)}`;
|
| 953 |
+
|
| 954 |
+
const downloadLink = getDownloadUrl(item.person, item.modelType);
|
| 955 |
+
document.getElementById('modalDownload').href = downloadLink;
|
| 956 |
+
|
| 957 |
+
document.getElementById('galleryModal').classList.add('active');
|
| 958 |
+
document.body.style.overflow = 'hidden';
|
| 959 |
+
updateModal();
|
| 960 |
+
}
|
| 961 |
+
|
| 962 |
+
function closeGalleryModal() {
|
| 963 |
+
document.getElementById('galleryModal').classList.remove('active');
|
| 964 |
+
document.body.style.overflow = '';
|
| 965 |
+
const video = document.getElementById('modalVideo');
|
| 966 |
+
video.pause();
|
| 967 |
+
video.removeAttribute('src');
|
| 968 |
+
video.load();
|
| 969 |
+
}
|
| 970 |
+
|
| 971 |
+
function navImage(dir) {
|
| 972 |
+
if (modalItems.length <= 1) return;
|
| 973 |
+
modalIndex = (modalIndex + dir + modalItems.length) % modalItems.length;
|
| 974 |
+
updateModal();
|
| 975 |
+
}
|
| 976 |
+
|
| 977 |
+
function updateModal() {
|
| 978 |
+
const img = document.getElementById('modalImg');
|
| 979 |
+
const video = document.getElementById('modalVideo');
|
| 980 |
+
const counter = document.getElementById('modalCounter');
|
| 981 |
+
const filenameEl = document.getElementById('modalFilename');
|
| 982 |
+
|
| 983 |
+
if (modalItems.length === 0) return;
|
| 984 |
+
|
| 985 |
+
const current = modalItems[modalIndex];
|
| 986 |
+
const isVideo = current.url.toLowerCase().endsWith('.mp4');
|
| 987 |
+
|
| 988 |
+
if (isVideo) {
|
| 989 |
+
video.src = current.url;
|
| 990 |
+
video.style.display = 'block';
|
| 991 |
+
img.style.display = 'none';
|
| 992 |
+
} else {
|
| 993 |
+
img.src = current.url;
|
| 994 |
+
img.alt = current.filename || '';
|
| 995 |
+
img.style.display = 'block';
|
| 996 |
+
video.style.display = 'none';
|
| 997 |
+
video.pause();
|
| 998 |
+
video.removeAttribute('src');
|
| 999 |
+
video.load();
|
| 1000 |
+
}
|
| 1001 |
+
|
| 1002 |
+
counter.textContent = modalItems.length > 1 ? `${modalIndex + 1} / ${modalItems.length}` : '';
|
| 1003 |
+
filenameEl.textContent = current.filename || '';
|
| 1004 |
+
|
| 1005 |
+
// Show/hide nav buttons
|
| 1006 |
+
const showNav = modalItems.length > 1;
|
| 1007 |
+
document.querySelectorAll('.nav-btn').forEach(b => b.style.display = showNav ? 'flex' : 'none');
|
| 1008 |
+
}
|
| 1009 |
+
|
| 1010 |
+
// Keyboard
|
| 1011 |
+
document.addEventListener('keydown', (e) => {
|
| 1012 |
+
const modal = document.getElementById('galleryModal');
|
| 1013 |
+
if (!modal.classList.contains('active')) return;
|
| 1014 |
+
if (e.key === 'Escape') closeGalleryModal();
|
| 1015 |
+
if (e.key === 'ArrowLeft') navImage(-1);
|
| 1016 |
+
if (e.key === 'ArrowRight') navImage(1);
|
| 1017 |
+
});
|
| 1018 |
+
|
| 1019 |
+
init();
|
| 1020 |
+
</script>
|
| 1021 |
+
</body>
|
| 1022 |
+
</html>
|
index.html
CHANGED
|
@@ -1124,6 +1124,10 @@
|
|
| 1124 |
background: linear-gradient(135deg, #d97706 0%, #fbbf24 100%);
|
| 1125 |
}
|
| 1126 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1127 |
/* Pagination Controls */
|
| 1128 |
.pagination-controls {
|
| 1129 |
display: flex;
|
|
@@ -1482,6 +1486,11 @@
|
|
| 1482 |
color: #f9a8d4;
|
| 1483 |
}
|
| 1484 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1485 |
.daily-upload-model[data-type="sdxl"] {
|
| 1486 |
background: rgba(101, 163, 13, 0.22);
|
| 1487 |
color: #d9f99d;
|
|
@@ -2069,6 +2078,15 @@
|
|
| 2069 |
<span>Ideogram4</span>
|
| 2070 |
</label>
|
| 2071 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2072 |
<label class="checkbox-label">
|
| 2073 |
<input
|
| 2074 |
id="selectedQwen"
|
|
@@ -2541,6 +2559,8 @@
|
|
| 2541 |
zbase: 'Z Image Base',
|
| 2542 |
klein9: 'Klein9',
|
| 2543 |
ernie: 'Ernie',
|
|
|
|
|
|
|
| 2544 |
qwen: 'Qwen'
|
| 2545 |
};
|
| 2546 |
return baseNames[baseType] || baseType;
|
|
@@ -2559,6 +2579,7 @@
|
|
| 2559 |
klein9: 'klein9',
|
| 2560 |
ernie: 'ernie',
|
| 2561 |
ideogram4: 'ideogram',
|
|
|
|
| 2562 |
wan: 'wan',
|
| 2563 |
sdxl: 'sdxl',
|
| 2564 |
ltx: 'ltx',
|
|
@@ -2904,6 +2925,7 @@
|
|
| 2904 |
if (document.getElementById('selectedKlein9').checked) selectedTypes.push('klein9');
|
| 2905 |
if (document.getElementById('selectedErnie').checked) selectedTypes.push('ernie');
|
| 2906 |
if (document.getElementById('selectedIdeogram4').checked) selectedTypes.push('ideogram4');
|
|
|
|
| 2907 |
return selectedTypes;
|
| 2908 |
}
|
| 2909 |
|
|
@@ -2947,6 +2969,8 @@
|
|
| 2947 |
flux: 'Flux',
|
| 2948 |
klein9: 'Klein9',
|
| 2949 |
ernie: 'Ernie',
|
|
|
|
|
|
|
| 2950 |
wan: 'WAN',
|
| 2951 |
sdxl: 'SDXL',
|
| 2952 |
ltx: 'LTX',
|
|
@@ -3060,6 +3084,7 @@
|
|
| 3060 |
'klein9',
|
| 3061 |
'ernie',
|
| 3062 |
'ideogram4',
|
|
|
|
| 3063 |
'qwen'
|
| 3064 |
];
|
| 3065 |
const orderIndex = new Map(modelTypeOrder.map((t, i) => [t, i]));
|
|
@@ -3277,6 +3302,12 @@
|
|
| 3277 |
${formatModalHFLinks(element.ideogram4, 'ideogram', personFilenames.ideogram4)}
|
| 3278 |
</span>
|
| 3279 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3280 |
<div class="modal-stat-row">
|
| 3281 |
<span class="modal-stat-label">${yesNo(element.qwen)} Qwen</span>
|
| 3282 |
<span class="modal-stat-value">
|
|
@@ -3438,6 +3469,7 @@
|
|
| 3438 |
klein9: presence[property].klein9,
|
| 3439 |
ernie: presence[property].ernie,
|
| 3440 |
ideogram4: presence[property].ideogram4,
|
|
|
|
| 3441 |
wan: presence[property].wan,
|
| 3442 |
sdxl: presence[property].sdxl,
|
| 3443 |
ltx: presence[property].ltx,
|
|
@@ -3455,6 +3487,7 @@
|
|
| 3455 |
klein9HFLink: presence[property]?.klein9HFLink,
|
| 3456 |
ernieHFLink: presence[property]?.ernieHFLink,
|
| 3457 |
ideogram4HFLink: presence[property]?.ideogram4HFLink,
|
|
|
|
| 3458 |
wanHFLink: presence[property]?.wanHFLink,
|
| 3459 |
sdxlHFLink: presence[property]?.sdxlHFLink,
|
| 3460 |
ltxHFLink: presence[property]?.ltxHFLink,
|
|
@@ -3469,7 +3502,7 @@
|
|
| 3469 |
const personData = uploadData.data[personKey];
|
| 3470 |
if (!personData || !personData.models) return false;
|
| 3471 |
|
| 3472 |
-
const allTypes = ['locon', 'lora', 'embedding', 'flux', 'wan', 'sdxl', 'ltx', 'qwen', 'zimage', 'zbase', 'klein9', 'ernie', 'ideogram4'];
|
| 3473 |
const typesToCheck = types && types.length > 0 ? types : allTypes;
|
| 3474 |
|
| 3475 |
for (const modelType of typesToCheck) {
|
|
@@ -3523,6 +3556,7 @@
|
|
| 3523 |
{ selected: document.getElementById('selectedKlein9').checked, property: element.klein9 },
|
| 3524 |
{ selected: document.getElementById('selectedErnie').checked, property: element.ernie },
|
| 3525 |
{ selected: document.getElementById('selectedIdeogram4').checked, property: element.ideogram4 },
|
|
|
|
| 3526 |
{ selected: document.getElementById('selectedQwen').checked, property: element.qwen },
|
| 3527 |
];
|
| 3528 |
|
|
@@ -3761,6 +3795,11 @@
|
|
| 3761 |
images.push(...personHFImages.Ideogram4);
|
| 3762 |
}
|
| 3763 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3764 |
// 5. Add WAN samples (from HF samples data)
|
| 3765 |
if (personHFImages.WAN) {
|
| 3766 |
images.push(...personHFImages.WAN);
|
|
|
|
| 1124 |
background: linear-gradient(135deg, #d97706 0%, #fbbf24 100%);
|
| 1125 |
}
|
| 1126 |
|
| 1127 |
+
.framework-label[data-framework="Krea2"] {
|
| 1128 |
+
background: linear-gradient(135deg, #059669 0%, #34d399 100%);
|
| 1129 |
+
}
|
| 1130 |
+
|
| 1131 |
/* Pagination Controls */
|
| 1132 |
.pagination-controls {
|
| 1133 |
display: flex;
|
|
|
|
| 1486 |
color: #f9a8d4;
|
| 1487 |
}
|
| 1488 |
|
| 1489 |
+
.daily-upload-model[data-type="krea2"] {
|
| 1490 |
+
background: rgba(5, 150, 105, 0.22);
|
| 1491 |
+
color: #6ee7b7;
|
| 1492 |
+
}
|
| 1493 |
+
|
| 1494 |
.daily-upload-model[data-type="sdxl"] {
|
| 1495 |
background: rgba(101, 163, 13, 0.22);
|
| 1496 |
color: #d9f99d;
|
|
|
|
| 2078 |
<span>Ideogram4</span>
|
| 2079 |
</label>
|
| 2080 |
|
| 2081 |
+
<label class="checkbox-label">
|
| 2082 |
+
<input
|
| 2083 |
+
id="selectedKrea2"
|
| 2084 |
+
type="checkbox"
|
| 2085 |
+
onclick="javascript:searchModels(getCurrentSearchValue());"
|
| 2086 |
+
/>
|
| 2087 |
+
<span>Krea 2</span>
|
| 2088 |
+
</label>
|
| 2089 |
+
|
| 2090 |
<label class="checkbox-label">
|
| 2091 |
<input
|
| 2092 |
id="selectedQwen"
|
|
|
|
| 2559 |
zbase: 'Z Image Base',
|
| 2560 |
klein9: 'Klein9',
|
| 2561 |
ernie: 'Ernie',
|
| 2562 |
+
ideogram4: 'Ideogram4',
|
| 2563 |
+
krea2: 'Krea 2',
|
| 2564 |
qwen: 'Qwen'
|
| 2565 |
};
|
| 2566 |
return baseNames[baseType] || baseType;
|
|
|
|
| 2579 |
klein9: 'klein9',
|
| 2580 |
ernie: 'ernie',
|
| 2581 |
ideogram4: 'ideogram',
|
| 2582 |
+
krea2: 'krea2',
|
| 2583 |
wan: 'wan',
|
| 2584 |
sdxl: 'sdxl',
|
| 2585 |
ltx: 'ltx',
|
|
|
|
| 2925 |
if (document.getElementById('selectedKlein9').checked) selectedTypes.push('klein9');
|
| 2926 |
if (document.getElementById('selectedErnie').checked) selectedTypes.push('ernie');
|
| 2927 |
if (document.getElementById('selectedIdeogram4').checked) selectedTypes.push('ideogram4');
|
| 2928 |
+
if (document.getElementById('selectedKrea2').checked) selectedTypes.push('krea2');
|
| 2929 |
return selectedTypes;
|
| 2930 |
}
|
| 2931 |
|
|
|
|
| 2969 |
flux: 'Flux',
|
| 2970 |
klein9: 'Klein9',
|
| 2971 |
ernie: 'Ernie',
|
| 2972 |
+
ideogram4: 'Ideogram4',
|
| 2973 |
+
krea2: 'Krea 2',
|
| 2974 |
wan: 'WAN',
|
| 2975 |
sdxl: 'SDXL',
|
| 2976 |
ltx: 'LTX',
|
|
|
|
| 3084 |
'klein9',
|
| 3085 |
'ernie',
|
| 3086 |
'ideogram4',
|
| 3087 |
+
'krea2',
|
| 3088 |
'qwen'
|
| 3089 |
];
|
| 3090 |
const orderIndex = new Map(modelTypeOrder.map((t, i) => [t, i]));
|
|
|
|
| 3302 |
${formatModalHFLinks(element.ideogram4, 'ideogram', personFilenames.ideogram4)}
|
| 3303 |
</span>
|
| 3304 |
</div>
|
| 3305 |
+
<div class="modal-stat-row">
|
| 3306 |
+
<span class="modal-stat-label">${yesNo(element.krea2)} Krea 2</span>
|
| 3307 |
+
<span class="modal-stat-value">
|
| 3308 |
+
${formatModalHFLinks(element.krea2, 'krea2', personFilenames.krea2)}
|
| 3309 |
+
</span>
|
| 3310 |
+
</div>
|
| 3311 |
<div class="modal-stat-row">
|
| 3312 |
<span class="modal-stat-label">${yesNo(element.qwen)} Qwen</span>
|
| 3313 |
<span class="modal-stat-value">
|
|
|
|
| 3469 |
klein9: presence[property].klein9,
|
| 3470 |
ernie: presence[property].ernie,
|
| 3471 |
ideogram4: presence[property].ideogram4,
|
| 3472 |
+
krea2: presence[property].krea2,
|
| 3473 |
wan: presence[property].wan,
|
| 3474 |
sdxl: presence[property].sdxl,
|
| 3475 |
ltx: presence[property].ltx,
|
|
|
|
| 3487 |
klein9HFLink: presence[property]?.klein9HFLink,
|
| 3488 |
ernieHFLink: presence[property]?.ernieHFLink,
|
| 3489 |
ideogram4HFLink: presence[property]?.ideogram4HFLink,
|
| 3490 |
+
krea2HFLink: presence[property]?.krea2HFLink,
|
| 3491 |
wanHFLink: presence[property]?.wanHFLink,
|
| 3492 |
sdxlHFLink: presence[property]?.sdxlHFLink,
|
| 3493 |
ltxHFLink: presence[property]?.ltxHFLink,
|
|
|
|
| 3502 |
const personData = uploadData.data[personKey];
|
| 3503 |
if (!personData || !personData.models) return false;
|
| 3504 |
|
| 3505 |
+
const allTypes = ['locon', 'lora', 'embedding', 'flux', 'wan', 'sdxl', 'ltx', 'qwen', 'zimage', 'zbase', 'klein9', 'ernie', 'ideogram4', 'krea2'];
|
| 3506 |
const typesToCheck = types && types.length > 0 ? types : allTypes;
|
| 3507 |
|
| 3508 |
for (const modelType of typesToCheck) {
|
|
|
|
| 3556 |
{ selected: document.getElementById('selectedKlein9').checked, property: element.klein9 },
|
| 3557 |
{ selected: document.getElementById('selectedErnie').checked, property: element.ernie },
|
| 3558 |
{ selected: document.getElementById('selectedIdeogram4').checked, property: element.ideogram4 },
|
| 3559 |
+
{ selected: document.getElementById('selectedKrea2').checked, property: element.krea2 },
|
| 3560 |
{ selected: document.getElementById('selectedQwen').checked, property: element.qwen },
|
| 3561 |
];
|
| 3562 |
|
|
|
|
| 3795 |
images.push(...personHFImages.Ideogram4);
|
| 3796 |
}
|
| 3797 |
|
| 3798 |
+
// 4c. Add Krea2 samples (from HF samples data)
|
| 3799 |
+
if (personHFImages.Krea2) {
|
| 3800 |
+
images.push(...personHFImages.Krea2);
|
| 3801 |
+
}
|
| 3802 |
+
|
| 3803 |
// 5. Add WAN samples (from HF samples data)
|
| 3804 |
if (personHFImages.WAN) {
|
| 3805 |
images.push(...personHFImages.WAN);
|