Better REST API Featured Images

Version: 1.2.1

Version : 1.2.1

Current Version

Adds a top-level field with featured image data including available sizes and URLs to the post object returned by the REST API.

Overall Rating
WordPress Rating

Note: You probably do not need this plugin. The REST API already supports adding the query param ?_embed to your URL and the response will then include all “embedded media”, including the featured image, and the data you get there is exactly what this plugin gives you. The only reasons to use this plugin at this point are if you prefer to have the featured image data in a top level field in the response rather than among other embedded media in the _embedded field, and if you always want the featured image data in the response rather than having to ask for it with ?_embed. I still use this plugin because I do usually want both these things, but definitely give ?_embed a try before using this plugin. ? Version 2 of the WordPress REST API returns a featured_media field (formerly featured_image) on the post object by default, but this field is simply the image ID. This plugin adds a better_featured_image field to the post object that contains the available image sizes and urls, allowing you to get this information without making a second request. It takes this: "featured_media": 13, And turns it into this: "featured_media": 13, "better_featured_image": { "id": 13, "alt_text": "Hot Air Balloons", "caption": "The event featured hot air balloon rides", "description": "The hot air balloons from...

The plugin ran into some errors

Sorry, pal! The plugin couldn’t pass all our tests. No hard feelings, right?

Tests done by WP Hive test script Results
  • Minimal impact on memory usage Learn more how we collect the data
    Download Iocn
  • Minimal impact on pagespeed Learn more how we collect the data
    Download Iocn
  • No PHP errors, warning, notices Learn more how we collect the data
    Download Iocn
  • No Javascript issues Learn more how we collect the data
    Download Iocn
  • Latest PHP 7.2.16 compatible Learn more how we collect the data
    Download Iocn
  • Latest WordPress 5.3 compatible Learn more how we collect the data
    Download Iocn
  • Optimized database footprint Learn more how we collect the data
    Download Iocn
  • No activation errors Learn more how we collect the data
    Download Iocn
  • No resource errors Learn more how we collect the data
    Download Iocn
  • Frequently updated Learn more how we collect the data
    Download Iocn

All the plugins are tested on the same server with exactly same configuration via test script that automatically activates and logs the data WP Hive shows.

  • All the scripts run on a VPS with 8 CPU cores and 8 GB of RAM.
  • The test sites are hosted on Google Cloud VM instances, one site/plugin per instance. The machine type is n1-standard-1. The server is a 8 core CPU with 8GB of RAM.
  • The test sites are hosted on Apache/2 server and they are tested on PHP 7.2.16 & WordPress 5.3.
  • The database server is MySQL 8.0.15 and the default PHP memory limit is 256MB.
Download Iocn

42K

Total Downloads

Installation Iocn

7K

Active Installation

Calendar Iocn

6 years

On WordPress

Growth Iocn

0.0%

Growth Rate

Support Iocn

1

Support Thread

Rating Iocn

11

Ratings on WordPress

Download Iocn

00

Downloads This Week

Update Iocn

00

Ago Last Updated

About Better REST API Featured Images

Description

Note: You probably do not need this plugin. The REST API already supports adding the query param ?_embed to your URL and the response will then include all “embedded media”, including the featured image, and the data you get there is exactly what this plugin gives you. The only reasons to use this plugin at this point are if you....

Read More >>

Performance

Memory Usage

  • Download Iocn Average memory usage is -7.26 KB
  • Download Iocn This is less than 99% plugins

Page Speed

  • Download Iocn Average page loading time is
    increased by 0.02 s
  • Download Iocn This is faster than 99% plugins

Speed Test Benchmark

  • Before plugin activation
  • After plugin activation

Pages

Benchmark

Change

Average Change
- 0.02s
/(front page)
- 0.03s
/wp-admin/edit-comments.php
+ 0.02s
/wp-admin/edit-tags.php?taxonomy=category
- 0.02s
/wp-admin/edit.php
+ 0.08s
/wp-admin/index.php
- 0.07s
/wp-admin/media-new.php
+ 0.01s
/wp-admin/options-discussion.php
- 0.01s
/wp-admin/options-writing.php
- 0.01s
/wp-admin/post-new.php
- 0.09s
/wp-admin/post-new.php?post_type=page
+ 0.03s
/wp-admin/upload.php
- 0.1s

Memory Usage Memory Usage Benchmark

  • Before plugin activation
  • After plugin activation

Pages

Benchmark

Change

Average Change
- 7.26KB
/ (front page)
- 8.32KB
/wp-admin/edit-comments.php
+ 0.64KB
/wp-admin/edit-tags.php?taxonomy=category
+ 0.77KB
/wp-admin/edit.php
+ 0.78KB
/wp-admin/index.php
+ 0.78KB
/wp-admin/media-new.php
+ 0.66KB
/wp-admin/options-discussion.php
+ 0.7KB
/wp-admin/options-writing.php
- 11.04KB
/wp-admin/post-new.php
+ 2.62KB
/wp-admin/post-new.php?post_type=page
+ 1.77KB
/wp-admin/upload.php
+ 0.64KB

User Rating of Better REST API Featured Images from WP Hive Users

5Star Icon

Overall Quality

Measures the overall quality

5Star Icon

Ease of Use

How easy it is to use?

5Star Icon

Quality of Support

Satisfied or not?

5 Star Icon

Value for Money

Is it good bang for the buck?

5Star Icon

Features

Is it feature riched?

Stats Stats

Download Statistics

Plugin Version Usage

Stats More

Database Tables

The plugin has added 0 additional options to your WordPress.

WP-Options

The plugin has added 0 additional options to your WordPress website.

Errors

Frequently Updated

  • The plugin has not been updated in the last 90 days.

Read more how WP Hive determines this data.

Show Off Your Plugin

Download Iocn

PHP 7.2.16

Powered by WP Hive

Download Iocn

WP 5.3

Powered by WP Hive

Icon

Love using this plugin?

Why don’t you compare the plugin side by side
with another plugin

Ratings & Reviews

Overall Quality
5
Ease of Use
5
Quality of Support
5
Value for Money
5
Features
5

Social Reviews and Recommendations Widgets Review Write a Review

5

4

3

2

1

Icon

Are you an author
of this plugin?

Write a Review

Overall Quality

Ease of Use

Quality of Support

Value for Money

Features

Stina Gunnarsdottir
5/5
Overall
Easy of Use
Features
Quality of Support
Value for Money

Pros & Cons: This is a review from the Editorial staff of WP Hive for test purposes. We are sure the plugin made it with good heart for WordPress users and we want to encourage his/her efforts by the first review.

Overall:The plugin should be working great. Even if it does not, we respect the time and effort. If you are using this plugin - leave a review with more information.

Changelog