<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : FAO Twiebie - Slimbox + Imagescaling plugin (siena)</title>
		<link>https://www.cotonti.com</link>
		<description>Laatste forum onderwerpen</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Wed, 15 Apr 2026 10:11:48 -0000</pubDate>

		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	<br />
	It is starting to function.. thx twiebster..</p>
]]></description>
			<pubDate>Wo, 08 Aug 2012 12:43:15 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=6992&d=0#post35095]]></link>
		</item>
		<item>
			<title>Twiebie</title>
			<description><![CDATA[<p>
	Try to put this in the header.tpl instead of in the js.js file:</p>
<pre class="brush:jscript;">
&lt;script type="text/javascript"&gt;
    $().ready(function () {
        $(".fancybox").fancybox();
    });
&lt;/script&gt;</pre>
<p>
	And the BBcode like this:</p>
<pre class="brush:plain;">
&lt;a class="fancybox" href="https://www.cotonti.com/$1"&gt;&lt;img src="https://www.cotonti.com/$1" alt="" /&gt;&lt;/a&gt;
&lt;a class="fancybox" href="https://www.cotonti.com/$1"&gt;&lt;img src="https://www.cotonti.com/$2" alt="" /&gt;&lt;/a&gt;</pre>
]]></description>
			<pubDate>Di, 07 Aug 2012 19:08:10 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=6992&d=0#post35093]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	Yes.. tried placing it between:</p>
<pre class="brush:java;">
$().ready(function() {  });</pre>
<p>
	and outside of it. no result.</p>
]]></description>
			<pubDate>Di, 07 Aug 2012 17:25:22 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=6992&d=0#post35090]]></link>
		</item>
		<item>
			<title>Twiebie</title>
			<description><![CDATA[<p>
	Did you initialize the script?</p>
<pre class="brush:php;">
$(".fancybox").fancybox();</pre>
]]></description>
			<pubDate>Ma, 06 Aug 2012 16:03:27 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=6992&d=0#post35086]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	Will drop a line here when done, so you can see the results of your teaching :)</p>
<p><strong>Added 3 weeks later:</strong></p><p>
	Im probably doing shit wrong, but I followed the tut to the letter.. doesnt work..</p>
<p>
	So my question; will this work to when you adapt bb code for it?<br /><br />
	In ur example, the class is set on the &lt;a href=https://www.cotonti.com/..&gt; but when I look at the bb code, the default scale class is set on the &lt;img=.. /&gt;</p>
<p>
	&lt;a href="https://www.cotonti.com/$1"&gt;&lt;img src="https://www.cotonti.com/$1" alt="" class="scale"/&gt;&lt;/a&gt;</p>
<p>
	Now, the scale thing didnt work to begin with, but when i change it to fancybox nothing happens, when I set fancybox to a href, it still doesnt work.</p>
<p>
	http://www.fap-clan.com and look at the curiosity topic. :(</p>
