Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: CMotion Image Gallery starting position

  1. #1
    Join Date
    Apr 2005
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default CMotion Image Gallery starting position

    Hi,

    I want to use the cmotion image gallery. (http://dynamicdrive.com/dynamicindex...iongallery.htm) but I would need to adjust the gallery to show a certain image in the middle of the viewarea.

    e.g. I give a certain image the id="centerimage" and the script centers this image in the middle of the gallery.

    Is this possible with this script? (or with minor modifications)

    Thanks,
    Michael

  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

    Quote Originally Posted by mdempfle
    e.g. I give a certain image the id="centerimage" and the script centers this image in the middle of the gallery
    Not exactly sure what you mean by this. If you mean you want a certain image in the center of the scrolling display, just put it there in the middle of the listings in step 2. If, on the other hand, you want an image in the center that simply stays there, one way would be to absolutely position the gallery and then later in your HTML, absolutely position an image over top of it.

  3. #3
    Join Date
    Apr 2005
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi,

    I want to center a certain image in the center of the scrolling display.

    I want to use the cmotion gallery in my image gallery. I display a big image and below I want to display some thumbnails with the cmotion gallery (right now I show 5 static images). Therefore I cannot simply put the image I want to center in the middle. It depends on the big image which image in the cmotion gallery should be centered.

    Can this be done easily?

    Thanks,
    Michael

  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

    Possibly, I'll have a look at the code some more but, let me get this straight first.

    What you have:
    The display image is above and the cmotion gallery below.
    When a user clicks on a cmotion image it changes the display image.

    What you want:
    Same as what you have but, when a cmotion image is clicked you want it promoted to the center of the cmotion array.

    Sound about right? In any case it would help if you could:
    PLEASE: Include the URL to your problematic webpage that you want help with.

  5. #5
    Join Date
    Apr 2005
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hello,

    Right now I have a big image on top and 5 thumbnails below. If you cklick on another thumbnail the page is reloaded with the new image and the thumbnails are aranged that the clicked on is in the middle of the five thumbnails.

    See:
    http://tinywebgallery.ti.funpic.de/d...w=Fountain.jpg

    I want to integrate your script in 3 steps.
    1. If a user clicks on an image in the cmotion gallery the whole page is reloaded and the now "big" image is show and the cmotion gallery is centered to the thumbnail of the actual image (if it is the 1st image 2 blank one are inserted!).

    2. I want to load dummies in the cmotion gallery where it is not visible at the moment and replace the images in the background .

    3. I want not to reload the page at all but to replace the big images like I do already in the slideshow .

    And I think the centering is the hardest part for me because I don't know the script. I think this would be a really cool thing If I get the cmotion gallery get running this way .

    Thanks for your help,
    Michael

  6. #6
    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

    Quote Originally Posted by mdempfle
    2. I want to load dummies in the cmotion gallery where it is not visible at the moment and replace the images in the background
    I don't get this, could you elaborate? Background of the page? Background of the processing? Replace with what? Is replace and load the same thing here?

    Anyways, I had a look at your page, isn't Mexico beautiful? When I get a chance I will try setting it up the way I think it should be.

  7. #7
    Join Date
    Apr 2005
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Sure.

    Sorry for not being precisely.

    If I use the the cmotion gallery and load all images (e.g. 50) It would take a "long" time (e.g. loading 50 x 4k) before I can use the cmotion gallery.
    I want to load only the 5 images which are actually visible with the real thumbnails. for all the other images I load are transparent 1x1 gif which is resized to the thumbnailsize . After the page is loaded I will load the other thumbnail images by javascript and replace the images which are the transparent 1x1 gif with the real Thumbnails (I do the same thing already in the slideshow).

    Thanks for your help.

    Michael

  8. #8
    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

    I've looked some more at what you have. It is close to what you say you want, only it doesn't use the cmotion script at all. For me to layout what you seem to say you want would require me to construct an all new page or all new pages. I generally don't go in for that sort of thing for free. I can't even make you an offer to do it here because that is against the rules of this forum. My suggestion, set up a demo using the cmotion script, the best you can, of what you want. Put it somewhere I can see it. Then it would be much less trouble for me to give free advice or code modifications. Oh, and lay off the PHP, do it in HTML and JavaScript if you want my help. Nothing against you or PHP, I just don't do PHP except for configuration of an existing program, not modification.
    Last edited by jscheuer1; 04-03-2005 at 04:06 AM.

  9. #9
    Join Date
    Apr 2005
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    O.k - you should'nt construct anything - pages or something.

    The only thing I would need is to have the posililiy to center the cmotion script on
    a certain image.

    I have a small demo on

    http://tinywebgallery.ti.funpic.de/test/motion.htm (the src of the images are still a php call but I don't have the images in the right size on the server)

    If you can give me a hint how to center the gallery on e. g. the 4th thumbnail would help me a lot. I haven't take a closer look at your script (I hope I have some time tonight).
    Are the some functions available where I can call and navigate to a certain position in the div?

    Thanks for your help.
    Michael

  10. #10
    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

    It is hard for me to believe you want your gallery like that! Sorry to be so demanding but, I am used to fixing things that are already as close as possible to what the designer wants. You have a link to DD in it and the large picture never changes, is that what you are shooting for?

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
  •