<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="0.91">
    <channel>
        <title>Lightbox &amp;amp; CMS is it possible</title>
        <description>The 10 most recently added comments in the topic &quot;Lightbox &amp;amp; CMS is it possible&quot;</description>
        <link>http://www.freewaytalk.net/</link>
        <lastBuildDate>Wed, 12 Nov 2008 12:32:09 -500</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>Re: Lightbox &amp;amp; CMS is it possible</title>
            <link>http://www.freewaytalk.net/thread/view/7961#m_35728</link>
            <description>&lt;p&gt;Just for people that are interested in this.&lt;/p&gt;

&lt;p&gt;I have been testing out the pre-release version of webyep 1.2.5pr2
and this new version will allow the use of the lightbox effect on multiple itmes in a loop.&lt;/p&gt;

&lt;p&gt;Images in a loop are now grouped into Lightbox groups to be viewed as a slideshow (next/prev buttons).&lt;/p&gt;

&lt;p&gt;In other words if you place a webyep image in a webyep loop as normal, and make the thumbnail checkbox ticked.
Then when you create more images via the loop and as long as you have the lightbox folder installed in the webyep system folder as per the installation instruction then you will have a lightbox gallery with previous and next buttons. This opens up a huge amount of possibilities for or gallery.&lt;/p&gt;

&lt;p&gt;I just tested it and it worked a treat&amp;#8230; :o)&amp;#8230;
a webyep gallery made from 1 freeway place webyep image, but this allowed for as many images as I wanted to upload and all with a lightbox effect&lt;/p&gt;

&lt;p&gt;max&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;freewaytalk mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>max</author>
            <pubDate>Thu, 03 Jul 2008 10:24:06 -500</pubDate>
        </item>
        <item>
            <title>Lightbox &amp;amp; CMS is it possible</title>
            <link>http://www.freewaytalk.net/thread/view/7961#m_8778</link>
            <description>&lt;p&gt;I think I posted this elsewhere or maybe privately, I forget, but&amp;#8230;&lt;/p&gt;

&lt;p&gt;Slimbox (the mootools Lightbox library) can be invoked purely by a JS command.  Easy if all you need to show is one image:
[code:1:e3b420c252]
Lightbox.show&amp;#40;&amp;#8217;images/image-1.jpg&amp;#8217;, &amp;#8216;Spheres in construction&amp;#8217;&amp;#41;;&lt;/p&gt;

&lt;p&gt;Lightbox.show&amp;#40;&amp;#8217;path/to/image&amp;#8217;, &amp;#8216;Optional Caption&amp;#8217;&amp;#41;;
[/code:1:e3b420c252]
No &amp;#8216;rel&amp;#8217; attribute is needed in this case.  So should be relatively easy to work into template or such.  This is only applicable with the mootools.js version.  I don&amp;#8217;t believe the original prototype.js version supports this &amp;#8216;feature&amp;#8217;&lt;/p&gt;
</description>
            <author>Weaver</author>
            <pubDate>Wed, 28 Mar 2007 16:02:25 -500</pubDate>
        </item>
        <item>
            <title>Lightbox &amp;amp; CMS is it possible</title>
            <link>http://www.freewaytalk.net/thread/view/7961#m_8743</link>
            <description>&lt;p&gt;And really, what you store in your database should be as simple as 
possible, and decorated at the last minute with any extras, like a rel 
property, in the view that needs that property. Any other view of the 
same resource might not need, or might be confused by, that property. 
Part of the joy of a content management system (and more than a small 
part of the frustration, too) is the flexibility it gives you.&lt;/p&gt;

&lt;p&gt;Walter&lt;/p&gt;

&lt;p&gt;On Mar 27, 2007, at 7:00 PM, The Big Erns wrote:&lt;/p&gt;

&lt;p&gt;[quote:0256d8001e]All an image link does is whatever any link does, in other words all
links point to an url &amp;#8212; either relative or absolute.&lt;/p&gt;

&lt;p&gt;What is different about a Lightbox link is the rel attribute used to
trigger the scripting loaded in the page head. But it is still just a
link.&lt;/p&gt;

