auto start slideshow based on keyword album?
al_uk
Joined: 2006-08-24
Posts: 11 |
![]() |
Hi, I would like to run a fullscreen slideshow for all images in all albums that contain the keyword "Slideshow". The slideshow would ideally start automatically when the browser starts. I can do this by setting the default theme for the keywords module to be Slider, but I don't want _all_ keyword albums to be slideshows, just this one. Therefore I would like to keep matrix as the default theme for keyword albums. And so to the question:- Alternatively, I was thinking of writing some sql to write a text file containing the path to all files with keyword "Slideshow", and then using this text file to drive some slideshow software... But I'd rather use g2! thanks, Al |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
http://www.flashyourweb.com/article.php?story=mini_v2RC1 this could easily be modified to do what you require. |
|
al_uk
Joined: 2006-08-24
Posts: 11 |
![]() |
Thanks, looks promising. I found 2 issues:- 1. Specifying an album worked ok, but specifiying a keyword returned a bunch of random images. I guess I should raise this on the flashyourweb forum. I used a simple test page as follows. <html> |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
this url does not help me: |
|
al_uk
Joined: 2006-08-24
Posts: 11 |
![]() |
ah, sorry, not publicly available at the moment - is there a debug output I can generate? I'll work on making it public in the mean time. |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
al_uk wrote:
Specifying an album worked ok, but specifiying a keyword returned a bunch of random images Is your keywordAlbum module installed? and have you actually added keywords to at least a few items? <- sorry have to ask. al_uk wrote:
I wasn't able to get the applet to show images fullscreen without showing scrollbars in IE. I may have crippled the useFull var as this was causing many problems with users trying to display movies and such.(And it was being used as a banner ad rotator which is far from my intended use) no built-in debug, sorry. |
|
al_uk
Joined: 2006-08-24
Posts: 11 |
![]() |
ok, http://vmg2/gallery2/xml.php?mode=dynamic&g2_view=keyalbum.KeywordAlbum&g2_keyword=test errors in Firefox, but in IE, I get the XML mini slide show feed with the correct images shown. However, when I try my test page containing I get a different set of images! not sure why... |
|
al_uk
Joined: 2006-08-24
Posts: 11 |
![]() |
I've now found that the querystring passed from minislideshow.swf to xml.php is being truncated. Only "mode=dynamic" is passed, not the g2_view and g2_keyword parameters, hence the incorrect images being displayed. The test page is still as follows <html> (al.php is simply writing out the querystring for debug purposes) |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Are you using a wysiwyg editor to produce your pages? |
|
al_uk
Joined: 2006-08-24
Posts: 11 |
![]() |
using textpad editor, so shouldnt be a problem... SERVER:- CLIENT:- |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
try replacing the ampersand with %26 ie. |
|
al_uk
Joined: 2006-08-24
Posts: 11 |
![]() |
Ah, that worked! thank you. Could you let me know how to get useFull to work - does this use the original file, or does it use the largest other res available from g2? Also, any plans for a full screen version? cheers, Al |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
suprsidr wrote:
I may have crippled the useFull var as this was causing many problems with users trying to display movies and such.(And it was being used as a banner ad rotator which is far from my intended use) I've been struggling with the proper way to handle large albums in the mini's big brother. (its worth waiting for the thumbs to come in) I'm also back to working on our All-in-one player now that the weather has turned cold again. Hence me being online 24/7 ;) |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
in order to take advantage of full browser flash, you need to set your page height to 100% and embed your swf 100% width and 100% height. Looking back to the mini's swf, looks like I re-enabled useFull for v.2.0 |
|
al_uk
Joined: 2006-08-24
Posts: 11 |
![]() |
thanks, All working now. Full screen version on Firefox using the full view file. needed a combination of "%26" and "&" Can I use multiple keywords in the query? Al for reference, my container page looked like this:- <html> and the css file looks like this /* hide from ie on mac \*/ #flash_placeholder { body { |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Quote:
Can I use multiple keywords in the query? Not at present, I'll give it a shot tonight and let you know. -s |
|
geraldgrogan
Joined: 2007-01-06
Posts: 9 |
![]() |
Gallery version = 2.2.2 core 1.2.0.4 ******** I was able to get the code listed above to work just fine (thanks for the tip). I have only one remaining question. Why are my pictures displaying sideways? (see the attached html file for a sample of my code) |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Could not get your site to come up, but my guess would be jpegtran or other image rotation. |
|
geraldgrogan
Joined: 2007-01-06
Posts: 9 |
![]() |
Yes, these pictures (at least the vertical ones) were rotated using Gallery. Is this something that can be corrected using another parm in this command? Sorry about the server. My wife turned it off last night. I'll make sure it's kept on. |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Sorry, there is currently no way to rotate images in the mini. Not sure how to tell it which ones. |
|
geraldgrogan
Joined: 2007-01-06
Posts: 9 |
![]() |
The minislide is working just great with the thumb sized pics. I'll try it again, using pre-rotated pics (as a second copy of the original - in a different album). Thanks for the assistance. |
|