<?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 MediaFile.php</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2025</copyright>
    <generator>Java</generator><item>
        <title>8788dbbd585b42284320d64cc932f3c875eab6b2 - &#55358;&#56598; Rector and PHPCS fixes</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/File/MediaFile.php#8788dbbd585b42284320d64cc932f3c875eab6b2</link>
        <description>&#55358;&#56598; Rector and PHPCS fixes

            List of files:
            /dokuwiki/inc/File/MediaFile.php</description>
        <pubDate>Wed, 06 May 2026 19:32:03 +0000</pubDate>
        <dc:creator>splitbrain &lt;86426+splitbrain@users.noreply.github.com&gt;</dc:creator>
    </item>
<item>
        <title>dd9e8e5ea54469964faab99223a61bd48146ac42 - fix EXIF-rotated images shown cropped in previews, closes #4482</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/File/MediaFile.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/File/MediaFile.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>fe9d054b302adfcd4618e9e33079c36cccb90d10 - Feed creation refactoring</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/File/MediaFile.php#fe9d054b302adfcd4618e9e33079c36cccb90d10</link>
        <description>Feed creation refactoringThis breaks up the humongous functions from feed.php into multipleclasses. To keep compatibility with existing Plugin events, the basicprinciple of how the feed is assembled has not been changed:* depending on the given mode and other options lose arrays of items are  gathered* these items are then converted (again based on the various options)  into proper FeedItems* the FeedItems are then added to the FeedThe conversion from loosely typed item data to something more structuredis now done by the FeedItemProcessor classes. Some very basic tests havebeen added. It does not cover erverything but covers more than before(which was nothing).Manual testing before merging this is highly recommended. I am notconfident that I ported over everything correctly.No new features have been added, but especially media support could andshould be improved in the future.

            List of files:
            /dokuwiki/inc/File/MediaFile.php</description>
        <pubDate>Mon, 15 Jan 2024 15:30:56 +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/File/MediaFile.php#6c16a3a9aa602bb7e269fb6d5d18e1353e17f97f</link>
        <description>Use str_starts_with/str_ends_with

            List of files:
            /dokuwiki/inc/File/MediaFile.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>90fb952c4c30c09c8446076ba05991c89a3f0b01 - code style: operator spacing</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/File/MediaFile.php#90fb952c4c30c09c8446076ba05991c89a3f0b01</link>
        <description>code style: operator spacing

            List of files:
            /dokuwiki/inc/File/MediaFile.php</description>
        <pubDate>Thu, 31 Aug 2023 20:38:07 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>177d6836e2f75d0e404be9c566e61725852a1e07 - coding style: control flow whitespaces</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/File/MediaFile.php#177d6836e2f75d0e404be9c566e61725852a1e07</link>
        <description>coding style: control flow whitespaces

            List of files:
            /dokuwiki/inc/File/MediaFile.php</description>
        <pubDate>Thu, 31 Aug 2023 12:22:35 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>445164b22323486c135f5d94a4a5f1cf160655e7 - Apply rector fixes to inc/File</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/File/MediaFile.php#445164b22323486c135f5d94a4a5f1cf160655e7</link>
        <description>Apply rector fixes to inc/File

            List of files:
            /dokuwiki/inc/File/MediaFile.php</description>
        <pubDate>Tue, 29 Aug 2023 12:30:21 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>79a2d7845d5e5e48fe3be8f192717de9294aaba5 - import classes, replace dbglog, simplify, remove unused statements, and other warnings from IntelliJ</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/File/MediaFile.php#79a2d7845d5e5e48fe3be8f192717de9294aaba5</link>
        <description>import classes, replace dbglog, simplify, remove unused statements, and other warnings from IntelliJupdate phpdocs,rename dokuwiki/Ui/Draft to PageDraft

            List of files:
            /dokuwiki/inc/File/MediaFile.php</description>
        <pubDate>Wed, 05 Jan 2022 23:59:00 +0000</pubDate>
        <dc:creator>Gerrit Uitslag &lt;klapinklapin@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>0603f506f0268170ae59481c161bf882d14307f9 - rename namespace Media to File</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/File/MediaFile.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/File/MediaFile.php</description>
        <pubDate>Wed, 13 Jan 2021 18:23:43 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
</channel>
</rss>