&lt;p&gt;So what you might be storing in your cms data is a properly formed
link to the image, with the rel attribute added.&lt;/p&gt;

&lt;p&gt;[quote:0256d8001e]&amp;lt;a href=&amp;quot;path/to/image&amp;quot; rel=&amp;quot;lightbox&amp;#8217;&amp;gt;Link Text&amp;lt;/a&amp;gt;
[/quote:0256d8001e]&lt;/p&gt;

&lt;p&gt;Or if you want to use a thumbnail instead of link text, then&lt;/p&gt;

&lt;p&gt;[quote:0256d8001e]&amp;lt;a href=&amp;quot;path/to/image&amp;quot; rel=&amp;quot;lightbox&amp;#8217;&amp;gt;&amp;lt;img
src=&amp;quot;path/to/thumbnail&amp;quot; /&amp;gt;&amp;lt;/a&amp;gt;
[/quote:0256d8001e]&lt;/p&gt;

&lt;p&gt;Of course you can get fancier as you need, the point is all you are
storing in your cms is HTML, unless for some reason your cms is a
text-only beast??&lt;/p&gt;

&lt;p&gt;chuckamuck wrote:&lt;/p&gt;

&lt;p&gt;[quote:0256d8001e]&lt;em&gt;brings the horse back to life briefly&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Keith,&lt;/p&gt;

&lt;p&gt;Not clear how this helps with CMS issue. The CMS data is not a url 
per say, so how can you point a url at the data even if only the urls 
are stored there? There is something obvious here i&amp;#8217;m missing.&lt;/p&gt;

&lt;p&gt;[/quote:0256d8001e]&lt;/p&gt;

&lt;p&gt;Ernie Simpson &amp;#8212; Freeway 4 Pro User &amp;#8212; 
&lt;a href=&quot;http://www.thebigerns.com/freeway/&quot;&gt;www.thebigerns.com/freeway/&lt;/a&gt;&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;Ernie Simpson
Freeway 4 Pro User
&lt;a href=&quot;http://www.thebigerns.com/freeway/&quot;&gt;www.thebigerns.com/freeway/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;[/quote:0256d8001e]&lt;/p&gt;

&lt;p&gt;This list is maintained by Softpress Systems - &lt;a href=&quot;http://www.softpress.com&quot;&gt;www.softpress.com&lt;/a&gt;&lt;/p&gt;
</description>
            <author>waltd</author>
            <pubDate>Wed, 28 Mar 2007 00:23:06 -500</pubDate>
        </item>
        <item>
            <title>Lightbox &amp;amp; CMS is it possible</title>
            <link>http://www.freewaytalk.net/thread/view/7961#m_8739</link>
            <description>&lt;p&gt;All an image link does is whatever any link does, in other words all
links point to an url &amp;#8212; either relative or absolute.&lt;/p&gt;

&lt;p&gt;What is different about a Lightbox link is the rel attribute used to
trigger the scripting loaded in the page head. But it is still just a
link.&lt;/p&gt;

&lt;p&gt;So what you might be storing in your cms data is a properly formed
link to the image, with the rel attribute added.
[quote:e3f780bd0a]&amp;lt;a href=&amp;quot;path/to/image&amp;quot; rel=&amp;quot;lightbox&amp;#8217;&amp;gt;Link Text&amp;lt;/a&amp;gt;[/quote:e3f780bd0a]&lt;/p&gt;

&lt;p&gt;Or if you want to use a thumbnail instead of link text, then
[quote:e3f780bd0a]&amp;lt;a href=&amp;quot;path/to/image&amp;quot; rel=&amp;quot;lightbox&amp;#8217;&amp;gt;&amp;lt;img
src=&amp;quot;path/to/thumbnail&amp;quot; /&amp;gt;&amp;lt;/a&amp;gt;[/quote:e3f780bd0a]&lt;/p&gt;

&lt;p&gt;Of course you can get fancier as you need, the point is all you are
storing in your cms is HTML, unless for some reason your cms is a
text-only beast??&lt;/p&gt;

