-
Notifications
You must be signed in to change notification settings - Fork 8
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
Image preloading state #11
Comments
Going to go with a purple gradient to begin with, potentially moving as it loads. Gemma to look at how this would animate. Going to go with the Kirbytext approach to images. |
@GemCopeland Let’s review this together, want to be sure I understand what you’re going for from the designs! |
@GemCopeland to choose a bunch of unicode symbols for use in bg of loading images. Once chosen, pass issue back to @piperhaywood so that I can implement them in the global.json file |
Selected symbols for preloader patterns: ♢ |
eFlux has a neat loading pattern that @GemCopeland is interested in:
Medium as well. Medium loads a tiny thumbnail which they scale up and blur with CSS, replacing with the large image when it’s loaded.
We’ll probably go down the eFlux route due to #12.
Current possibilities include small tiled background images, CSS patterns, and gradient backgrounds. The last is probably the one we’re most excited about currently. Would probably use the two main site colours initially and as an enhancement, allow @GemCopeland to choose the colours on an image-by-image basis.
Any of this functionality would probably require a slightly modified Markdown parser since at minimum, we would need the output to be something like:
Perhaps consider the way that Kirby handles images in Kirbytext (read more). The syntax for the above would be:
Of course, Markdown does support HTML markup so perhaps it’s worth keeping that in mind for the initial version.
The text was updated successfully, but these errors were encountered: