Skip to content

Conversation

pmoreno-rodriguez
Copy link
Contributor

The fetchPriority property of the HTMLImageElement interface represents a hint given to the browser on how it should prioritize the fetch of the image relative to other images.

The fetchPriority property allows you to signal high or low priority image fetches. This can be useful when applied to elements to signal images that are "important" to the user experience early in the loading process.

@pmoreno-rodriguez
Copy link
Contributor Author

Hi @rhukster.

I've created a new attribute for images, to complete the new features that html provides for image loading. Along with this pull request you have three more, in case you want to accept them and include them in the Grav system:

I hope you give it the thumbs up and Grav gets a little better every day.

@rhukster rhukster merged commit 346d194 into getgrav:develop Oct 25, 2024
6 checks passed
@pmoreno-rodriguez pmoreno-rodriguez deleted the feature/fetchpriority-attribute branch March 22, 2025 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants