Read height from the right location.
Fix mime type
Fix preview assignment for Apple devices.
merged ci automatisation aka tentacili into next

Squashed commit of the following:

commit 67ce9490988582174040c984eb14d783a6b4f562
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Dec 5 15:17:07 2012 +0100

    updated template again

commit 1a1f353c3dd9286de70c5126230bdd9080be7c93
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Dec 5 15:12:59 2012 +0100

    updated template

commit 25833d3d47b8e068f498e01ee169d3744119b796
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Dec 5 14:29:07 2012 +0100

    implemented droping of ci dbs

commit 8c427ecd20968819707d2c356028c918458f6f08
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Dec 5 14:03:46 2012 +0100

    changed name

commit 1605a01ab3eafd1bca46500cc2e655f55cf308d5
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Dec 5 13:00:10 2012 +0100

    minor adjustments

commit 0996f201d9fa0577529b446b3619d35ebb4a9550
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Dec 5 10:19:02 2012 +0100

    Removed --deployment opt from bundler

commit 2cda27fde9637783368ae7a32c95b60fcc15b71c
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Dec 5 10:12:41 2012 +0100

    Bundle installs in globals gem directory

commit 5fda87079641376573a8b37071ae55e583569346
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Dec 5 10:01:32 2012 +0100

    Finished deleting jobs

commit 2c9c1e4dd1dd8e484c17a4fb580bbd6c310a0a40
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Dec 5 09:02:41 2012 +0100

    wip deleting jobs by regex

commit 9187b47cd5fd803f04c1b69ba5c985341bfa0cc8
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Dec 4 16:03:17 2012 +0100

    added task and removed quotes

commit 30967ec805ff27cc0cfb0d02eb4660786cb769f8
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Dec 4 15:30:34 2012 +0100

    refactored template_url

commit 5d6ac71fe737effeb65b45c0abf8653beae597d3
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Dec 4 15:21:56 2012 +0100

    small improvement

commit 42c1cb5ef5ab1b3655e226cc5992ac743418dda0
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Dec 4 15:20:10 2012 +0100

    added branch name to job_params and ci_job_name

commit 9f8a6c70f553e6de5b35893237c011476b405d87
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Dec 4 15:06:51 2012 +0100

    Create aggregator works

commit f75bd7bb616982818ed93e9790f5ba57bcbc15ea
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Dec 4 14:51:31 2012 +0100

    started aggregator

commit 276020a8815f60eb7a733e72305829b8340359c2
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Dec 4 14:41:14 2012 +0100

    finished create job template

commit 4df61a55633026e260a7357832f18279a612cee9
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Dec 4 14:39:04 2012 +0100

    Post OK, update not

commit c08ec2b846b1cc75bdd6ca8f868b7187a2e7b97a
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Dec 4 14:17:48 2012 +0100

    passing job_name directly to create_ci_job

commit ed9c89e3568ea28f12cb3ead9af7f51a1c17d257
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Dec 4 14:15:50 2012 +0100

    Passing job name instead of params to update_ci_job

commit b4e105ac33352d0f6f45e2d339dc2527c6da9b59
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Dec 4 14:14:16 2012 +0100

    wip

commit f6d9657bcf1ab08e708bd63e4781c1719343bc0c
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Dec 4 13:54:35 2012 +0100

    wip creating a job template
Randomize temp database connection config file.
Merge branch 'next' of github.com:zhdk/madek into next
Useful message.
[#37763049] image placeholder for TIF and TIFF
Merge branch 'next' of github.com:zhdk/madek into next
Logic error.
Merge branch 'next' of github.com:zhdk/madek into next
Logic mistake.
Merge branch 'next'