Add link to Select images and skip basename in urls
This commit is contained in:
parent
efda3b72b8
commit
c009c01a3f
@ -142,7 +142,7 @@ function gotoCollage() {
|
|||||||
|
|
||||||
for (const img of selectedPhotos) {
|
for (const img of selectedPhotos) {
|
||||||
if (!img.src.endsWith("stock.svg")) {
|
if (!img.src.endsWith("stock.svg")) {
|
||||||
photoUrls.push(img.src)
|
photoUrls.push((new URL(img.src)).pathname)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const encodedURLS = encodeURIComponent(JSON.stringify(photoUrls))
|
const encodedURLS = encodeURIComponent(JSON.stringify(photoUrls))
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
|
|
||||||
|
<p><a href="choose.html">Select Images</a></p>
|
||||||
|
|
||||||
<label>
|
<label>
|
||||||
<span>Paper size</span>
|
<span>Paper size</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user