<?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 Display.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/inc/Ui/Media/Display.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/inc/Ui/Media/Display.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>6c16a3a9aa602bb7e269fb6d5d18e1353e17f97f - Use str_starts_with/str_ends_with</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Ui/Media/Display.php#6c16a3a9aa602bb7e269fb6d5d18e1353e17f97f</link>
        <description>Use str_starts_with/str_ends_with

            List of files:
            /dokuwiki/inc/Ui/Media/Display.php</description>
        <pubDate>Thu, 14 Sep 2023 20:32:18 +0000</pubDate>
        <dc:creator>fiwswe &lt;fiwswe@fwml.de&gt;</dc:creator>
    </item>
<item>
        <title>e2d055f5c6617b7cc57c19fa727b968f3689e13c - Apply rector fixes to inc/Ui</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Ui/Media/Display.php#e2d055f5c6617b7cc57c19fa727b968f3689e13c</link>
        <description>Apply rector fixes to inc/Ui

            List of files:
            /dokuwiki/inc/Ui/Media/Display.php</description>
        <pubDate>Tue, 29 Aug 2023 13:23:35 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>8e9d8d552be539772cbeac24b9926c495787a940 - minor SVG improvements</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Ui/Media/Display.php#8e9d8d552be539772cbeac24b9926c495787a940</link>
        <description>minor SVG improvements* never try to use slika to resize SVGs - let the browser do it* use object-fit:cover for all images - this properly crops inside the  browser if the backend didn&apos;t (like for SVGs). currently dokuwiki  template only - might be worth moving to default styles* show previews for SVGs in media manager

            List of files:
            /dokuwiki/inc/Ui/Media/Display.php</description>
        <pubDate>Fri, 24 Jun 2022 17:42:21 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>0603f506f0268170ae59481c161bf882d14307f9 - rename namespace Media to File</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Ui/Media/Display.php#0603f506f0268170ae59481c161bf882d14307f9</link>
        <description>rename namespace Media to FileThis is a bit more generic and allows us to have additional Fileabstractions in here later.

            List of files:
            /dokuwiki/inc/Ui/Media/Display.php</description>
        <pubDate>Wed, 13 Jan 2021 18:23:43 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>9453716dc4e120c7e2ebc01fba4d27c53f881e0c - readded $jump mechanism, removed unused functions</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Ui/Media/Display.php#9453716dc4e120c7e2ebc01fba4d27c53f881e0c</link>
        <description>readded $jump mechanism, removed unused functions

            List of files:
            /dokuwiki/inc/Ui/Media/Display.php</description>
        <pubDate>Wed, 06 Jan 2021 21:11:42 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>9a1a86fb4c4dc988a0ae52a94b833ea5663fc319 - fix entity definition</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Ui/Media/Display.php#9a1a86fb4c4dc988a0ae52a94b833ea5663fc319</link>
        <description>fix entity definition

            List of files:
            /dokuwiki/inc/Ui/Media/Display.php</description>
        <pubDate>Wed, 06 Jan 2021 19:32:49 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>79b008230541e34a988cd3273ba7267a1eef6d28 - reenable the option to display a relative namespace for media files</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Ui/Media/Display.php#79b008230541e34a988cd3273ba7267a1eef6d28</link>
        <description>reenable the option to display a relative namespace for media filesThis is used when searching for media files

            List of files:
            /dokuwiki/inc/Ui/Media/Display.php</description>
        <pubDate>Wed, 06 Jan 2021 19:19:36 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>4f33babf5709281d9b8753c9620d1257ced36f67 - make use of the new media file classes</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Ui/Media/Display.php#4f33babf5709281d9b8753c9620d1257ced36f67</link>
        <description>make use of the new media file classesThis just crudely replaces the calls to the old functions with usage ofthe new classes. This however already works and makes (manual) testingof these classes easier.Next steps: remove the old media_printfile and media_printfile_thumbsmethods and fix/drop/replace the tests depending on them. search_mediamight be obsolete, too already.For search results the display classes need to show full namespaces.This needs to be fixed again. No idea about the jump mechanism, yet.

            List of files:
            /dokuwiki/inc/Ui/Media/Display.php</description>
        <pubDate>Tue, 05 Jan 2021 20:37:38 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>bf9684bcc7bd75b3f7fdb046fa31df49d9ff65e4 - first go a refactoring the media manager</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Ui/Media/Display.php#bf9684bcc7bd75b3f7fdb046fa31df49d9ff65e4</link>
        <description>first go a refactoring the media managerFor now this only adds code. This takes care of encapsulating media fileinformation and has some UI classes to display those files in thefullscreen media manager and the popup.The code is untested and not integrated to run, yet. Next step is toreplace the parts in the media manager to call this new code (and fixany bugs).I tried not to change much HTML yet. This can be done later. For now thegoal is to just make it run again.

            List of files:
            /dokuwiki/inc/Ui/Media/Display.php</description>
        <pubDate>Tue, 05 Jan 2021 19:52:15 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
</channel>
</rss>
