Use the Attachment Image!
Use the Attachment Image! allows the first attachment image associated with a post to be displayed nearly anywhere on a blog, simply by adding a special function to a loop. This plugin is a perfect compliment for…
Betrachten Sie eine Alternative
Use the Attachment Image! shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites, is rated 5/5 and was last updated 6 years ago, and scores 31/100 on our health check.
- Kleine Benutzerbasis (20+ aktive Installationen)
- Bisher sehr wenige Bewertungen
- Kein Update in 5 Jahren
- Nur getestet bis WordPress 5.7 (letzt ist 7.1)
Tägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Use the Attachment Image! stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| attachment image | >100 |
| image | >100 |
| magazine | >100 |
| thumbnail | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 5 from 3 reviews
About Use the Attachment Image!
From the official readme · v1.02Beschreibung
Use the Attachment Image! allows the first attachment image associated with a post to be displayed nearly anywhere on a blog, simply by adding a special function to a loop. This plugin is a perfect compliment for magazine themes.
This plugin can include images of nearly any size, simply by using the included <?php use_the_attachment_image(); ?> function. See the installation page for more details regarding usage.
Installation
To utilize this plugin, you will first need to upload use_attachment_image.php to the /wp-content/plugins/ directory on your web server; and activate the plugin through the ‘Plugins’ menu in WordPress.
Next, place <?php use_the_attachment_image() ?> (will include a link to the post), or <?php use_the_attachment_image_nolink() ?> (will NOT include a link to the post) in your template to include a thumbnail of the first attachment image. Note the function must be inside of a WordPress loop.
By default, this function will include a thumbnail image. To include images of different sizes, use the respective functions below. You may also use <?php use_the_attachment_image_nolink() ?> in place of <?php use_the_attachment_image() ?> here.
Thumbnail <?php use_the_attachment_image('thumbnail'); ?>
Medium <?php use_the_attachment_image('medium'); ?></p>
Large <?php use_the_attachment_image('large'); ?></p>
Full <?php use_the_attachment_image('full'); ?>
20 px <?php use_the_attachment_image(array(20,20)); ?>
Feel free to replace 20px with another specific size to best meet your needs. Note that WordPress will scale a larger image down to give you the size you desire here.
It is possible to include a thumbnail image from each post in your RSS feed. To do this, simply add this code to your theme’s functions.php file. From cd harrison.
<?php
if (function_exists('use_the_attachment_image')) {
function insertAttachmentRSS($content) {
global $post;
{ $content = use_the_attachment_image() . $content; }
return $content;
}
add_filter('the_excerpt_rss', 'insertAttachmentRSS');
add_filter('the_content_feed', 'insertAttachmentRSS');
}
?>
Änderungsprotokoll
1.02
- The code that includes the post image in an RSS feed was taken out of the plugin and moved to the readme file; as it did not previously work when it was included in a separate file from the plugin file as was suggested in the plugin instructions.
1.01
- Fixed the function name in the documentation. In a few cases, a function that did not exist was referenced. Thanks, Matias for the report. The actual plugin was not changed.
1.0
- Erste Freigabe.
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Fragen und Antworten
Use the Attachment Image!: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Use the Attachment Image! free?
Yes. Use the Attachment Image! is free to download and use from the official WordPress.org plugin directory.
Is Use the Attachment Image! safe to use in 2026?
Use the Attachment Image! shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites, is rated 5/5 and was last updated 6 years ago, and scores 31/100 on our health check.
How many websites use Use the Attachment Image!?
Use the Attachment Image! is active on 20+ WordPress websites and has been downloaded 5,460 times since it launched in February 2010. It was downloaded 52 times in the last 30 days.
Does Use the Attachment Image! work with WordPress 7.1?
Use the Attachment Image! is officially tested up to WordPress 5.7.22, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Use the Attachment Image! last updated?
The latest version, 1.02, was released on April 9, 2021 (6 years ago).
Who makes Use the Attachment Image!?
Use the Attachment Image! is developed and maintained by Tom Lany.
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte
