First, double-check your file names. Some of those in theexample have
spaces; is that correct?

Next, use FireBug, WebdeveloperToolbar, or similar to view the
*generated* source or search for broken images to see if the image
paths are correct.

On Tue, Sep 8, 2009 at 12:07 PM, ruchika batra<[email protected]> wrote:
> hi
> i have downladed an image scroller from dynamicdrive.com site.
> i have included the following in my login.ctp file.the scroller is coming
> but the images are not getting displayed which are specified in imagearray
>
>
> <script type="text/javascript">
>
> var mygallery=new simpleGallery({
>     wrapperid: "simplegallery1", //ID of main gallery container,
>     dimensions: [450, 180], //width/height of gallery in pixels. Should
> reflect dimensions of the images exactly
>     imagearray: [
>         ["students studying.jpg",
> "http://en.wikipedia.org/wiki/Swimming_pool";, "", ""],
>         ["Students_studying_in_class.jpg",
> "http://en.wikipedia.org/wiki/Cave";, "", ""],
>         ["image.jpg", "", "", "Eat your fruits, it's good for you!"],
>         ["Students studying.preview.jpg", "", "", ""]
>     ],
>    ......other functions
> })
> please suggest something.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to