-
Notifications
You must be signed in to change notification settings - Fork 33
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 helper plugin for responsive images and auto-resizing #498
Comments
Also needed something like "::Plugin::Gallery". This task is almost unspeakable in markdown without writing html by hand. How it may works:
The following code should produce something like this: <div class="gallery" style="text-align: center">
<h3>Photos</h3>
<a class="item" href="photo1.jpg"><img class="thumb" title="foo" src="photo1_tn.jpg"></a>
<a class="item" href="photo2.jpg"><img class="thumb" title="bar" src="photo2_tn.jpg"></a>
</div> |
This ticket is for a more generic thing to help with adding one or two images to a blog post or page content which is aware of the new You could use it to make a gallery with a loop, like:
I think a gallery of images would be better-developed as an application. Like a Statocles::App::Gallery which could scan directories for images, read an I expect the Gallery app and the Image plugin would share a lot of code between them, which would be good to put in |
We need an Image helper plugin (Statocles::Plugin::Image) that will allow us to embed responsive images, converting them to the correct sizes and compressions. I should be able to simply take a photo from my camera, place it in my site, and then use the
image
helper to create a set of responsive resolutions for the image and a link to the full-resolution image.We should be able to configure the plugin for the default settings, and override those defaults using helper parameters. We could allow multiple image configurations, so we could recall them. Certain images could get thumbnails, others could be full-size. Some could be clickable, others not. There are a lot of options here, and we'll need to make this simple.
This is a replacement for #191. This requires #437.
The text was updated successfully, but these errors were encountered: