<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://fbb.just4test.de/extern.php?action=feed&amp;tid=682&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Informationen für CMS/made simple / Gallery und MagicZoom]]></title>
		<link>http://www.cmsmadesimple.de/forum/viewtopic.php?id=682</link>
		<description><![CDATA[Die aktuellsten Beiträge in Gallery und MagicZoom.]]></description>
		<lastBuildDate>Thu, 07 Apr 2011 19:50:48 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Gallery und MagicZoom]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=6056#p6056</link>
			<description><![CDATA[<p>Cool!!!!</p>]]></description>
			<author><![CDATA[dummy@example.com (mörml)]]></author>
			<pubDate>Thu, 07 Apr 2011 19:50:48 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=6056#p6056</guid>
		</item>
		<item>
			<title><![CDATA[Re: Gallery und MagicZoom]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=6054#p6054</link>
			<description><![CDATA[<p>Das nenne ich mal einfach, Danke Server-Pate.&#160; <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/big_smile.png" alt="big_smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (markus)]]></author>
			<pubDate>Thu, 07 Apr 2011 18:45:22 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=6054#p6054</guid>
		</item>
		<item>
			<title><![CDATA[Re: Gallery und MagicZoom]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=6050#p6050</link>
			<description><![CDATA[<p>Sehr sogar, danke dafür.</p>]]></description>
			<author><![CDATA[dummy@example.com (Wurst2008)]]></author>
			<pubDate>Thu, 07 Apr 2011 17:18:34 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=6050#p6050</guid>
		</item>
		<item>
			<title><![CDATA[Gallery und MagicZoom]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=6046#p6046</link>
			<description><![CDATA[<p>Dies ist ein kleines HowTo, welches zeigen soll, wie einfach es ist Tools wie MagicZoom mit Gallery einzusetzen.</p><p><a href="http://www.magictoolbox.com/magiczoom/" rel="nofollow">Was ist MagicZoom?</a></p><p><strong>So sieht es hinterher aus:(wenigstens bei mir)</strong><br /><span class="postimg"><img src="http://forum.cmsmadesimple.de/img/members/90/magiczoom.jpg" alt="magiczoom.jpg" /></span><br />Beim Hovern mit der Maus über das mittlere(linke) Vorschaubild wird rechts das gezoomte Bild gezeigt.<br />Unterhalb(dahinter) des Zoombildes kann wie üblich der Galeriekommentar stehen. Er wird durch das Zoombild überdeckt und weich eingeblendet. Das kann letztendlich jeder handhaben wie er will.</p><p><strong>Was braucht man:</strong><br />1) Die Javascriptdatei von Magiczoom(Link oben) Magiczoom ist nicht kostenlos!<br />2) Das <a href="http://dev.cmsmadesimple.org/projects/supersizer/" rel="nofollow">Plugin Supersizer</a>. Da wir hier ja 3 Bilder haben, und nicht wie üblich nur 2, muss das mittlere(Hoverbild) mit Supersizer erzeugt werden.<br />3) Etwas CSS für den <em>Style</em><br />4) Eine Gallery Template</p><p><strong>Und so geht&#039;s:</strong><br />Ich setze mal voraus, dass das Modul Gallery bereits installiert ist.<br />Supersizer sollte im Ordner /plugins/ sein.</p><p>Neue Template anlegen.</p><div class="codebox"><pre class="vscroll"><code>{if !empty($module_message)}&lt;h4&gt;{$module_message|escape}&lt;/h4&gt;{/if}
{if !empty($gallerytitle)}&lt;h3&gt;{$gallerytitle}&lt;/h3&gt;{/if}

{foreach from=$images item=image name=imglist}
{* Hiermit wird das erste Bild aus dem Array $images gezeigt *}
{if $smarty.foreach.imglist.first}
&lt;a href=&quot;{$image-&gt;file|escape:&#039;url&#039;|replace:&#039;%2F&#039;:&#039;/&#039;}&quot; class=&quot;MagicZoom&quot; 
rel=&quot;zoom-width:400; zoom-height:300; opacity-reverse: false; zoom-fade:true; zoom-fade-in-speed: 1200; zoom-fade-out-speed: 800; selectors-effect-speed: 1200; selectors-effect:fade;&quot; 
id=&quot;zoom&quot; title=&quot;{$image-&gt;comment}&quot;&gt;
&lt;img src=&quot;{supersizer path=$image-&gt;file|escape:&#039;url&#039;|replace:&#039;%2F&#039;:&#039;/&#039; width=&#039;180&#039; url=1}&quot; alt=&quot;{$image-&gt;titlename}&quot; width=&quot;180&quot; /&gt;
&lt;/a&gt;

{if !empty($gallerycomment)}
&lt;p class=&quot;bildtext&quot;&gt;{$gallerycomment}
&lt;br /&gt;[{$imagecount}]&lt;/p&gt;
{/if}
{/if}
{/foreach}

{* Die Vorschaubilder *}
&lt;div id=&quot;previewimg&quot;&gt;

{foreach from=$images item=image}
&lt;!-- Vorschaubild --&gt;
{* rev= muss die Referenz auf das mittlere Bild haben, und wird mit Supersizer erzeugt *}
&lt;a href=&quot;{$image-&gt;file|escape:&#039;url&#039;|replace:&#039;%2F&#039;:&#039;/&#039;}&quot; rel=&quot;zoom-id:zoom;&quot; rev=&quot;{supersizer path=$image-&gt;file|escape:&#039;url&#039;|replace:&#039;%2F&#039;:&#039;/&#039; width=&#039;180&#039; url=1}&quot; title=&quot;{$image-&gt;comment}&quot;&gt;
 &lt;img src=&quot;{$image-&gt;thumb|escape:&#039;url&#039;|replace:&#039;%2F&#039;:&#039;/&#039;}&quot; alt=&quot;{$image-&gt;titlename}&quot; title=&quot;{$image-&gt;titlename}&quot; /&gt;
&lt;/a&gt;
{/foreach}

&lt;/div&gt;&lt;!-- /previewimg --&gt;</code></pre></div><p>Im Feld &quot;Template CSS-stylesheet&quot; das CSS einfügen:</p><div class="codebox"><pre class="vscroll"><code>/*
   Magic Zoom v3.1.24 
   Copyright 2011 Magic Toolbox
   Buy a license to use Magic Scroll on your site.
   Go to www.magictoolbox.com/magiczoom/
*/

.MagicZoom img {
border: 0 !important;
padding: 0 !important;
margin: 0 !important;
}

/* Style of zoomed window */
.MagicZoomBigImageCont {
border: none;
}

/* Style of header, activated with &quot;title&quot; attribute in &lt;a&gt; tag */
.MagicZoomHeader {
font-family:Verdana,Arial, sans-serif;
font-size: 11px !important;
line-height: normal !important;
color: #fff;
background-color: #979493;
text-align: center !important;
}

/* Style of small square under mouse */
.MagicZoomPup {
border: 1px solid #aaa;
background: #fff;
cursor: move;
}

/* Style of message box while image is loading */
.MagicZoomLoading {
border: 1px solid #ccc;
background: #fff url(images/ajax-loader.gif) no-repeat 2px 50%;
padding: 4px 4px 4px 24px !important;
margin: 0;
text-decoration: none;
text-align: left;
font-size: 8pt;
font-family: sans-serif;
color: #444;
}


#previewimg           {clear:left; padding:10px 0;}
#previewimg a, 
#previewimg a:visited {float:left; padding:0; margin:0 2px 0 0; text-decoration:none; border:1px solid white;}
#previewimg a:hover   {border-color:#000;}
#previewimg img       {display:block; padding:0; margin:0; border:none;}

a.MagicZoom {float:left; margin-right:20px;}
p#bildtext {float:left; width:250px;}</code></pre></div><p>Im Feld &quot;Template JavaScript&quot; den Aufruf des Javascript einfügen:<br />Setzt voraus, dass magiczoom.js im root DIR /js/ ist. Falls abweichend: anpassen!</p><div class="codebox"><pre><code>&lt;script type=&quot;text/javascript&quot; src=&quot;js/magiczoom.js&quot;&gt;&lt;/script&gt;</code></pre></div><p>Man kann hier natürlich auch ein statisch verlinktes Stylesheet angeben, wenn man das CSS nicht in Gallery haben will.</p><p><strong><span style="color: green">Damit sollte es funktionieren!</span></strong></p><p>Auf der Website von MagicZoom kann man die ganzen Parameter nachlesen. Es können Titel zu jedem Bild gezeigt werden oder die Größe des Zoombildes geändert werden. Die Möglichkeiten sind endlos.<br />Und Nein! Ich bin weder der Entwickler, noch verdiene ich daran Geld. Ich finde es nur toll&#160; <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/lol.png" alt="lol" /> </p><p>Wer die ganzen Parameter nicht im rel=&quot;&quot; Attribut des Links haben will, kann die Konfiguration auch im Template vorher machen:</p><div class="codebox"><pre><code>{literal}
&lt;script type=&quot;text/javascript&quot;&gt;
MagicZoom.options = {
 &#039;opacity&#039;: 30,
 &#039;move-on-click&#039;:true,
 &#039;PARAMETER&#039;: WERT,
};
&lt;/script&gt;
{/literal}</code></pre></div><p><strong>Tipp:</strong><br />Wer für MagicZoom nicht bezahlen will kann auch auf kostenlose Varianten zurückgreifen, wie z.B. <a href="http://www.professorcloud.com/mainsite/cloud-zoom.htm" rel="nofollow">CloudZoom</a><br />Funktioniert im Prinzip genau so.</p><p><em>Das war mein erstes HowTo. Hoffentlich war es einigermaßen verständlich.</em></p>]]></description>
			<author><![CDATA[dummy@example.com (Klenkes)]]></author>
			<pubDate>Thu, 07 Apr 2011 15:52:00 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=6046#p6046</guid>
		</item>
	</channel>
</rss>
