From: J B. <jm...@no...> - 2009-01-29 21:14:58
|
hi 2 luci I thought this was just a bug - resizeLgImages is not found in shadowbox.js, but handleLgImages is, and it defaults to resize anyway, so strictly speaking neither line here would have any effect. Unless is have a mixed up version of shadowbox in my trunk? (i did one try to update it to v 2.0 but the license wasn't compatible) jonny p.s. i found by putting "&.jpg" on the end of file gallery display links it fools shadowbox into making the right sized box, hence coming across this in my investigations. (& updated doc.tw.o/shadowbox) On 29 Jan 2009, at 20:36, luci aka luciash d' being wrote: > hi, > we have to do this optional (set via admin)... > it is on my ToDo list ;) > > luci > > > On 29/01/09 21:19, jon...@us... wrote: >> Revision: 16465 >> http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=16465&view=rev >> Author: jonnybradley >> Date: 2009-01-29 20:19:41 +0000 (Thu, 29 Jan 2009) >> >> Log Message: >> ----------- >> [FIX] Shadowbox property correction >> >> Modified Paths: >> -------------- >> trunk/templates/header.tpl >> >> Modified: trunk/templates/header.tpl >> =================================================================== >> --- trunk/templates/header.tpl 2009-01-29 18:57:34 UTC (rev 16464) >> +++ trunk/templates/header.tpl 2009-01-29 20:19:41 UTC (rev 16465) >> @@ -143,7 +143,7 @@ >> <script type="text/javascript" src="lib/shadowbox/build/js/adapter/ >> shadowbox-jquery.js" charset="utf-8"></script> >> {/if} >> >> - <script type="text/javascript" src="lib/shadowbox/build/js/ >> shadowbox.js" charset="utf-8"></script> >> + <script type="text/javascript" src="lib/shadowbox/src/js/ >> shadowbox.js" charset="utf-8"></script> >> >> <script type="text/javascript"> >> <!--//--><![CDATA[//><!-- >> @@ -168,7 +168,7 @@ >> handleUnsupported: 'remove', >> loadingImage: 'lib/shadowbox/images/loading.gif', >> overlayBgImage: 'lib/shadowbox/images/overlay-85.png', >> - resizeLgImages: true, >> + handleLgImages: 'resize', >> text: { >> {/literal} >> cancel: '{tr}Cancel{/tr}', >> >> >> This was sent by the SourceForge.net collaborative development >> platform, the world's largest Open Source development site. >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by: >> SourcForge Community >> SourceForge wants to tell your story. >> http://p.sf.net/sfu/sf-spreadtheword >> _______________________________________________ >> Tikiwiki-cvs mailing list >> Tik...@li... >> https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs >> >> > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Tikiwiki-cvs mailing list > Tik...@li... > https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs |