Notice: mysqli_real_connect(): Setting mysql connection to use "mlund.dk.mysql.service.one.com" in /customers/d/9/d/mlund.dk/httpd.www/wp-includes/class-wpdb.php on line 2035 Warning: Cannot modify header information - headers already sent by (output started at /customers/d/9/d/mlund.dk/httpd.www/wp-includes/class-wpdb.php:2035) in /customers/d/9/d/mlund.dk/httpd.www/wp-content/plugins/onecom-vcache/vcaching.php on line 604 Warning: Cannot modify header information - headers already sent by (output started at /customers/d/9/d/mlund.dk/httpd.www/wp-includes/class-wpdb.php:2035) in /customers/d/9/d/mlund.dk/httpd.www/wp-content/plugins/onecom-vcache/vcaching.php on line 612

Medier organisering

Medier er det område i admin i WordPress, hvor alle filer, herunder billeder, pdf-filer mm. implementeres.

Sti

Som standard organiseres uploads i mapper efter måneds- og årsbaserede mapper. Dette kan ændres under Indstillinger – Medier.

Kopier

WordPress opretter flere kopier af opload billeder. Miniaturestørrelse anvendes til standard galleri.
Dernæst oprettes medium og store størrelse, hvis disse ikke ønskes oprettet, skrive 0 i felterne.

I functions.php kan man oprette andre billedestørrelser. Inspirationskilde.

add_image_size( 'thumb-small', 130, 130, true );
    add_image_size( 'thumb-standard', 320, 320, true );
    add_image_size( 'thumb-medium', 520, 292, true );
    add_image_size( 'thumb-large', 720, 405, true );
    add_image_size( 'marsvin', 400, 400, true );

Filebird

FileBird gør det muligt, at oprette mapper i medier admin.
I free version kan der oprettes op til 10 mapper.