<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>E2interactive Forums Forum: (E)2 Photo Gallery Updates - Recent Topics</title>
		<link>http://www.e2interactive.com/forums/forum/e2-photo-gallery-updates</link>
		<description>E2interactive Forums Forum: (E)2 Photo Gallery Updates - Recent Topics</description>
		<language>en-US</language>
		<pubDate>Fri, 30 Jul 2010 16:46:18 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.e2interactive.com/forums/search.php</link>
		</textInput>
		<atom:link href="http://www.e2interactive.com/forums/rss/forum/e2-photo-gallery-updates/topics" rel="self" type="application/rss+xml" />

		<item>
			<title>e2 on "Bug fix on Uploader"</title>
			<link>http://www.e2interactive.com/forums/topic/bug-fix-on-uploader#post-2</link>
			<pubDate>Wed, 28 Feb 2007 06:13:54 +0000</pubDate>
			<dc:creator>e2</dc:creator>
			<guid isPermaLink="false">2@http://www.e2interactive.com/forums/</guid>
			<description>&#60;p&#62;To fix the bug of not being able to log in to the uploader. Modify the following code in the config.php file:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;	$username=&#38;quot;username_here&#38;quot;;	        //Username for accessing image uploader &#60;br /&#62;
	$password=&#38;quot;password&#38;quot;;Â Â Â Â Â 	        //Password to access image uploader&#60;br /&#62;
&#60;/code&#62;&#60;br /&#62;
with&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
	$users[]=&#38;quot;username_here&#38;quot;; 		//Username for accessing image uploader &#60;br /&#62;
	$passw[]=&#38;quot;password&#38;quot;;			//Password to access image uploader	Â Â 	&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Obviously change the username_here and pasword with your own info.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>JS08 on "Navigating gallery with arrowkeys"</title>
			<link>http://www.e2interactive.com/forums/topic/navigating-gallery-with-arrowkeys#post-1071</link>
			<pubDate>Sat, 14 Mar 2009 11:42:04 +0000</pubDate>
			<dc:creator>JS08</dc:creator>
			<guid isPermaLink="false">1071@http://www.e2interactive.com/forums/</guid>
			<description>&#60;p&#62;Hey!&#60;/p&#62;
&#60;p&#62;I am quite new with E2 Photo Gallery. I wanted to be able to navigate the gallery with just the arrow keys. This was because of different size of images the &#34;next&#34; and &#34;previous&#34; buttons change place. And I also noticed the lack of &#34;firstimage&#34; and &#34;lastimage&#34; functions.&#60;/p&#62;
&#60;p&#62;So... I partly rewrote the e2photo2.js-file so that gallery would have new features I wanted it to have. I added firstimage() and lastimage()-functions and the support for arrowkey-navigation. And did some minor changes to previmage() and nextimage()-functions also so that they wouldn't cause errors when trying to go to previous image from the first image or to next image from last image.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;`
// JavaScript Document
function initGallery ( tempgallery, count, first_id, startwidth, startheight ) {
	imggallery = tempgallery;
	if (preloadimg==&#34;yes&#34;){
		for (x=0; x&#38;lt;imggallery.length; x++){
			var myimage=new Image()
			myimage.src=imggallery[x][0]
		}
	}
	thumbnailnum = imggallery.length;
	current_imgid = first_id;
	currentwidth=startwidth;
	currentheight=startheight;
	window.addEvent('load', function() {
		if(thumbnailnum&#38;gt;maxthumbvisible){
			lefthtml = &#34;&#38;lt;div id='leftmore'&#38;gt;
&#60;ul&#62;
&#60;li&#62;&#60;a&#62;&#60;img src='rsrc/buttonblank.gif' /&#62;&#60;/a&#62;&#60;/li&#62;
&#60;/ul&#62;
&#38;lt;/div&#38;gt;&#34;;
			righthtml = &#34;&#38;lt;div id='rightmore'&#38;gt;
&#60;ul&#62;
&#60;li&#62;&#60;a&#62;&#60;img src='rsrc/buttonblank.gif' /&#62;&#60;/a&#62;&#60;/li&#62;
&#60;/ul&#62;
&#38;lt;/div&#38;gt;&#34;;
			$('back').setHTML(lefthtml);
			$('more').setHTML(righthtml);
		}
		var setloadersize = new Fx.Styles('main_image_wrapper',{duration:transspeed,onComplete: function(){loadfirstimage(currentwidth,currentheight)}});
		setloadersize.start({
			'width':imggallery[0][1],
			'height':imggallery[0][2]
		});
	});

}
window.addEvent('domready', function() {
	initGallery( tempgallery, tempgallery.length, tempgallery[0][8], tempgallery[0][1], tempgallery[0][2], 0 );
});