&lt;p&gt;chuckamuck wrote:
[quote:e3f780bd0a]&lt;em&gt;brings the horse back to life briefly&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Keith,&lt;/p&gt;

&lt;p&gt;Not clear how this helps with CMS issue. The CMS data is not a url per say, so how can you point a url at the data even if only the urls are stored there? There is something obvious here i&amp;#8217;m missing.
[/quote:e3f780bd0a]&lt;/p&gt;

&lt;p&gt;Ernie Simpson &amp;#8212; Freeway 4 Pro User &amp;#8212; &lt;a href=&quot;http://www.thebigerns.com/freeway/&quot;&gt;www.thebigerns.com/freeway/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This list is maintained by Softpress Systems - &lt;a href=&quot;http://www.softpress.com&quot;&gt;www.softpress.com&lt;/a&gt;&lt;/p&gt;
</description>
            <author>The Big Erns</author>
            <pubDate>Tue, 27 Mar 2007 22:54:45 -500</pubDate>
        </item>
        <item>
            <title>Lightbox &amp;amp; CMS is it possible</title>
            <link>http://www.freewaytalk.net/thread/view/7961#m_8732</link>
            <description>&lt;p&gt;Sometime around 27/3/07 (at 21:03 +0000) chuckamuck said:&lt;/p&gt;

&lt;p&gt;[quote:3fd5683028]&lt;em&gt;brings the horse back to life briefly&lt;/em&gt;
[/quote:3fd5683028]
[whinny]&lt;/p&gt;

&lt;p&gt;[quote:3fd5683028]Not clear how this helps with CMS issue. The CMS data is not a url 
per say, so how can you point a url at the data even if only the 
urls are stored there?
[/quote:3fd5683028]
Remember, a database stores data. All you need to do is choose what 
kind of data you store.&lt;/p&gt;

&lt;p&gt;If you have a folder full of images, your database can store paths to 
those images as URLs. When you want to use them your scripts must 
know that what they&amp;#8217;re getting from the database is not image data, 
it is the addresses of where those images can be found. Slot those 
into your HTML template in the right manner and presto! You have img 
src URLs pointing to wherever the relevant images are stored.&lt;/p&gt;

&lt;p&gt;Just one way of doing things, of course.&lt;/p&gt;

&lt;p&gt;k&lt;/p&gt;

&lt;p&gt;This list is maintained by Softpress Systems - &lt;a href=&quot;http://www.softpress.com&quot;&gt;www.softpress.com&lt;/a&gt;&lt;/p&gt;
</description>
            <author>thatkeith</author>
            <pubDate>Tue, 27 Mar 2007 21:16:33 -500</pubDate>
        </item>
        <item>
            <title>Lightbox &amp;amp; CMS is it possible</title>
            <link>http://www.freewaytalk.net/thread/view/7961#m_8731</link>
            <description>&lt;p&gt;&lt;em&gt;brings the horse back to life briefly&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Keith,&lt;/p&gt;

&lt;p&gt;Not clear how this helps with CMS issue. The CMS data is not a url per say, so how can you point a url at the data even if only the urls are stored there? There is something obvious here i&amp;#8217;m missing.&lt;/p&gt;

