<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Sneek  &#187;  Topic: Get image size warning via theme-options.php ?</title>
		<atom:link href="http://sneekdigital.co.uk/support/topic/get-image-size-warning-via-theme-options-php/feed/" rel="self" type="application/rss+xml" />
		<link>http://sneekdigital.co.uk/support/topic/get-image-size-warning-via-theme-options-php/feed/</link>
		<description></description>
		<pubDate>Tue, 21 May 2013 19:18:37 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://sneekdigital.co.uk/support/topic/get-image-size-warning-via-theme-options-php/#post-393</guid>
					<title><![CDATA[Get image size warning via theme-options.php ?]]></title>
					<link>http://sneekdigital.co.uk/support/topic/get-image-size-warning-via-theme-options-php/#post-393</link>
					<pubDate>Sun, 15 Apr 2012 17:43:31 +0000</pubDate>
					<dc:creator>bgstein</dc:creator>

					<description>
						<![CDATA[
						<p>Just implemented a fresh install using media temple hosting at <a href="http://noahfalck.org.s145712.gridserver.com/" rel="nofollow">http://noahfalck.org.s145712.gridserver.com/</a> and before I have done any customization to the theme I get these errors: </p>
<p>Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in /nfs/c10/h02/mnt/145712/domains/noahfalck.org/html/wp-content/themes/endless/lib/classes/theme-options.php on line 320</p>
<p>Warning: getimagesize(<a href="http://noahfalck.org.s145712.gridserver.com/wp-content/themes/endless/lib/images/logo.png" rel="nofollow">http://noahfalck.org.s145712.gridserver.com/wp-content/themes/endless/lib/images/logo.png</a>) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in /nfs/c10/h02/mnt/145712/domains/noahfalck.org/html/wp-content/themes/endless/lib/classes/theme-options.php on line 320</p>
<p>Is it a bug in the theme or an issue with hosting? Thanks.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://sneekdigital.co.uk/support/topic/get-image-size-warning-via-theme-options-php/#post-394</guid>
					<title><![CDATA[Reply To: Get image size warning via theme-options.php ?]]></title>
					<link>http://sneekdigital.co.uk/support/topic/get-image-size-warning-via-theme-options-php/#post-394</link>
					<pubDate>Sun, 15 Apr 2012 17:49:24 +0000</pubDate>
					<dc:creator>Sneek</dc:creator>

					<description>
						<![CDATA[
						<p>Hi bgstein,</p>
<p>Sorry you&#8217;re having this problem! It&#8217;s a bit of a bug and a bit of an issue with the hosting. If you open the ./endless/lib/classes/theme-options.php and find the function &#8216;get_logo()&#8217; replace it with this code:</p>
<pre><code>public function get_logo()
{
	$logo = $this->options['general']['logo'];
	
	// No logo? Return the site name.		
	if( empty( $logo ) )
		return get_bloginfo( 'name' );
	
	// Search the url for the wp-content part. Then use that for relative path
	preg_match( '/\wp-content\/\S+/i', $logo, $matches );
	
	// Prepend the ABSPATH
	$image_path = ABSPATH . $matches[0];
	
	// Is it really there?
	if( ! file_exists( $image_path ) ) {
		return get_bloginfo( 'name' );
	} else {
		$image_info = getimagesize( $image_path );
		return '&lt;img src="' . $logo . '" ' . $image_info[3] . ' /&gt;';
	}	
	
}
</code></pre>
<p>We are just doing some more extensive testing on the next update which includes this fix. Sorry you had this problem and hope our speedy support rectifies your thoughts on it!</p>
<p>Thanks, Cris</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://sneekdigital.co.uk/support/topic/get-image-size-warning-via-theme-options-php/#post-404</guid>
					<title><![CDATA[Reply To: Get image size warning via theme-options.php ?]]></title>
					<link>http://sneekdigital.co.uk/support/topic/get-image-size-warning-via-theme-options-php/#post-404</link>
					<pubDate>Sun, 15 Apr 2012 17:54:45 +0000</pubDate>
					<dc:creator>bgstein</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks for the incredibly fast support! That appears to have fixed the issue. As I customize this theme I will let you know if I run into any other issues.</p>
<p>Thanks again,<br />
Brian</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://sneekdigital.co.uk/support/topic/get-image-size-warning-via-theme-options-php/#post-449</guid>
					<title><![CDATA[Reply To: Get image size warning via theme-options.php ?]]></title>
					<link>http://sneekdigital.co.uk/support/topic/get-image-size-warning-via-theme-options-php/#post-449</link>
					<pubDate>Thu, 19 Apr 2012 19:38:03 +0000</pubDate>
					<dc:creator>webnh</dc:creator>

					<description>
						<![CDATA[
						<p>I get the same warning and even though I used the code you posted above it does not help&#8230;     here is the URL   <a href="http://www.zenautomat.com" rel="nofollow">http://www.zenautomat.com</a></p>
<p>of course it goes away if I remove the logo&#8230;</p>
<p>Thanks for any help you can give me with this..</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://sneekdigital.co.uk/support/topic/get-image-size-warning-via-theme-options-php/#post-452</guid>
					<title><![CDATA[Reply To: Get image size warning via theme-options.php ?]]></title>
					<link>http://sneekdigital.co.uk/support/topic/get-image-size-warning-via-theme-options-php/#post-452</link>
					<pubDate>Fri, 20 Apr 2012 09:03:47 +0000</pubDate>
					<dc:creator>Gaz</dc:creator>

					<description>
						<![CDATA[
						<p>Hey Webnh,</p>
<p>Please can you upgrade to the latest version 1.2.0 available to download from your &#8216;Downloads&#8217; area in Themeforest. This will fix this bug and you will also get some nice new enhancements.</p>
<p>Let us know if you have any more questions.</p>
<p>Thanks, Gaz</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