<p>
	Can some one tell this noobie what he is doing wrong?</p>
]]></description>
			<pubDate>Thu, 19 Jul 2012 15:18:18 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=6992&d=0#post34989]]></link>
		</item>
		<item>
			<title>Kort</title>
			<description><![CDATA[<p>
	Thank you guys. Good luck with your projects!</p>
]]></description>
			<pubDate>Thu, 19 Jul 2012 08:44:38 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=6992&d=0#post34984]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	thx kort..</p>
]]></description>
			<pubDate>Thu, 19 Jul 2012 07:52:22 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=6992&d=0#post34983]]></link>
		</item>
		<item>
			<title>pieter</title>
			<description><![CDATA[<p>
	This topic was moving down, and because of the risque of loosing this info. I have put it in docs with Kort as author.<br />
	@Kort, feel free to change it.</p>
<p>
	After acception you will find it <a href="http://www.cotonti.com/docs/help/fancybox_integration">here</a></p>
]]></description>
			<pubDate>Thu, 19 Jul 2012 06:57:19 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=6992&d=0#post34982]]></link>
		</item>
		<item>
			<title>Twiebie</title>
			<description><![CDATA[<blockquote>
	<a href="https://www.cotonti.com/forums?m=posts&amp;p=34968#34968">#34968</a> <strong>pieter: </strong><br /><p>
		Thx Kort,  can you put this into documentation?</p>
</blockquote>
<p>
	Indeed, before it gets lost in the forums.</p>
]]></description>
			<pubDate>Ma, 16 Jul 2012 13:35:00 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=6992&d=0#post34970]]></link>
		</item>
		<item>
			<title>fraze</title>
			<description><![CDATA[<p>
	That's awesome Kort, thank you.</p>
]]></description>
			<pubDate>Ma, 16 Jul 2012 08:52:30 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=6992&d=0#post34969]]></link>
		</item>
		<item>
			<title>pieter</title>
			<description><![CDATA[<p>
	Thx Kort,  can you put this into documentation?</p>
]]></description>
			<pubDate>Ma, 16 Jul 2012 08:29:13 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=6992&d=0#post34968]]></link>
		</item>
		<item>
			<title>Kort</title>
			<description><![CDATA[<p>
	Frankly, back in 2011 I was also convinced that a Fancybox plugin for Cotonti Genoa was a good idea. I made it wasting a lot of time to transfer the Fancybox options into the plugin config and coding all IF / ELSE statements. This quickly brought me to an understanding that a much easier way is to naturally integrate it via the skin and use options from within the init strings (see below for advantages). Except these, any project might require a different lightbox-clone, so making (and supporting, which is different from making!) each plugin is just nonsense and a huge waste of time. So for you, guys, two small tuts:</p>
<p>
	<span style="color:#0000cd;"><strong>1. Fancybox Integration</strong></span></p>
<p>
	1.1. Download at https://github.com/fancyapps/fancyBox</p>
<p>
	1.2. Copy contents of the source folder into themes/nemesis/js/fancybox/</p>
<p>
	1.3. Include the plugin in nemesis.rc.php:</p>
<pre class="brush:php;">
cot_rc_add_file($cfg['themes_dir'].'/'.$usr['theme'].'/js/fancybox/jquery.fancybox.css');
cot_rc_add_file($cfg['themes_dir'].'/'.$usr['theme'].'/js/fancybox/jquery.fancybox.pack.js');</pre>
<p>
	1.4. Initialize the plugin in themes/nemesis/js/js.js:</p>
<pre class="brush:jscript;">
$(".fancybox").fancybox();</pre>
<p>
	1.5. Add .fancybox class to any element you need like:</p>
<pre class="brush:xml;">
&lt;a href="https://www.cotonti.com/#" title="Lorem Ipsum" class="fancybox"&gt;&lt;img src="https://www.cotonti.com/#" alt="" /&gt;&lt;/a&gt;</pre>
<p>
	1.6. Find options for the init string here: http://fancyapps.com/fancybox/</p>
<p>
	<span style="color:#0000cd;"><strong>2. PrettyPhoto Integration</strong></span></p>
<p>
	2.1. Download at http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/</p>
<p>
	2.2. Unzip the package into themes/nemesis/js/prettyphoto/</p>
<p>
	2.3. Include:</p>
<pre class="brush:php;">
cot_rc_add_file($cfg['themes_dir'].'/'.$usr['theme'].'/js/prettyphoto/css/prettyPhoto.css');
cot_rc_add_file($cfg['themes_dir'].'/'.$usr['theme'].'/js/prettyphoto/js/jquery.prettyPhoto.js');</pre>
<p>
	2.4. Init (example):</p>
<pre class="brush:jscript;">
$("a[rel^='prettyPhoto']").prettyPhoto({
	show_title: true,
	social_tools: 0
});</pre>
<p>
	2.5. Use selectors (mavatar example):</p>
<pre class="brush:xml;">
&lt;ul id="listGal"&gt;
&lt;!-- BEGIN: PAGEMAVATAR_ROW --&gt;
	&lt;li&lt;!-- IF {PAGE_SLIDER_MAVATARNUM} % 4 == 0 --&gt; class="endItem"&lt;!-- ENDIF --&gt;&gt;&lt;a href="https://www.cotonti.com/{PAGE_SLIDER_MAVATAR}" rel="prettyPhoto[pp_gal]" title="{PAGE_SLIDER_MAVATARDESC}"&gt;&lt;img src="https://www.cotonti.com/datas/galleries/thumb_{PAGE_SLIDER_MAVATARFILE}" alt="" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;!-- END: PAGEMAVATAR_ROW --&gt;
&lt;/ul&gt;</pre>
<p>
	2.6. Spice up with the options: http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/documentation/</p>
<p>
	<strong><span style="color:#0000cd;">Advantages of the non-plugin approach:</span></strong></p>
<p>
	- no need for a plugin and no need for a plugin maker</p>
<p>
	- use any selector and any options for any selector</p>
<p>
	- modal windows, galleries etc.</p>
<p>
	- easy upgrade (just copy / overwrite source files)</p>
<p>
	- use CSS/JS consolidation capability</p>
]]></description>
			<pubDate>Ma, 16 Jul 2012 06:48:47 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=6992&d=0#post34967]]></link>
		</item>
		<item>
			<title>fraze</title>
			<description><![CDATA[<blockquote>
	<a href="https://www.cotonti.com/forums?m=posts&amp;p=34959#34959">#34959</a> <strong>Kort: </strong><br /><p>
		Why would you guys need to:</p>
	<ol><li>
			Use outdated script?</li>
		<li>
			Use plugin and limit yourselves with just one class rather than including the script via theme resource file?</li>
	</ol><p>
		Any lightbox clone (like Fancybox, PrettyPhoto etc.) can be used via theme rc.php and configured via js.js. It's a routine thing giving you any class or rel, galleries, modal windows, flash, youtube videos &amp; more, taking 10 minutes of work and definitely not worth the time you spend of the useless plugin.</p>
	<p>
		 </p>
</blockquote>
<p>
	tbh i'm not a coder and welcome any help from people in the community.  As long as someone uses it, it's not useless.</p>
<p>
	Maybe if it's so simple you'd consent to writing up some articles on how to do it?  I for one would really like to have a gallery based on this but don't know how to code it.</p>
]]></description>
			<pubDate>Za, 14 Jul 2012 09:23:24 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=6992&d=0#post34963]]></link>
		</item>
		<item>
			<title>Twiebie</title>
			<description><![CDATA[<blockquote>
	<a href="https://www.cotonti.com/forums?m=posts&amp;p=34959#34959">#34959</a> <strong>Kort: </strong><br /><p>
		definitely not worth the time you spend of the useless plugin.</p>
</blockquote>
<p>
	If people are using it succesfully, and it does what they want it to do, it's not useless, is it.</p>
]]></description>
			<pubDate>Vr, 13 Jul 2012 23:15:17 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=6992&d=0#post34961]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	1. coz it's easy</p>