&lt;p&gt;[quote:172319e72e=&amp;#8221;thatkeith&amp;#8221;]Sometime around 6/3/07 (at 23:03 +0000) chuckamuck said:&lt;/p&gt;

&lt;p&gt;[quote:172319e72e]The problem is with the way Lightbox wants a predefined url for the 
image it will display. WebYep is a different animal as far as how it 
keeps track of image files as it is not a single file involved, 
therefore no way found so far to make this work. MiniCMS is a bit 
different in that it uses mysql database to look for data such as 
image files. Again, this is still a problem as Lightbox wants a 
preset url for each image.
[/quote:172319e72e]
How about storing the required preset URL for each image in the 
database? And, if necessary, just storing the actual images in a 
folder, old-school style, and using the database to keep track of 
them but not to store their actual data?&lt;/p&gt;

&lt;p&gt;k&lt;/p&gt;

&lt;p&gt;This list is maintained by Softpress Systems - &lt;a href=&quot;http://www.softpress.com[/quote:172319e72e]&quot;&gt;www.softpress.com[/quote:172319e72e]&lt;/a&gt;&lt;/p&gt;
</description>
            <author>chuckamuck</author>
            <pubDate>Tue, 27 Mar 2007 21:03:27 -500</pubDate>
        </item>
        <item>
            <title>Lightbox &amp;amp; CMS is it possible</title>
            <link>http://www.freewaytalk.net/thread/view/7961#m_8032</link>
            <description>&lt;p&gt;Just had a look to see if the mooshow examples were still there and they wernt so here is a similar example using the same mooshow system.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.max-izzat.co.uk/extended_features/show/example2.php&quot;&gt;www.max-izzat.co.uk/extended_features/show/example2.php&lt;/a&gt;
&lt;a href=&quot;http://www.max-izzat.co.uk/extended_features/show/example1.php&quot;&gt;www.max-izzat.co.uk/extended_features/show/example1.php&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;ps sorry about the yukky muscle/bone image.. its the only one I had on the desktop max&lt;/p&gt;
</description>
            <author>max</author>
            <pubDate>Wed, 07 Mar 2007 13:54:00 -500</pubDate>
        </item>
        <item>
            <title>Lightbox &amp;amp; CMS is it possible</title>
            <link>http://www.freewaytalk.net/thread/view/7961#m_8030</link>
            <description>&lt;p&gt;[quote:e2519b15ee=&amp;#8221;pixelart&amp;#8221;]Hi,
Does anyone know if it is possible to apply CMS to a Lightbox slideshow? I only need to show one picture on a page at a time.&lt;/p&gt;

&lt;p&gt;Richard[/quote:e2519b15ee]&lt;/p&gt;

&lt;p&gt;Hi richard
I have been looking into this one on and off for some time and as usual work takes over.. but here goes a quick run down of the problems as I see them and possible solution.. this is for webyep cms system and most of the following answer is from WebYep. 
There is a version of called Mooshow which I was looking at so this answer is based on that one.&lt;/p&gt;

&lt;p&gt;The big problem with these systems as far as I can see is 
1) getting the scripts to find the images 
2) and ignoring the other content that webyep places in data folder.&lt;/p&gt;

&lt;p&gt;The way I would use the cms is purley as an admin page so you could upload  a large selection of images and then for those images to viewed indendently on an other page which uses the slide show script.&lt;/p&gt;

&lt;p&gt;What would need to be done to make mooshow to work is adapt mooshow&amp;#8217;s getImages() function, to only use/list the images of a specific WebYep Image Element, This function is found in the file:  mooshow/folderImages.php
at the moment the implementation takes two parameters:&lt;/p&gt;

&lt;p&gt;function getImages($path, $galleryName) {
&amp;#8230;
}&lt;/p&gt;

&lt;p&gt;ok to make this work the  $path would be the path to the WebYep &amp;quot;data&amp;quot; folder. 
The next item is to ad an extra parameter, and this would be a regular expression to filter the file names found in the data folder.&lt;/p&gt;

&lt;p&gt;The file names of the actual image file for a WebYep Image Element
embedded in a WebYep Loop Element have the form:&lt;/p&gt;

&lt;p&gt;7-3-im-Photo-6215.jpg&lt;/p&gt;

&lt;p&gt;Where &amp;quot;7&amp;quot; would be the page&amp;#8217;s document ID (as found in the webyep- 
system/data/documents file), &amp;quot;3&amp;quot; the loop&amp;#8217;s repetition ID, &amp;quot;Photo&amp;quot;
would be the Element&amp;#8217;s name and &amp;quot;6215&amp;quot; would be a random number,
assigned when uploading the image.&lt;/p&gt;

&lt;p&gt;So a regular expression of e.g.&lt;/p&gt;

&lt;p&gt;7-[0-9]+-im-Photo-[0-9]+[.]jpg&lt;/p&gt;

&lt;p&gt;would list all JPGs of the WebYep Image Element &amp;quot;Photo&amp;quot; on the page
with document ID &amp;quot;7&amp;quot;&lt;/p&gt;

