Page 1 of 1

cMotion in Album with title and comments

Posted: Sun Sep 02, 2007 5:38 am
by Dr.CSS
I've been going crazy because I like the cMotion gallery and used it on an older site and it had the title for the image and was I going to port it over to work with Album then I saw one of the Available templates was cMotion, coool, then I tried it and it worked real quick, some kind of AJAX thing for large image but no way to add a title or comment to the large image...

Well after beating my head against the keyboard for a while the lump on my head helped me figure it out, but it is a little slower than the original in Album, I think titles and comments mess with the AJAX thingy... ;)

Here is a link to an Album page with all three, I ended up converting my old ver. over in hopes of getting the title and comments which I worked out...


http://multiintech.com/cmsms1.1/album.html

Re: cMotion in Album with title and comments

Posted: Tue Sep 11, 2007 12:22 pm
by ChristianM
Looks quite interesting  ;)
Could you possibly post your tpl/css-file for adding title and comment features?
Thnx for your good work, ChristianM

Re: cMotion in Album with title and comments

Posted: Fri Sep 14, 2007 11:29 am
by Caspar
mark wrote: some kind of AJAX thing for large image but no way to add a title or comment to the large image...
Hi Mark and Christian,

I guess, that's my fault: I submitted the cMotion template for Album. Obviously, I left some code in there I had played around with, but not used in the end.  :-X In short: I don't think the Ajax-JS is needed at all. If you have a test install, maybe try just removing the Ajax-script link, and everything should be all right.

Meanwhile, I've tried to improve the template and JS. There was a bug with the img attributes not being changed when you click on a new image.  I'll post the code asap, just need to go grocery-shopping right now. ;)

Regards,
Caspar

Re: cMotion in Album with title and comments

Posted: Fri Sep 14, 2007 8:03 pm
by Caspar
Wrote a new post: Album: CMotion template revision (edited)

Re: cMotion in Album with title and comments

Posted: Tue Sep 18, 2007 5:39 am
by Caspar
Sorry. Copy-pasted the wrong link. Here's the right one:
Album: CMotion template revision

Thanks,
Caspar

Re: cMotion in Album with title and comments

Posted: Tue Sep 18, 2007 9:26 am
by Dr.CSS
OK that looks good, quicker than the one I hacked together...

Re: cMotion in Album with title and comments

Posted: Tue Sep 18, 2007 9:55 am
by Caspar
mark wrote: OK that looks good, quicker than the one I hacked together...
Glad you like it. If it's worth improving my Karma, that'll make my day!  ;D