{"id":836,"date":"2013-07-16T19:59:03","date_gmt":"2013-07-16T19:59:03","guid":{"rendered":"http:\/\/musilda.cz\/?p=836"},"modified":"2013-07-16T19:59:03","modified_gmt":"2013-07-16T19:59:03","slug":"drag-and-drop-nahledovy-obrazek-wordpress-plugin","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/drag-and-drop-nahledovy-obrazek-wordpress-plugin\/","title":{"rendered":"Drag and drop n\u00e1hledov\u00fd obr\u00e1zek WordPress plugin"},"content":{"rendered":"
Po del\u0161\u00ed dob\u011b jsem narazil na zaj\u00edmav\u00fd plugin, kter\u00fd vyu\u017e\u00edv\u00e1 drag and drop (t\u00e1hni a pus\u0165) technologie, tentokr\u00e1t pro n\u00e1hledov\u00e9 obr\u00e1zky. Pokud si plugin nainstalujete, m\u00edsto odkazu P\u0159idat n\u00e1hledov\u00fd obr\u00e1zek, uvid\u00edte \u010dtvercov\u00fd metabox se dv\u011bma tla\u010d\u00edtky, pro v\u00fdb\u011br obr\u00e1zku z galerie, nebo z po\u010d\u00edta\u010de. Co v\u0161ak d\u011bl\u00e1 tento plugin odli\u0161n\u00fdm od v\u0161ech ostatn\u00edch, je mo\u017enost p\u0159et\u00e1hnout obr\u00e1zek ze slo\u017eky po\u010d\u00edta\u010de do metaboxu. N\u00e1hledov\u00fd obr\u00e1zek se nahraje na web a z\u00e1rove\u0148 se vygeneruj\u00ed i dal\u0161\u00ed velikosti n\u00e1hledov\u00fdch obr\u00e1zk\u016f. Pokud ji\u017e m\u00e1te vybran\u00fd n\u00e1hledov\u00fd obr\u00e1zek a do boxu p\u0159et\u00e1hnete jin\u00fd, automaticky se nahraje a ulo\u017e\u00ed jako aktu\u00e1ln\u00ed. V administraci pluginu je tak\u00e9 mo\u017en\u00e9 nastavit, jak\u00e9 typy obr\u00e1zk\u016f je mo\u017en\u00e9 nahr\u00e1vat. M\u016f\u017eete tak zablokovat nap\u0159\u00edklad png.<\/p>\n