e2interactive forums » (E)2 Photo Gallery FAQ

Search:

Javascript question

(5 posts)

  1. drmikey
    Member

    I am working on a skin for Jalbum ( http://jalbum.net/skins/) for E2 interactive gallery. I have figured out most of iot except one thing. I need the imageid ( the number of the image) to start at 1 not 0 since Jalbum s=tarts the numbering at 1 when it processes the skin instructions. Not being a Javascript programmer, is there an easy way for me to set the starting image id number to 1 instead of 0?

    It is the number that shows up like this:

    tempgallery[0]

    Thanks.

    Posted 1 year ago #
  2. I'd have to look into it a bit to see what it would take, but I could be easy. Give me a bit and I'll check out some stuff to see.

    Posted 1 year ago #
  3. After looking at it. It will take modifying some of the php and javascript. I can easily set it to output tempgallery[1], but then my javascript doesn't know how to process it. I'll look at it some more, but it might take a bit to get it to that point.

    Posted 1 year ago #
  4. drmikey
    Member

    Thanks. I think I figured out how to do it within Jalbum. Interesting in that I just added a (-1) after the variable that Jalbum uses and it seems to like it. Not sure why but I'm not complaining! I will let you know when I get it finished. My only problem now is with the opening image and showing the proper iptc info for that one image.

    Mike

    Posted 1 year ago #
  5. Do you have a demo of it I can look at? Maybe I can see what is going on.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.