Specific Gallery and First image within the index array

I have been going through the forums and have found almost everything. I know that this must seem rudimentary, but I can find a specific post regarding anything about the topic of loading The first image (full image) from a selected gallery, and displaying it within the page.

get = (some gallery name) + (the first image within the gallery);
I know not a good function, it is to illustrate...

Any information would be helpful.

I have read about the get ramdom image, but I don't want a random one, i just want the leading image within the gallery; If that helps.

Comments

  • You would have to code this yourself. You can start with the random image stuff but change the part that gets the random image to use the album object and get the first image. You will need to review some of the documentation and function guides to get the details.

    Please note, though, that "first image" is not a hard and fast term. The images can be ordered by all sorts of criteria. The first array element returned by getAlbums() will be the first one in the specified sort order. You can also provide a parameter to specify the order you desire.
  • bishup -- did you figure out? I am thinking I am looking to do the same. I want to go right from the gallery to the image, not to a thumbnails page then to the image.
Sign In or Register to comment.