Stable Diffusion image metadata viewer

표시 Stable Diffusion 생성된 이미지의 메타데이터

< Stable Diffusion image metadata viewer 피드백으로 돌아가기

리뷰: 보통 - 스크립트가 작동하지만 버그 있음

§
게시: 2023-02-10
수정: 2023-02-10

Doesn't work with urls like this
example.com/image.png?a.a=b.b
example.com/image.png#cccc

line 25:
const ext = img.src.match(/[^.]+$/)[0].toLowerCase();
->
const ext = img.src.split(/[#?]/)[0].split('.').pop().trim().toLowerCase();

himuro_majika작성자
§
게시: 2023-02-11

Thank you for feedback. Your code correctly works completely. I reconsidered file extention's condition is needless. It is better way for User Include.

답글 게시

답글을 게시하려면 로그인하세요.

长期地址
遇到问题?请前往 GitHub 提 Issues。