Commit Graph

35 Commits

Author SHA1 Message Date
w-e-w
9d2cbf8e97 add option: Live preview in full page image viewer
make #13459 "show the preview image in the modal view if available" optional
2023-12-06 23:06:32 +09:00
Won-Kyu Park
dbb10fbd8c
show the preview image in the modalview if available 2023-10-11 21:56:17 +09:00
Diego Casorran
aea0fa9fd5
Allow to open images in new browser tab by MMB.
Signed-off-by: Diego Casorran <dcasorran@gmail.com>
2023-08-07 14:53:42 +02:00
Aarni Koskela
dc7a1bbb1c Use onAfterUiUpdate where possible 2023-05-25 09:09:13 +03:00
AUTOMATIC
57b75f4a03 eslint related file edits 2023-05-18 09:59:10 +03:00
Aarni Koskela
9c54b78d9d Run eslint --fix (and normalize tabs to spaces) 2023-05-17 16:09:06 +03:00
Aarni Koskela
8ccc27127b Fix a whole bunch of implicit globals 2023-04-30 22:08:52 +03:00
Aarni Koskela
34a6ad80d5 Use classList.toggle wherever possible 2023-04-30 14:48:02 +03:00
AlUlkesh
5a25826d84 try both versions of appendChild 2023-03-28 23:28:46 +02:00
AlUlkesh
9ecf347133 fix: lightboxModal, selectedTab 2023-03-27 20:01:19 +02:00
space-nuko
5eb7ff7768 Fix Send to img2img buttons 2023-03-25 14:52:47 -04:00
AUTOMATIC
9f0da9f6ed initial gradio 3.22 support 2023-03-25 09:00:36 +03:00
bluelovers
db85421da1 feat: better lightbox when not enable zoom 2023-03-12 10:25:42 +08:00
AUTOMATIC
0c5913b9c2 re-enable image dragging on non-firefox browsers 2023-01-18 14:14:50 +03:00
Alexey Shirokov
b202714b65
Fix keyboard navigation in modal image viewer 2023-01-11 11:41:50 +03:00
AUTOMATIC
5f4fa942b8 do not show full window image preview when right mouse button is used 2023-01-05 02:38:52 +03:00
AUTOMATIC
b663ee2cff fix fullscreen view showing wrong image on firefox 2023-01-05 00:36:10 +03:00
Florian Horn
403c5dba86 hide save btn for other tabs than txt2img and img2img 2022-10-28 00:58:18 +02:00
Florian Horn
0995e879ce added save button and shortcut (s) to Modal View 2022-10-27 16:20:01 +02:00
Adam Snodgrass
43cb1ddad2 prevent highlighting/selecting image 2022-10-18 07:58:51 +03:00
dvsilch
26a11776e4 fix: add null check when start running project the currentButton is null 2022-10-16 20:58:36 +03:00
DepFA
d3cd46b038
Update lightbox to change displayed image as soon as generation is complete (#1933)
* add updateOnBackgroundChange
* typo fixes.
* reindent to 4 spaces
2022-10-09 16:19:33 +01:00
Aidan Holland
432782163a chore: Fix typos 2022-10-08 22:42:30 +03:00
guaneec
32e428ff19 Remove duplicate event listeners 2022-10-08 15:47:24 +03:00
DepFA
e560eb8b60 Only switch between visible gallery entries
Since the other tabs are kept in the dom now filtering is needed.
2022-09-23 23:38:45 +03:00
AUTOMATIC
1ebb5cc669 update tiling button for imageviewer.js to use an icon in same style as others, add mouseover hints 2022-09-21 14:22:16 +03:00
Adam Snodgrass
390ead187c add button to toggle tiling images in the imageviewer modal 2022-09-21 14:09:25 +03:00
AUTOMATIC
028fc25f28 fix the issue with incorrect js options on page load
add a setting for lightbox max size images
use setting for lightbox max size images late to let user change it and see results
2022-09-19 17:16:04 +03:00
DepFA
bf1f3b8daf Rely on opts being pre-populated 2022-09-19 16:43:08 +03:00
DepFA
931e5aebb3 initialize modal state from options 2022-09-19 16:43:08 +03:00
DepFA
2f35b1c6be Add logic for zoom toggle 2022-09-19 16:43:08 +03:00
AUTOMATIC
f3d83fd68a add read access to settings for jsavascript
add an option to disable lightbox modal
2022-09-18 22:25:18 +03:00
Adam Snodgrass
7e42a0f35a close on escape 2022-09-18 11:42:55 -05:00
AUTOMATIC
5e80c286ee script.js split work - ui.js 2022-09-18 09:00:06 +03:00
AUTOMATIC
be0bfa871b script.js split work 2022-09-18 08:37:26 +03:00