Vylepšená knihovna médií

**Enhanced Media Library**
„https://cs.wordpress.org/plugins/enhanced-media-library/“:https://cs.wordpress.org/plugins/enhanced-media-library/

The plugin will be handy for those who need to manage a lot of media files.

*Categories and Tags for media items*

Various media categories. With the plugin installed you immediately obtain Media Categories for categorizing and filtering media items in WordPress admin. This feature alone will save you hours of searching through a media library with even as few as 100 images.

Media items categorizing can be useful for the front-end as well. To insert media galleries or audio / video playlists based on media categories you have to use the familiar shortcode format like

[gallery media_category="5" category="2" limit="10" monthnum="12" year="2015" orderby="title" order="DESC"]

Metadata v taxonomiích

**Category and Taxonomy Meta Fields**
„https://wordpress.org/plugins/wp-custom-taxonomy-meta/“:https://wordpress.org/plugins/wp-custom-taxonomy-meta/

Plugin to add custom meta fields within built in and custom taxonomies. Simply add the desired fields by going through WP-admin -> Settings ->Taxonomy Meta .
You can add following fields with category/taxonomy:
– Image
– Input Text
– Textarea
– Checkbox

**Taxonomy Metadata**
„https://wordpress.org/plugins/taxonomy-metadata/“:https://wordpress.org/plugins/taxonomy-metadata/

This plugin implements the metadata infrastructure for taxonomy terms, so you can add custom metadata (by key) to tags, categories, and other taxonomies. The majority of the code is from sirzooro’s submission to the WordPress Core Trac. The rest of the plugin is simply some hacky glue to make this work without modifying the Core. It does not implement any UI for taxonomy term metadata.

**Meta for taxonomies**
„https://wordpress.org/plugins/meta-for-taxonomies/“:https://wordpress.org/plugins/meta-for-taxonomies/

Add meta for any taxonomies. Meta is attached to taxonomy context and not terms, this way allow to have metas different for the same term on 2 different taxonomies. This plugin don’t any interface on WordPress ! Only somes methods for developpers.

**Taxonomy Images**
„https://wordpress.org/plugins/taxonomy-images/“:https://wordpress.org/plugins/taxonomy-images/

Associate images from your media library to categories, tags and custom taxonomies.

**Carbon Fields**
„https://wordpress.org/plugins/carbon-fields/“:https://wordpress.org/plugins/carbon-fields/

Developer-oriented library for WordPress custom fields for all types of WordPress content.
Carbon fields is a plugin that can be used as a library for easy creation of custom fields in the WordPress administration panel.
Can be created for post types, taxonomy terms, users, comments, options, navigation menus and even widgets.

Responzivní image maps

**Responsive Image Maps**
„https://wordpress.org/plugins/responsive-image-maps/“:https://wordpress.org/plugins/responsive-image-maps/
Makes image maps responsive by packaging the RWD Image Maps jQuery plugin for use in WordPress.

Vymazání nepoužitých obrázků

