ok...cleaning up this post. I'm done creating the new slideshow effect.
You can see it in action here (for now):
www.artchatter.com/component/option,com_comprofiler/Itemid,79/task,usersList/
I had an issue with images and resizing-- so I made the images simply size to the width I'm using for the module and let the height automatically generate -- this fixed stretching problems - the overflow gets hidden (cropped) and it's always flush left and top (top: 0, left: 0, position: absolute)
best of all this new effect doesn't destroy anything.
It's some simple code appended to the module php file and an extra option added into the xml file.
of course a css file and a js file are two new files needing to be included as well.
I also plan to use this:
smoothslideshow.jondesign.net/timed.html
for another slideshow effect...but I may wait on that, I just spent half the day getting this sorted out...I need a little break.
one note: I used the large size image....this could be problematic for anyone who set the maximum size of images in the gallery to be large...mine are 500x500 max so I don't feel it's too too bad, but of course if the option is set to show all in the rotation.......yea, gets to loading a large amount of data - but so does this module to begin with if you have a large amount of images - even if they are thumbnails.
It's SUPER easy enough to change this slideshow to use the thumbnail version of the images...they appear to just be marked with "tn" prepended to the file names..ok no big deal. But I was getting pixelated images so I left the full size in... Maybe it's best to leave the thumbnails in I don't know.
Anyone wanting this code let me know.
edit --- couldn't help myself here, it's now fully integrated into the module...including fancy settings to control all the behaviors from the admin module settings...size, background color, border options, etc. I took out the css file and made the css inline to make these settings possible through the module admin - but also to help validate (linking a style sheet in the middle of a page is not so hot).
So there's just 3 files here that are different.
mod_cbgallery.php - changes
mod_cbgallery.xml - changes
xfade.js - new file, cross fade script
100% compatible add-on (as far as I know). You lose nothing, gain a lot....and a lot more soon as I'm going to put in another slideshow option (linked above).
Post edited by: tmaiaroto, at: 2006/11/14 04:25