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 or override the Tiled Gallery template #1844

Open
cfxd opened this issue Mar 23, 2015 · 8 comments
Open

Modify or override the Tiled Gallery template #1844

cfxd opened this issue Mar 23, 2015 · 8 comments
Labels
[Feature] Tiled Gallery A different way to display image galleries on your site, in different organizations and shapes. Good For Community [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it

Comments

@cfxd
Copy link
Contributor

cfxd commented Mar 23, 2015

In response to https://wordpress.org/support/topic/possible-to-modify-or-override-the-tiled-gallery-template?replies=2#post-6727884

I'd really like to be able to customize the Tiled Gallery template. The specific customizations I have in mind for my project are:

  1. Replacing the "original image" that's hosted on the CDN with the actual original image on my server
  2. Adding some markup to the gallery itself such as several wrapper elements to enable lazy loading using the padding hack to maintain placeholder aspect ratios

I think these both may go a bit beyond just adding a few filters, but might lend themselves to a more efficient method of overriding the template altogether from a new, custom template file created within the theme directory.

Thoughts?

@jeherve jeherve added [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it [Feature] Tiled Gallery A different way to display image galleries on your site, in different organizations and shapes. tdiv labels Mar 23, 2015
@jeherve
Copy link
Member

jeherve commented Mar 23, 2015

Replacing the "original image" that's hosted on the CDN with the actual original image on my server

We'll need to add a filter here to make that possible.

Adding some markup to the gallery itself such as several wrapper elements to enable lazy loading

It might be worth trying this small plugin: it enables Lazy Load for Tiled Galleries:
https://github.com/rase-/Jetpack-Tiled-Gallery-Lazy-Load

cc @rase-

@cfxd
Copy link
Contributor Author

cfxd commented Mar 23, 2015

I can try to put together a PR for the filter.

It seems like quite a bit of overhead to add a plugin just to lazy load part of a site, especially when the remaining site may already use a custom (i.e., non-plugin) lazy loading solution.

@krishaamer
Copy link

+1. A site I'm building uses isotope on all the other pages and I'd like to create a template for the gallery to follow the same style.

@chrismccoy
Copy link

would love template overrides as well, i want to customize the markup a bit more

@samhotchkiss samhotchkiss modified the milestone: Needs Triage Aug 28, 2015
@jeherve jeherve modified the milestones: Community, Needs Triage Jan 11, 2016
@jeherve
Copy link
Member

jeherve commented Jan 11, 2016

@samhotchkiss samhotchkiss modified the milestones: Community, Not Currently Planned Feb 10, 2017
@lamdayap
Copy link

suggested here:

https://wordpress.org/support/topic/galler-how-to-handle-lots-of-images/

Add a 'load more' option so galleries with large amount of photos don't take up a majority of the content

@stale
Copy link

stale bot commented Sep 17, 2018

This issue has been marked as stale. This happened because:

  • It has been inactive in the past 6 months.
  • It hasn’t been labeled `[Pri] Blocker`, `[Pri] High`.

No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.

@stale stale bot added the [Status] Stale label Sep 17, 2018
@kraftbj kraftbj removed this from the Not Currently Planned milestone Jan 26, 2021
@stale stale bot removed the [Status] Stale label Jan 26, 2021
@github-actions
Copy link
Contributor

This issue has been marked as stale. This happened because:

  • It has been inactive in the past 6 months.
  • It hasn’t been labeled `[Pri] Blocker`, `[Pri] High`, etc.

No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Tiled Gallery A different way to display image galleries on your site, in different organizations and shapes. Good For Community [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it
Projects
None yet
Development

No branches or pull requests

8 participants