Při uploadu obrázku (není-li „speciálně ošetřeno“:http://www.studiograsshopper.ch/code-snippets/remove-wordpress-defaultmedia-image-sizes/) se automaticky vytváří několik různých formátů téhož.
Na webu, kde se často publikuje, je pak adresář /uploads rychle zaplněn tisíci obrázků, což se napříjemně projeví třeba při zálohování.

Rešení je **DNUI Delete not used image** plugin
„DNUI Delete not used image“:DNUI Delete not used image
„http://www.nicearma.com/delete-not-used-image-wordpress-dnui/“:http://www.nicearma.com/delete-not-used-image-wordpress-dnui/

This plugin will help you to find all image in the database that are not being used/unused and give you the oportunity to cleanup the database and the server space.

You will only delete not used/unused image (based in the logic of a blog site, so dont worry about delete image used.

Automatický náhledový obrázek

**Auto Post Thumbnail**
„http://wordpress.org/plugins/auto-post-thumbnail/“:http://wordpress.org/plugins/auto-post-thumbnail/

Automatically generate the Post Thumbnail (Featured Thumbnail) from the first image in post or any custom post type only if Post Thumbnail is not set.

If the post thumbnail is already present, the plugin will do nothing. If you don’t want a post thumbnail for some post with images, just add a custom field skip_post_thumb to the post and the plugin will restrain itself from generating post thumbnail. The plugin also provides a Batch Processing capability to generate post thumbnails for already published posts.

**Další pluginy**
„http://beginnersbook.com/2013/09/set-default-thumbnail-featured-fallback-image-wordpress-automatically/“:http://beginnersbook.com/2013/09/set-default-thumbnail-featured-fallback-image-wordpress-automatically/
„http://wpfreesetup.com/fix-featured-image-issues-wordpress-plugins/“:http://wpfreesetup.com/fix-featured-image-issues-wordpress-plugins/

*nebo pomocí funkcí:*

/—code php
ID);
if (!$already_has_thumb) {
$attached_image = get_children( „post_parent=$post->ID&post_type=attachment&post_mime_type=image&numberposts=1“ );
if ($attached_image) {
foreach ($attached_image as $attachment_id => $attachment) {
set_post_thumbnail($post->ID, $attachment_id);
}
}
}
}
add_action(‚the_post‘, ‚autoset_featured‘);
add_action(‚save_post‘, ‚autoset_featured‘);
add_action(‚draft_to_publish‘, ‚autoset_featured‘);
add_action(‚new_to_publish‘, ‚autoset_featured‘);
add_action(‚pending_to_publish‘, ‚autoset_featured‘);
add_action(‚future_to_publish‘, ‚autoset_featured‘);
?>
\—

*alternativně*

/—code php
function set_first_as_featured($attachment_ID){
$post_ID = get_post($attachment_ID)->post_parent;
if(!has_post_thumbnail($post_ID)){
set_post_thumbnail($post_ID, $attachment_ID);
}
}
add_action(‚add_attachment‘, ‚set_first_as_featured‘);
add_action(‚edit_attachment‘, ‚set_first_as_featured‘);
\—

On every upload / edit attachment, function checks if the post already has featured image. If it has not, image in question is set as featured. Every next picture will be ignored (since post already has featured image).

*případně*

/—code php
wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), ‚thumbnail‘ )[0];
\—

„Get The First Image From a Post »“:http://css-tricks.com/snippets/wordpress/get-the-first-image-from-a-post/

Automatické stažení náhledů videa z videoserverů

**Video Thumbnails**
„http://wordpress.org/extend/plugins/video-thumbnails/“:http://wordpress.org/extend/plugins/video-thumbnails/

Video Thumbnails makes it easy to automatically display video thumbnails in your template. When you publish a post, this plugin will find the first video embedded and locate the thumbnail for you. Thumbnails can be saved to your media library and set as a featured image automatically. There’s even support for custom post types and custom fields!

Adresy náhledových obrázků na YouTube:

img.youtube.com/vi/VIDEO_ID/#.jpg

# 1,2,3 – 120×90 px
# 0 – 480×360 px

(Použito např. na „abeceda-anglictiny.cz“:http://abeceda-anglictiny.cz/)

Uživatelské pozadí stránky nebo příspěvku

**Background Per Page**
„http://wordpress.org/extend/plugins/background-per-page/“:http://wordpress.org/extend/plugins/background-per-page/

Allows you to set a custom background per page (or post) as well as set up a default background for all other pages/posts.

– Add a background image
– Options for vertical & horizontal repeating
– Fade out the bottom edge of your background image
– Choose background colour

Editor náhledových obrázků

**Post Thumbnail Editor**
„http://wordpress.org/extend/plugins/post-thumbnail-editor/“:http://wordpress.org/extend/plugins/post-thumbnail-editor/

To meet the needs of themes where the post-thumbnails have random and capricious sizes (which causes wordpress to crop images simply from the middle (either chopping off the top and bottom or chopping off the sides), this plugin attempts to give the users an interface to manually fix those thumbnail and random images.

Ořezy obrázků

Pokud jste někde vytvářeli či upravovali šablonu, určitě jste se setkali i s náhledovými obrázky článků. Díky funkcím wordpressu je nemusíte nahrávat ořezané či zmenšené, script to udělá za vás. Jeden obrázek je tak možné vkládat ve více velikostech. Základní jsou thumbnail (150, 150), medium (300, 300), large (1024, 1024) a full (bez zmenšení). Vytvářet […]