<p>
	2. we're not all professionals like you. I have (mediockre) html/css knowledge and have to do with things like this. It gets the job done.</p>
]]></description>
			<pubDate>Vr, 13 Jul 2012 23:01:34 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=6992&d=0#post34960]]></link>
		</item>
		<item>
			<title>Kort</title>
			<description><![CDATA[<p>
	Why would you guys need to:</p>
<ol><li>
		Use outdated script?</li>
	<li>
		Use plugin and limit yourselves with just one class rather than including the script via theme resource file?</li>
</ol><p>
	Any lightbox clone (like Fancybox, PrettyPhoto etc.) can be used via theme rc.php and configured via js.js. It's a routine thing giving you any class or rel, galleries, modal windows, flash, youtube videos &amp; more, taking 10 minutes of work and definitely not worth the time you spend of the useless plugin.</p>
]]></description>
			<pubDate>Vr, 13 Jul 2012 20:58:41 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=6992&d=0#post34959]]></link>
		</item>
		<item>
			<title>Twiebie</title>
			<description><![CDATA[It works with the class 'scale', so if you add class="scale" to those images it should work.]]></description>
			<pubDate>Vr, 13 Jul 2012 19:55:39 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=6992&d=0#post34958]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	works like a charm.. can you link this to other parts? so an image from, let's say page avatar plugin, get's picked up by this plugin too?</p>
<p>
	 </p>
]]></description>
			<pubDate>Vr, 13 Jul 2012 15:39:26 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=6992&d=0#post34952]]></link>
		</item>
		<item>
			<title>fraze</title>
			<description><![CDATA[<p>
	worked perfectly, thanks man :)</p>
]]></description>
			<pubDate>Di, 03 Jul 2012 17:53:50 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=6992&d=0#post34841]]></link>
		</item>
		<item>
			<title>Twiebie</title>
			<description><![CDATA[<p>
	Give it another go, fraze.</p>
<p>
	<a href="http://www.cotonti.com/extensions/files-media/slimbox_siena">http://www.cotonti.com/extensions/files-media/slimbox_siena</a></p>
]]></description>
			<pubDate>Di, 03 Jul 2012 01:43:39 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=6992&d=0#post34837]]></link>
		</item>
		<item>
			<title>fraze</title>
			<description><![CDATA[<p>
	no probs - it would just be cool to have :)</p>
]]></description>
			<pubDate>Zo, 01 Jul 2012 07:38:16 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=6992&d=0#post34832]]></link>
		</item>
		<item>
			<title>Twiebie</title>
			<description><![CDATA[<p>
	The version on Cotonti is the wrong one.</p>
<p>
	I'll update that ASAP when I have time, sorry for the inconvenience.</p>
]]></description>
			<pubDate>Za, 30 Jun 2012 21:03:42 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=6992&d=0#post34831]]></link>
		</item>
		<item>
			<title>fraze</title>
			<description><![CDATA[<p>
	not quite sure whats up with this but:</p>
<ol><li>
		it wont install because the slimbox.install.php appears to be incorrect.  when the install runs you get an ajax error and instead of amending the IMG bbcodes it actually adds another IMG bbcode into the database that has all the sql expressions included</li>
	<li>
		i removed these from the file and ran the install which then worked.  however now whenever you go to any url of the site you get a simple 'Wrong URL' come up from the script and nothing else.</li>
</ol><p>
	I can see you have this working on your own website so just wondered how it was working there?</p>
]]></description>
			<pubDate>Za, 30 Jun 2012 19:55:36 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=6992&d=0#post34830]]></link>
		</item>
	</channel>
</rss>