<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — PNG Logo format not accepted]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=4621&amp;type=atom" />
	<updated>2014-03-06T14:38:02Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=4621</id>
		<entry>
			<title type="html"><![CDATA[Re: PNG Logo format not accepted]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19421#p19421" />
			<content type="html"><![CDATA[<p>What I was referring to was the hard coded .jpg in the said php files. PNG is handled fine otherwise.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2014-03-06T14:38:02Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19421#p19421</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: PNG Logo format not accepted]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19419#p19419" />
			<content type="html"><![CDATA[<p>PNG format is handled correctly in FA logos,a s well as *.jpg files. Maybe you have somewhat broken *.png file?<br />Some problems can be encountered only with files using transparent elements (e.g. log_frontaccounting.png in default theme - background is displayed in black), so shuch images should not be used here. </p><p>Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2014-03-06T13:51:52Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19419#p19419</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: PNG Logo format not accepted]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18831#p18831" />
			<content type="html"><![CDATA[<p>The affected file for company is: <strong>admin/company_preferences.php</strong></p><p>On checking the code, only .jpg seems to be referenced everywhere for display usage.</p><p>The above anomaly will probably be there for stock item images as well and the affected file here is: <strong>inventory/manage/items.php</strong>.</p><p>The help strings indicating file types other than .jpg to be allowed for upload are in the language <strong>.po</strong> files.</p><p>The stock item image file is referenced as <strong>.jpg</strong> in <br /><strong>reporting/rep104.php</strong> and <br /><strong>reporting/rep303.php</strong></p><p>The database entry in <strong>sql/en_US-demo.sql</strong> refers to the company logo as:<br /></p><div class="codebox"><pre><code>INSERT INTO `0_sys_prefs` VALUES(&#039;coy_logo&#039;, &#039;setup.company&#039;, &#039;varchar&#039;, 100, &#039;logo_frontaccounting.jpg&#039;);</code></pre></div>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-12-28T16:31:28Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18831#p18831</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[PNG Logo format not accepted]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18825#p18825" />
			<content type="html"><![CDATA[<p>Version 2.3.19</p><p>When I upload an arbitrary file (not *.png, not *.jpg) as logo file in the company settings screen I see an error message: &quot;The logo format must be PNG or JPG format&quot;.</p><p>This indicates either PNG or JPG format is accepted.</p><p>When I use a PNG file here, on invoices the company name disappears in the header, but the logo is not displayed. When I use a JPG file, the logo is displayed correctly. There is no error message while uploading the PNG file.</p><p>The label next to the &quot;choose file&quot; button does indicate &quot;*.JPG&quot;. That is correct.</p><p>I would suggest to either correctly handle PNG format, or simply require *.JPG and not to accept the upload *.PNG. The functionality is a very minor issue, but it takes some time to figure out that the logo must be *.JPG.</p><p>jlinkels</p>]]></content>
			<author>
				<name><![CDATA[jlinkels]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18827</uri>
			</author>
			<updated>2013-12-27T19:21:45Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18825#p18825</id>
		</entry>
</feed>