function getstarted(width, height, loadarea, imgindex, img_id, current_imgid){
	checknext(img_id);
	if(current_imgid!=img_id){
		if(firstimagestart==1){
			currentwidth=firstimagewidth;
			currentheight=firstimageheight;
			firstimagestart=0;
		}
		if(nextorprev==1){
			currentwidth=cwidth;
			currentheight=cheight;
			nextorprev=0;
		}

		var resizeDivHeight = new Fx.Styles('main_image_wrapper',{duration:transspeed, onComplete: function(){modifyimage(loadarea, imgindex, img_id);currentheight=height;currentwidth=width;} });
		var fader = new Fx.Style('imgloader','opacity', {duration:fadespeed, onComplete: function(){	resizeDivHeight.start({'height': [currentheight,height],'width': [currentwidth,width]});} });
		fader.start(1,0);
		var fadeiptc = new Fx.Style('iptc_btn','opacity', {duration:transspeed });
		fadeiptc.set(0);
		var titlefade = new Fx.Style('imgtitle','opacity', {duration:transspeed });
		titlefade.set(0);
		fadeout=0
		if(fadeout==0){
		var fademe = new Fx.Style('iptc_info','opacity', {duration:transspeed });
		fademe.set(0);
		fadeout=0;
		}else{
			var fademe = new Fx.Style('iptc_info','opacity', {duration:transspeed });
			fademe.start(1,0);
			fadeout=0
		}
	}
}
function loadfirstimage(currentwidth,currentheight){
	var fadefirst = new Fx.Style('imgloader','opacity', {duration:fadespeed });
	fadefirst.set(0);
	var firsttitlefade = new Fx.Style('imgtitle','opacity', {duration:transspeed });
	firsttitlefade.set(0);
	function setfirstimage(){
		var newHTML = &#34;&#34;;
		$('imgloader').setHTML(newHTML);

		var firsttitle=document.getElementById('imgtitle');
		firsttitle.innerHTML=&#34;&#60;strong&#62;&#34;+tempgallery[0][4]+&#34;&#60;/strong&#62; &#34;+tempgallery[0][7];
		fadefirst.start(0,1);
		//firsttitlefade.start(0,1);
		currentheight=imggallery[0][2];
		currentwidth=imggallery[0][1];
	}
	new Asset.image(imggallery[0][0], {onload: setfirstimage});
}
function nextimage(current_imgid){
	if(typeof tempgallery[Number(current_imgid)+1] !== 'undefined'){//Check that next image exists
		newimgid = Number(current_imgid)+1;
		newwidth =imggallery[newimgid][1]
		newheight =imggallery[newimgid][2]
		newimgindex =imggallery[newimgid][8]
		newimgid = imggallery[newimgid][8]
		cwidth=imggallery[current_imgid][1]
		cheight=imggallery[current_imgid][2]
		checknext(newimgid);
		nextorprev=1;
		getstarted(Number(newwidth), Number(newheight), 'imgloader',Number(newimgindex) ,Number(newimgid) , Number(current_imgid), Number(cwidth), Number(cheight))
	}// end of check
}

