| 开发者 | guardafoto |
|---|---|
| 更新时间 | 2026年11月9日 11:24 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[guardafoto]
To force a language for one shortcode instance, use:
[guardafoto lang="es"]
or:
[guardafoto lang="en"]
With lang="auto", or when no language is supplied, GuardaFoto uses Spanish for Spanish WordPress locales and English otherwise. Since 1.1.1 the whole plugin interface — the front-end tool, the dashboard page, the block-editor panel and the classic-editor meta box — is fully translated through the standard WordPress i18n system (text domain guardafoto), shipping with a complete Spanish translation that follows the site's language automatically.
New in 1.1.0 — GuardaFoto inside your dashboard and your editor. The same lookup is now available where you work:
guardafoto folder to the /wp-content/plugins/ directory, or install the ZIP file through Plugins > Add New > Upload Plugin in WordPress.[guardafoto] shortcode.Public YouTube channel and video links, Spotify artist, album, track, playlist, show and episode links, Deezer artist, album, track and playlist links, and Apple Music album and song links are supported. TikTok profile and video links and Instagram post and reel links also work — for those, the tool lists the downloadable video next to the photo or cover. Instagram profile photos cannot be fetched: Meta shows them only to logged-in accounts. A private, deleted or otherwise unavailable item cannot be resolved.
It displays the real image sizes returned by the GuardaFoto API. The largest available size depends on what the source platform publishes. For example, a YouTube video may not have an HD thumbnail, while a channel profile photo may be available up to 1600 x 1600.
Not on its own. The front-end tool stores nothing in the WordPress database and does not save the submitted link or the returned images on the WordPress server. The dashboard tools save nothing either — unless an administrator clicks Import for a photo, in which case WordPress downloads that one file and keeps it in the Media Library as a normal attachment, under the administrator's control. Submitted links are never stored.
Yes — that is what the dashboard side of the plugin is for. Open the GuardaFoto menu, paste a link, and each photo offers Download and Import to Media Library. While you edit a post, the GuardaFoto panel (block editor) or meta box (classic editor) adds two more actions per photo: Import & set as featured image and Import & insert into content. Videos stay download-only: this version does not import videos into the Media Library.
Some public platform pages and image variants cannot be resolved reliably from a visitor's browser alone. GuardaFoto's API performs that lookup centrally, so this plugin stays small and does not need to scrape or connect directly to each platform from WordPress.
Yes. Each shortcode or block instance works independently. The CSS and JavaScript are loaded only on pages where an instance is rendered.
The channel, artist, label, photographer or other original rights holder. GuardaFoto and this plugin do not claim ownership and do not grant reuse rights. Obtain permission from the owner before using an image publicly or commercially.
guardafoto).[guardafoto] shortcode.