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) {
|
||||
if (!img.src.endsWith("stock.svg")) {
|
||||
photoUrls.push(img.src)
|
||||
photoUrls.push((new URL(img.src)).pathname)
|
||||
}
|
||||
}
|
||||
const encodedURLS = encodeURIComponent(JSON.stringify(photoUrls))
|
||||
|
@ -12,6 +12,7 @@
|
||||
<div class="container">
|
||||
<div class="controls">
|
||||
|
||||
<p><a href="choose.html">Select Images</a></p>
|
||||
|
||||
<label>
|
||||
<span>Paper size</span>
|
||||
|
Loading…
Reference in New Issue
Block a user