Results 1 to 4 of 4

Thread: About Cmotion gallery

  1. #1
    Join Date
    May 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default About Cmotion gallery

    Hello everybody. That's my first post.

    I'd been using Cmotion script. It works fine. You can see it in

    http://www.pintorcastanyer.com/MUBAG.htm.

    Only there is a little detail that I don't like and I can't resolve (I don't know javascript code). When the cursor is set to move the images the script works good but the images are not well displayed in the screen. They look cupped in the middle and there is some strange pixel vibration. The images I usea are not too big (jpg of mean 20 Kb) but there are 36 images and, perhaps there is any memory video problem or something wrong.

    Another thing I would like is the Cmotion could be autoscrollable. I mean, when the cursor is out it would be cool that the images move automatically from left to right. And when the gallery would arrive to the end it moves from right to left again and again automatically with a preselected scrollspeed. Of course, when the cursor in on the motioncontainer the script would work normally.

    Any ideas about it???.

    Bye.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    The odd appearance of the images is due to the fact that their true dimensions are not those reported to the browser by your code. This requires the browser to constantly resize them 'on the fly' once they are in motion. To avoid this, either use their true dimensions in the code or create resized copies of the images, with the dimensions in your code, for use in the gallery. Modifying the code for the gallery to change its behavior as you request can probably be done. I'm working on a few other projects of this nature right now, if no one else gets to it sooner, I will at least take a crack at it later.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    May 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ok thaks. It seemed a good idea to resize the images at the code size. I have done it but the odd appearance doesn't disappear. I think it could be a problem with the processor speed or memory video card. With a Pentium IV the odd effect is smaler than with a Pentium II, for example. Perhaps, the code needs to be optimized. It seems like a refresh screen problem. I don't know. I have try to use less images (only 10 and not the 36) but the problem goes on.

    You can verify it again at http://www.pintorcastanyer.com/MUBAG.htm
    The more disgusting effect is that the images seem to be cupped in the middle. The pixel vibration is less important.

    Thank you again.l

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Definitely seems better now. I think if you were to cut way down on your maxspeed variable in the script it would help alot too. As it is now the pictures whiz by so fast I can barely see them unless I am very careful not to move the mouse too far to the left or right (depending upon direction) of the gallery.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •