Automatically insert images to posts without having to edit the post. Supports renaming images for search engine optimization (SEO).
Author: | Karthikeyan Karunanidhi (profile at wordpress.org) |
WordPress version required: | 2.6.2 |
WordPress version tested: | 3.6.1 |
Plugin version: | 3.1.3 |
Added to WordPress repository: | 04-11-2008 |
Last updated: | 19-09-2013
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 20 |
Rated by: | 1 |
Plugin URI: | http://www.karthikeyankarunanidhi.com |
Total downloads: | 26 495 |
Active installs: | 20+ |
Click to start download
|
Automatically adds images to posts without having to edit the post. You can choose to have images selected at random or using the POST ID or POST SLUG.
To insert images into posts you no longer have to insert them one by one using the editor. All you have to do is name them appropriately and upload them to a folder & the plugin will automatically insert them into the corresponding post.
Want to add more images to the post? All you have to do is put more images into the folder and they will show up on the post without having to edit the post.
Need to remove a image from a post? Then just delete the image and it will no longer appear in the post.
No more hassle of editing the post.
Images tagged with the POSTID are displayed on that post. If the thumbnail option is enabled the plugin will use thumbnails in the post to link to the full size images. The plugin will automatically create thumbnails when needed.
Usage: Upload images by naming them as 'apiPOSTID'
where ‘POSTID’ is ID of post where the image should be displayed. If you wish to use a different filename format then you can edit the regular expression pattern in the settings page.
Multiple images can be attached to a post simply by ensuring that all of them have the same prefix. For posts that do not have images a default “Image coming soon” image is displayed; this can be disabled from the settings screen.
Example Image Name: 'api66.jpg', 'api66a.jpeg', 'api66_two.gif', 'api66something'
, etc. Note: When posting multiple images to the same post by naming them with the same ‘apiNNN’ prefix. Avoid numbers immediately after the POSTID. For example: 'api662.gif'
will not work if the ID of the POST is 66; instead name it something like 'api66image2.gif'
. Again, if you wish to use a different filename format then you can edit the regular expression pattern in the settings page.
Demo: Dash of Salt & A Pinch of Love
Author Home: Karthikeyan
Plugin Home: Auto Post Images (API)
Screenshots
Image thumbnail automatically added to post
Settings Page
Full size image displayed when clicked on thumbnail
Using Post-ID to add images to posts
Displaying random images
Using Post-SLUG to add images to posts
Sample images and naming conventions
FAQ
I not sure how to name the images?
- If under “Search Setting” for “How do you want to attach images to a POST?” you choose “Post ID”
- If under “General Settings” the “Image search Regular Expression?” is set to the default “^api__POSTID__[^0-9]+”
- If the POSTID of the post that the images are for is 123 then the images names in the following format will work:
- api123.jpg
- api123something.jpg
- api123_a.jpg
- api123_b.jpg
- The following will not work:
- api123_cat1.jpg
- api123_cat2.jpg
- cat_photo_123.jpg
- api__123__cat.jpg
- If you set “Rename images for SEO?” to “Yes” you should still name the images as described above. The plugin will rename the images for SEO.
I want a feature. Can you add it for me?
Sure. Drop me an email 🙂
How do I not show the default image when there is no image for a post?
- Go to Dashboard
- Click Settings
- Click Auto Post Images (API) Settings
- Select “No” under “Display default image if not image is found?”
- Click “Update Settings”
- Now the default “Image Coming Soon” image is not displayed for posts that do not have images.
- Posts that have images will continue displaying the images as usual
I don’t want to use thumbnails. I want full size images in my posts
- Go to Dashboard
- Click Settings
- Click Auto Post Images (API) Settings
- Select “No” under “Use thumbnails to link to full size images?“
- Click “Update Settings”
- Now the full size images are added to posts instead of thumbnails
Where is the Plugin Admin Panel? Do you expect me to edit the code myself?
- Go to Dashboard
- Go to Settings
- Click Auto Post Images (API) Settings
I want to name the images something other than apiPOSTID ?
Sure. All you have to do is change the regular expression “Image search Regular Expression?“. Just make sure it has POSTID somewhere in the expression so that the plugin knows which images are attached to which post.
Do I name the images differently when SEO is enabled ?
No. You still upload the images using the same filename format specified in “Image search Regular Expression?“. The plugin will use this to search for images associated with the post and then rename them using the posts title.
What image types are supported?
Anything that the browser supports.
How do I change the image position and style
You can customize the image position and style by providing your own CSS classes in the Customize appearance section in the settings page. You can also change the styles in /auto-post-images/css/kkimageinpost.css.
If you like to change where the images are displayed (top, bottom, left, right, center) then providing your own CSS style class here is the best way.
I have a question that is not answered here
Email me. I’ll be happy to answer it.
I want to donate
If you are really thinking about donating… Thanks, I really appreciate it. Instead of donating money just write a few lines about the plugin and link to the plugin (https://wordpress.org/extend/plugins/auto-post-images-api/) and my site (http://www.Karunanidhi.com) or use the following code: '<a href="https://wordpress.org/extend/plugins/auto-post-images-api/">Auto-Post-Images (API)</a> plugin by <a href="http://www.Karunanidhi.com">Karthikeyan</a>'