&lt;p&gt;By extending the getImages function by a filter using such regular
expression to just list those filenames matching that expression, the
mooshow gallery would then also only show the images for this Image
Element.&lt;/p&gt;

&lt;p&gt;I told you it isnt straight forward and at the moment I caant eveen look into it (I have a massive Shockwave job on which is going to take me all the way up till after easter)  so if any body fancies adapting the existing script that comes from this system then you can download it though I cant rember from where. If you cant find it drop me an email and I will email it out.&lt;/p&gt;
</description>
            <author>max</author>
            <pubDate>Wed, 07 Mar 2007 13:30:29 -500</pubDate>
        </item>
        <item>
            <title>Lightbox &amp;amp; CMS is it possible</title>
            <link>http://www.freewaytalk.net/thread/view/7961#m_8029</link>
            <description>&lt;p&gt;Uh huh, that&amp;#8217;s the way I approached it. It involves writing the link
by hand, providing the opportunity to set the part of the link that is
responsible for activating the Lightbox/Thickbox visualization. I
think he&amp;#8217;s looking to avoid that level of manual involvement, though.&lt;/p&gt;

&lt;p&gt;The CMS I been using has given up on assuming HTML tags for user-input
content. There is a sort of HTML editor built in, but requires whoever
is adding content have some idea of how HTML basically works.&lt;/p&gt;

&lt;p&gt;thatkeith wrote:
[quote:cc6aa9b60e]How about storing the required preset URL for each image in the
database? And, if necessary, just storing the actual images in a
folder, old-school style, and using the database to keep track of
them but not to store their actual data?
[/quote:cc6aa9b60e]&lt;/p&gt;

&lt;p&gt;Ernie Simpson &amp;#8212; Freeway 4 Pro User &amp;#8212; &lt;a href=&quot;http://www.thebigerns.com/freeway/&quot;&gt;www.thebigerns.com/freeway/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This list is maintained by Softpress Systems - &lt;a href=&quot;http://www.softpress.com&quot;&gt;www.softpress.com&lt;/a&gt;&lt;/p&gt;
</description>
            <author>The Big Erns</author>
            <pubDate>Wed, 07 Mar 2007 13:27:04 -500</pubDate>
        </item>
        <item>
            <title>Lightbox &amp;amp; CMS is it possible</title>
            <link>http://www.freewaytalk.net/thread/view/7961#m_8023</link>
            <description>&lt;p&gt;Sometime around 6/3/07 (at 23:03 +0000) chuckamuck said:&lt;/p&gt;

&lt;p&gt;[quote:0390a78a15]The problem is with the way Lightbox wants a predefined url for the 
image it will display. WebYep is a different animal as far as how it 
keeps track of image files as it is not a single file involved, 
therefore no way found so far to make this work. MiniCMS is a bit 
different in that it uses mysql database to look for data such as 
image files. Again, this is still a problem as Lightbox wants a 
preset url for each image.
[/quote:0390a78a15]
How about storing the required preset URL for each image in the 
database? And, if necessary, just storing the actual images in a 
folder, old-school style, and using the database to keep track of 
them but not to store their actual data?&lt;/p&gt;

&lt;p&gt;k&lt;/p&gt;

&lt;p&gt;This list is maintained by Softpress Systems - &lt;a href=&quot;http://www.softpress.com&quot;&gt;www.softpress.com&lt;/a&gt;&lt;/p&gt;
</description>
            <author>thatkeith</author>
            <pubDate>Wed, 07 Mar 2007 11:05:55 -500</pubDate>
        </item>
        <item>
            <title>Lightbox &amp;amp; CMS is it possible</title>
            <link>http://www.freewaytalk.net/thread/view/7961</link>
            <description>&lt;p&gt;Hi,
Does anyone know if it is possible to apply CMS to a Lightbox slideshow? I only need to show one picture on a page at a time.&lt;/p&gt;

&lt;p&gt;Richard&lt;/p&gt;
</description>
            <author>pixelart</author>
            <pubDate>Tue, 06 Mar 2007 07:54:39 -500</pubDate>
        </item>
    </channel>
</rss>
