             qry.addColumn('otherVersions',[]);
 
 			loop query="#locals#" {
-				row=qry.addrow();
+				var row=qry.addrow();
 				qry.setCell("provider","local",row);
 				loop list="#locals.columnlist()#" item="local.k" {
             		qry.setCell(k,locals[k],row);

		<cfargument name="src" required="yes" type="string">
		<cfargument name="width" required="yes" type="number" default="80">
		<cfargument name="height" required="yes" type="number" default="40">
		<cfset local.id=hash(src&":"&width&"x"&height)>
		<cfset mimetypes={png:'png',gif:'gif',jpg:'jpeg'}>

		<cfif len(src) ==0>
			<cfset ext="gif">
		<cfelse>
		    <cfset ext=listLast(src,'.')>
		    <cfif ext==src>
				<cfset ext="png"><!--- base64 encoded binary --->
			</cfif>
		</cfif>

	<cfset cache=true>

	<!--- copy and shrink to local dir --->
	<cfset tmpfile=expandPath("{temp-directory}/admin-ext-thumbnails/__"&id&"."&ext)>
	
	<cfset fileName = id&"."&ext>
	<cfif cache && fileExists(tmpfile)>
		<cfset request.refresh = false>
		<cffile action="read" file="#tmpfile#" variable="b64">

					local.externals=data.extensions.otherVersions;
					if(isArray(locals) && locals.len() && isArray(externals) && externals.len()) {
						loop array=locals item="local.lv" {
							local.lvs=variables.toVersionSortable(lv);
							local.exists=false;
							for(var i=externals.len();i>=1;i--) {
								if(variables.toVersionSortable(externals[i])==lvs) exists=true;
							}

							if(!exists) {
