{"id":2961,"date":"2016-05-11T12:41:59","date_gmt":"2016-05-11T12:41:59","guid":{"rendered":"http:\/\/musilda.cz\/?p=2961"},"modified":"2016-05-11T12:41:59","modified_gmt":"2016-05-11T12:41:59","slug":"odstraneni-duplicitni-obrazku-ve-wordpressu","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/odstraneni-duplicitni-obrazku-ve-wordpressu\/","title":{"rendered":"Odstran\u011bn\u00ed duplicitn\u00edch obr\u00e1zk\u016f ve WordPressu"},"content":{"rendered":"

\u010cas od \u010dasu se stane, \u017ee se dostanete k webu, kter\u00fd obsahuje \u0159adu duplicitn\u00edch obr\u00e1zk\u016f a pot\u0159ebujete je smazat. Konkr\u00e9tn\u00ed p\u0159\u00edklad, mohou b\u00fdt m\u00e9dia, po odinstalov\u00e1n\u00ed WPML.<\/p>\n

Proch\u00e1zet celou knihovnu m\u00e9di\u00ed a odstra\u0148ovat jeden obr\u00e1zek po druh\u00e9m, je velmi zdlouhav\u00e9 a pr\u00e1ce je to otravn\u00e1.<\/p>\n

Co je ve WordPressu neuv\u011b\u0159iteln\u00e1 z\u00e1le\u017eitost, je, \u017ee na ka\u017ed\u00fd probl\u00e9m se najde n\u011bjak\u00fd plugin. A tento plugin se jmenuje<\/p>\n

Media Deduper<\/h2>\n

\"banner-772x250\"<\/a><\/p>\n

 <\/p>\n

Plugin st\u00e1hnete na WordPress.org<\/a>\u00a0a po instalaci, mus\u00edte nejprve vytvo\u0159it index v\u0161ech obr\u00e1zk\u016f:<\/p>\n

\"media-deduper\"<\/a><\/p>\n

 <\/p>\n

Po indexaci v\u00e1m plugin zobraz\u00ed v\u00fdpis v\u0161ech duplicitn\u00edch obr\u00e1zk\u016f a vy je tak m\u016f\u017eete promazat. M\u00e1te jen dv\u011b mo\u017enosti. Bu\u010f vyberete ru\u010dn\u011b, kter\u00fd obr\u00e1zek chcete smazat, nebo je ozna\u010d\u00edte hromadn\u011b a vyberete smazat v\u0161echny, ter\u00e9 nejsou p\u0159i\u0159azeny k n\u011bjak\u00e9mu postu.<\/p>\n

\"media-deduper-2\"<\/a><\/p>\n

 <\/p>\n

Super na pluginu je to, \u017ee nemus\u00edte prohled\u00e1vat knihovnu m\u00e9di\u00ed, ale rovnou se v\u00e1m vyp\u00ed\u0161\u00ed duplicity a po smaz\u00e1n\u00ed se v\u00e1m ji\u017e samostatn\u00fd obr\u00e1zek nevypisuje, tak\u017ee jen ma\u017eete a ma\u017eete a ma\u017eete a ma\u017ee…<\/p>\n

 <\/p>\n","protected":false},"excerpt":{"rendered":"

\u010cas od \u010dasu se stane, \u017ee se dostanete k webu, kter\u00fd obsahuje \u0159adu duplicitn\u00edch obr\u00e1zk\u016f a pot\u0159ebujete je smazat. Konkr\u00e9tn\u00ed p\u0159\u00edklad, mohou b\u00fdt m\u00e9dia, po odinstalov\u00e1n\u00ed WPML. Proch\u00e1zet celou knihovnu m\u00e9di\u00ed a odstra\u0148ovat jeden obr\u00e1zek po druh\u00e9m, je velmi zdlouhav\u00e9 a pr\u00e1ce je to otravn\u00e1. Co je ve WordPressu neuv\u011b\u0159iteln\u00e1 z\u00e1le\u017eitost, je, \u017ee na ka\u017ed\u00fd<\/p>\n","protected":false},"author":1,"featured_media":2962,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[126,235],"class_list":["post-2961","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-pluginy","tag-duplicitni-obrazky","tag-media-deduper"],"_links":{"self":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/2961"}],"collection":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/comments?post=2961"}],"version-history":[{"count":0,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/2961\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media\/2962"}],"wp:attachment":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media?parent=2961"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/categories?post=2961"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/tags?post=2961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}