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

[Feature request]: A method to find the static URLs associated with an asset link #5191

Closed
CaMer0n opened this issue Feb 7, 2024 · 0 comments
Labels
type: enhancement An improvement or new feature request
Milestone

Comments

@CaMer0n
Copy link
Member

CaMer0n commented Feb 7, 2024

Motivation

When using an array of static URLs, it is difficult to 'preload' assets, as the static URL is automatically rotated from the array.

Proposed Solution

Store the generated static URLs in an array that can be looked up with a key, and then loaded into e107::link() to preload the asset.

Alternatives

none

Additional Context

No response

@CaMer0n CaMer0n added the type: enhancement An improvement or new feature request label Feb 7, 2024
@CaMer0n CaMer0n added this to the e107 2.4.0 milestone Feb 7, 2024
CaMer0n added a commit that referenced this issue Feb 7, 2024
@CaMer0n CaMer0n closed this as completed in 209f0ea Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement An improvement or new feature request
Projects
None yet
Development

No branches or pull requests

1 participant