<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in fetch_imagetoken.test.php</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2025</copyright>
    <generator>Java</generator><item>
        <title>dd9e8e5ea54469964faab99223a61bd48146ac42 - fix EXIF-rotated images shown cropped in previews, closes #4482</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/_test/tests/lib/exe/fetch_imagetoken.test.php#dd9e8e5ea54469964faab99223a61bd48146ac42</link>
        <description>fix EXIF-rotated images shown cropped in previews, closes #4482JPEGs with EXIF orientation 5/6/7/8 were rendered cropped in themediamanager detail view, the image diff view and the fullscreendetail page: getimagesize() / JpegMeta report raw (rotation-unaware)pixel dimensions, and passing both w and h to fetch.php defaults tocenter-crop.- Bump splitbrain/slika to 1.1, which ships ImageInfo: a rotation-  aware, metadata-only dimension simulator mirroring Adapter&apos;s  fluent API (autorotate/resize/crop).- Add fit=1 to fetch.php: when both w and h are given, route to  media_resize_image() (bbox fit) instead of media_crop_image().  Token hashes only (id, w, h) so existing tokens stay valid.- Add MediaFile::getDisplayDimensions($w, $h, $crop) which delegates  to ImageInfo and returns the dims fetch.php would produce.- Add Display::getDetailHtml() and retire media_preview() / the old  media_image_preview_size() helper. media_tab_view and MediaDiff  now share the Display-based renderer.- Rewrite tpl_img() (lib/tpl/*/detail.php) to use MediaFile dims +  fit=1 URL; drops the manual ratio math.- Tests: MediaFileTest covers the dims math, DisplayTest covers the  detail-view HTML (rotated dims, rev-vs-timestamp URL selection,  structure), fetch_imagetoken gains a fit-token compat test.  Fixture _test/data/media/wiki/exif-orient-6.jpg: 20x30 JPEG with  EXIF orientation 6.

            List of files:
            /dokuwiki/_test/tests/lib/exe/fetch_imagetoken.test.php</description>
        <pubDate>Thu, 23 Apr 2026 18:04:20 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>e32b1b0ffe5e0c48ff8faed9c74099599659774c - Fix PHPUnit fatal errors compatibility with void.</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/_test/tests/lib/exe/fetch_imagetoken.test.php#e32b1b0ffe5e0c48ff8faed9c74099599659774c</link>
        <description>Fix PHPUnit fatal errors compatibility with void.

            List of files:
            /dokuwiki/_test/tests/lib/exe/fetch_imagetoken.test.php</description>
        <pubDate>Thu, 01 Oct 2020 16:35:44 +0000</pubDate>
        <dc:creator>Syntaxseed &lt;825423+syntaxseed@users.noreply.github.com&gt;</dc:creator>
    </item>
<item>
        <title>1c33cec37215d0c964cf961bdbc49ae7db3657e6 - add needed type hints for phpunit8</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/_test/tests/lib/exe/fetch_imagetoken.test.php#1c33cec37215d0c964cf961bdbc49ae7db3657e6</link>
        <description>add needed type hints for phpunit8This will break a lot of plugin tests, but can&apos;t be avoided

            List of files:
            /dokuwiki/_test/tests/lib/exe/fetch_imagetoken.test.php</description>
        <pubDate>Thu, 04 Feb 2021 19:41:37 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>a38a6f25d7e46f47a8f358bb16c766f5b96dae45 - fix some minor typos in fetch_imagetoken.test.php</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/_test/tests/lib/exe/fetch_imagetoken.test.php#a38a6f25d7e46f47a8f358bb16c766f5b96dae45</link>
        <description>fix some minor typos in fetch_imagetoken.test.php

            List of files:
            /dokuwiki/_test/tests/lib/exe/fetch_imagetoken.test.php</description>
        <pubDate>Tue, 21 May 2013 19:41:40 +0000</pubDate>
        <dc:creator>Klap-in &lt;klapinklapin@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>3e8bad3a1f8b5d065e170bb12dd224bf18de6897 - add some dependency checks with test skips to fetch tests and tests which use TestResponse::headers</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/_test/tests/lib/exe/fetch_imagetoken.test.php#3e8bad3a1f8b5d065e170bb12dd224bf18de6897</link>
        <description>add some dependency checks with test skips to fetch tests and tests which use TestResponse::headers

            List of files:
            /dokuwiki/_test/tests/lib/exe/fetch_imagetoken.test.php</description>
        <pubDate>Fri, 22 Mar 2013 18:49:11 +0000</pubDate>
        <dc:creator>Christopher Smith &lt;chris@jalakai.co.uk&gt;</dc:creator>
    </item>
<item>
        <title>f56bb251b5bdb3bb4f2793e921cf479d2402a47c - add test for fetch using image tokens</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/_test/tests/lib/exe/fetch_imagetoken.test.php#f56bb251b5bdb3bb4f2793e921cf479d2402a47c</link>
        <description>add test for fetch using image tokens

            List of files:
            /dokuwiki/_test/tests/lib/exe/fetch_imagetoken.test.php</description>
        <pubDate>Fri, 22 Mar 2013 18:02:15 +0000</pubDate>
        <dc:creator>Christopher Smith &lt;chris@jalakai.co.uk&gt;</dc:creator>
    </item>
</channel>
</rss>
