I am trying to build onto the CWS gallery to allow a section for flash video. I have modified everything so that my gallery (now called media) can hold images and video. I have it set up where the user will click on the gallery and view all of the images (or video's in that gallery) and then when they click on the image a lightbox effect brings up the image in a nice way. I wish to have the same thing done for the video but I can not get it to do anything. Here is my xslt for the images to open in the lightbox. I need to figure out how to tell if it is a video and if it is, open the embed file in the lightbox.
Hiya,
OK how have you setup the gallery to use video's have you created a new documentType or added properties to the existing photo documentType as this will determine how you need to modify the XSLT.
[quote=warren]Hiya,
OK how have you setup the gallery to use video's have you created a new documentType or added properties to the existing photo documentType as this will determine how you need to modify the XSLT.
Warren[/quote]
I figured out the error, the lightbox method was running a little long for this project and it was just something I was going to add but instead I used lightbox on the images and the basic gallery layout on the video.
On a non related note we should devote a section of the forum to showing off your umbraco installations, it would be nice to see what everyone is working with
[quote=warren]Hiya glad you got it solved.
Yes it would be nice, but im not sure how the community would feel to have a dedciated sub forum to CWS.
Warren[/quote]
no not just for CWS, for all umbraco sites that people have built to show off their work. It would be nice to see people show their sites and then guests can ask them how they did this or that and also get inspiration.
Need help with building onto the CWS gallery
I am trying to build onto the CWS gallery to allow a section for flash video. I have modified everything so that my gallery (now called media) can hold images and video. I have it set up where the user will click on the gallery and view all of the images (or video's in that gallery) and then when they click on the image a lightbox effect brings up the image in a nice way. I wish to have the same thing done for the video but I can not get it to do anything. Here is my xslt for the images to open in the lightbox. I need to figure out how to tell if it is a video and if it is, open the embed file in the lightbox.
]>
<>
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxml="urn:schemas-microsoft-com:xslt"
xmlns:umbraco.library="urn:umbraco.library"
exclude-result-prefixes="msxml umbraco.library">
I admit that I haven't looked at your xslt but maybe there is another issue...
I seem to recall that lightbox doesn't do video/flash. Maybe a new version does. In the past I've used Thickbox when I have to include video.
cheers,
doug.
Just saw this jQuery lightbox-type tool that looks very nice, and works with umbraco. [url]http://catcubed.com/tag/jquery/[/url]
cheers,
doug.
Hiya,
OK how have you setup the gallery to use video's have you created a new documentType or added properties to the existing photo documentType as this will determine how you need to modify the XSLT.
Warren
[quote=warren]Hiya,
OK how have you setup the gallery to use video's have you created a new documentType or added properties to the existing photo documentType as this will determine how you need to modify the XSLT.
Warren[/quote]
I figured out the error, the lightbox method was running a little long for this project and it was just something I was going to add but instead I used lightbox on the images and the basic gallery layout on the video.
On a non related note we should devote a section of the forum to showing off your umbraco installations, it would be nice to see what everyone is working with
Hiya glad you got it solved.
Yes it would be nice, but im not sure how the community would feel to have a dedciated sub forum to CWS.
Warren
[quote=warren]Hiya glad you got it solved.
Yes it would be nice, but im not sure how the community would feel to have a dedciated sub forum to CWS.
Warren[/quote]
no not just for CWS, for all umbraco sites that people have built to show off their work. It would be nice to see people show their sites and then guests can ask them how they did this or that and also get inspiration.
Either contact Niels/Per from Umbraco HQ or Dirk who also adminstrates the forum to see what they say as they have the power.
Warren
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.