Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify Placeholder Image to Use Local Transparent Image; and Issue with Adding 6-Column and 8-Column Layouts #27

Open
TheSummerRain opened this issue Oct 20, 2024 · 1 comment

Comments

@TheSummerRain
Copy link

Hello there,
1、I would like to change the placeholder image to use a transparent image from my local machine. However, after modifying the code path, the reading mode works fine, but the real-time preview mode does not. I would like to use a relative path, but it's not working. I'm not sure what to do.

(u = [
...o,
...Array(a - o.length).fill({
type: "external",
link: "E:/myWrite/myNovel/all_image/image_gird/imm.png", // https://via.placeholder.com/640x480
}),
])

props: {
imageUrls:
l.length > 0
? l.map((u) => u.link)
: ["E:/myWrite/myNovel/all_image/image_gird/imm.png"], // wally https://via.placeholder.com/640x480
showThumbnails: !!o.data.carouselShowThumbnails,
},

2、I am looking to add image layouts with 6 columns and 8 columns. I'm not sure how to modify the code to achieve this. I hope to make it customizable.

image

@TheSummerRain
Copy link
Author

TheSummerRain commented Oct 20, 2024

preview mode:
image

reading mode:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant