<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Upper / Lowercase Issue for File Extensions - wpDiscuz Media Uploader				            </title>
            <link>https://gvectors.com/forum/media-uploader/upper-lowercase-issue-for-file-extensions/</link>
            <description>WordPress Plugins Support Forum</description>
            <language>en-US</language>
            <lastBuildDate>Wed, 22 Jul 2026 22:27:11 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Upper / Lowercase Issue for File Extensions</title>
                        <link>https://gvectors.com/forum/media-uploader/upper-lowercase-issue-for-file-extensions/#post-7619</link>
                        <pubDate>Sat, 03 Mar 2018 12:00:04 +0000</pubDate>
                        <description><![CDATA[We&#039;ve already fixed this problem. Please wait for the next update, it&#039;s coming very soon.]]></description>
                        <content:encoded><![CDATA[<p>We've already fixed this problem. Please wait for the next update, it's coming very soon.</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/media-uploader/">wpDiscuz Media Uploader</category>                        <dc:creator>Astghik</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/media-uploader/upper-lowercase-issue-for-file-extensions/#post-7619</guid>
                    </item>
				                    <item>
                        <title>Upper / Lowercase Issue for File Extensions</title>
                        <link>https://gvectors.com/forum/media-uploader/upper-lowercase-issue-for-file-extensions/#post-7611</link>
                        <pubDate>Sat, 03 Mar 2018 09:51:17 +0000</pubDate>
                        <description><![CDATA[Hello wpDiscuz Media Uploader-Team!For UNIX OS environments, which is truly most the case for most hosted Servers, Files / Images uploaded not correctly handled afterwards.Image itself is pr...]]></description>
                        <content:encoded><![CDATA[<p>Hello wpDiscuz Media Uploader-Team!</p><p>For UNIX OS environments, which is truly most the case for most hosted Servers, Files / Images uploaded not correctly handled afterwards.</p><p>Image itself is presented correclty, but the larger version of the Image, opened by a click on the Image, fails regulary because of the differently written extension.</p><p>Example:<br />Image stored on the Server is named<br />wp-content/uploads/2018/02/20180224_184857_22504_1.JPG<br />(Upper Case extension)<br />Image linked is named<br />wp-content/uploads/2018/02/20180224_184857_22504_1.jpg<br />(Lower Case extension)<br /><br />=&gt; resulting into HTTP 404 on Unix / Linix OS.</p><p>My currenty workaround:</p><pre>== wpdiscuz-media-uploader\class.WpdiscuzMediaUploader.php<br />$ext = pathinfo($fName, PATHINFO_EXTENSION);<br />=&gt;<br />// Stores files with Lower Case Extension.<br />$ext = strtolower(pathinfo($fName, PATHINFO_EXTENSION));
== wpdiscuz-media-uploader\utils\class.WMUHelper.php<br />$url = wp_get_attachment_url($attachment-&gt;ID);<br />=&gt;</pre><p>// Set file name extension to Lower Case.<br />$url = wp_get_attachment_url($attachment-&gt;ID);<br />$filetype = wp_check_filetype($url);<br />$url = str_replace(".".$filetype, ".".strtolower($filetype), $url);</p><p>===<br />So I'm doing this update currently for all new versions of your Plugin.<br />There is warning: all files written in the past with Upper Case extension, which are part of the upload-directory, are still coming with this extension. They need to being renamed first...</p><p>I assume that your testing your Plugin within your Localhost Windows environment. So you will never experience this problem here. Better to make the Q/A on Linux Servers too...</p><p>Best regards,</p><p>Carsten</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/media-uploader/">wpDiscuz Media Uploader</category>                        <dc:creator>Carsten</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/media-uploader/upper-lowercase-issue-for-file-extensions/#post-7611</guid>
                    </item>
							        </channel>
        </rss>
		