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

Daemon image processing #4

Open
ldrrp opened this issue Jun 20, 2019 · 5 comments
Open

Daemon image processing #4

ldrrp opened this issue Jun 20, 2019 · 5 comments
Assignees
Labels
enhancement New feature or request Golang Golang development

Comments

@ldrrp
Copy link
Collaborator

ldrrp commented Jun 20, 2019

Image api minify
Max 1080p image

@ldrrp
Copy link
Collaborator Author

ldrrp commented Jun 21, 2019

Possibly just make all images webp automatically

@ldrrp
Copy link
Collaborator Author

ldrrp commented Jun 21, 2019

@ldrrp ldrrp self-assigned this Jun 22, 2019
@ldrrp
Copy link
Collaborator Author

ldrrp commented Jun 22, 2019

Related to issue #8 have to fix html conversion first

@ldrrp ldrrp added enhancement New feature or request Golang Golang development labels Jun 24, 2019
@ldrrp
Copy link
Collaborator Author

ldrrp commented Jun 25, 2019

Lets start with make a copy of the webp version. If go doesn't detect a webp version it makes one.

path/filename.jpg -> samepath/filename.webp

<picture>
  <source srcset="samepath/filename.webp" type="image/webp">
  <source srcset="path/filename.jpg" type="image/jpeg"> 
  <img src="path/filename.jpg" alt="Alt Text!">
</picture>

We can worry about the other features later like nojs and background images.
https://css-tricks.com/using-webp-images/

@ldrrp
Copy link
Collaborator Author

ldrrp commented Jun 26, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Golang Golang development
Projects
None yet
Development

No branches or pull requests

1 participant