function previmage(current_imgid){
	if(typeof tempgallery[Number(current_imgid)-1] !== 'undefined'){//Check that previous image exists
		newimgid = Number(current_imgid)-1;
		newwidth =imggallery[newimgid][1]
		newheight =imggallery[newimgid][2]
		newimgindex =imggallery[newimgid][8]
		newimgid = imggallery[newimgid][8]
		cwidth=imggallery[current_imgid][1]
		cheight=imggallery[current_imgid][2]
		checknext(newimgid);
		nextorprev=1;
		getstarted(Number(newwidth), Number(newheight), 'imgloader',Number(newimgindex) ,Number(newimgid) , Number(current_imgid), Number(cwidth), Number(cheight))
	}// end of check
}
//JS08 Jump to the first image of gallery
function firstimage(){
	newimgid = tempgallery[0][8];
	newwidth =imggallery[newimgid][1]
	newheight =imggallery[newimgid][2]
	newimgindex =imggallery[newimgid][8]
	newimgid = imggallery[newimgid][8]
	cwidth=imggallery[current_imgid][1]
	cheight=imggallery[current_imgid][2]
	checknext(newimgid);
	nextorprev=1;
	getstarted(Number(newwidth), Number(newheight), 'imgloader',Number(newimgindex) ,Number(newimgid) , Number(current_imgid), Number(cwidth), Number(cheight))
}
//JS08 Jump to the last image of gallery
function lastimage(){
	newimgid = tempgallery[tempgallery.length-1][8];
	newwidth =imggallery[newimgid][1]
	newheight =imggallery[newimgid][2]
	newimgindex =imggallery[newimgid][8]
	newimgid = imggallery[newimgid][8]
	cwidth=imggallery[current_imgid][1]
	cheight=imggallery[current_imgid][2]
	checknext(newimgid);
	nextorprev=1;
	getstarted(Number(newwidth), Number(newheight), 'imgloader',Number(newimgindex) ,Number(newimgid) , Number(current_imgid), Number(cwidth), Number(cheight))
}
/********************
 *JS08 added key listeners to document so that the gallery can be navigated with arrowkeys
 * - left -&#38;gt; previous image
 * - right -&#38;gt; next image,
 * - up -&#38;gt; first image
 * - down -&#38;gt; last image
 *******************/
document.onkeypress = function (e){
	if(e.keyCode == 39){ nextimage(current_imgid); }
	else if(e.keyCode == 37){ previmage(current_imgid); }
	else if(e.keyCode == 38){ firstimage(); }
	else if(e.keyCode == 40){ lastimage(); }
}
'&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This far I've only tested this with Firefox 3 and Konqueror 4, so I cannot promise compatibility with other browsers. If you try it out, pleace let me know how it went.&#60;/p&#62;
&#60;p&#62;Edit: Couldn't get that code to show right (n00b), so I try to give link to &#60;a href=&#34;http://www.jinsokukami.net/kuvagalleria/js/e2photo2.js&#34;&#62;e2photo2.js&#60;/a&#62;.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>daniel-san on "Large Image Not Uploaded and Thumbnail not created and not uploaded"</title>
			<link>http://www.e2interactive.com/forums/topic/large-image-not-uploaded-and-thumbnail-not-created-and-not-uploaded#post-1035</link>
			<pubDate>Tue, 24 Feb 2009 15:30:16 +0000</pubDate>
			<dc:creator>daniel-san</dc:creator>
			<guid isPermaLink="false">1035@http://www.e2interactive.com/forums/</guid>
			<description>&#60;p&#62;When I try to do the upload of my photos,I receive this message:&#60;/p&#62;
&#60;p&#62;Large Image Not Uploaded&#60;br /&#62;
Error: Destination directory can't be created. Can't carry on a process&#60;/p&#62;
&#60;p&#62;Thumbnail not created and not uploaded&#60;br /&#62;
Error: Destination directory can't be created. Can't carry on a process&#60;/p&#62;
&#60;p&#62;What do I have wrong?&#60;br /&#62;
What do I do?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>aeskulap on "IE8"</title>
			<link>http://www.e2interactive.com/forums/topic/ie8#post-765</link>
			<pubDate>Thu, 07 Aug 2008 11:12:29 +0000</pubDate>
			<dc:creator>aeskulap</dc:creator>
			<guid isPermaLink="false">765@http://www.e2interactive.com/forums/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
did you test E2 Gallery with IE8 beta?&#60;/p&#62;
&#60;p&#62;I validate it but E2 runs not correct.&#60;/p&#62;
&#60;p&#62;Greetings&#60;br /&#62;
aeskulap
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
