# Thumbs in xml photogallery

**URL:** <https://forum.kirupa.com/t/thumbs-in-xml-photogallery/182433>\
**Category:** Uncategorized\
**Created:** [March 18, 2006, 5:50am UTC](https://forum.kirupa.com/t/thumbs-in-xml-photogallery/182433 "2006-03-18T05:50:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![modji](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/modji/32/2117_2.png) [@modji](https://forum.kirupa.com/u/modji)\
**Post date:** [March 18, 2006, 5:50am UTC](https://forum.kirupa.com/t/thumbs-in-xml-photogallery/182433/1 "2006-03-18T05:50:53Z")

</div>

Hi quick question.  
I’ve done my photogallery and all, everything is working. Now my problem is that I used a grid 3x3. When I go to the second page, the highlight on the thumbnails follows and changes page directly. Now If I go previous, it only follows if I click 2 times previous.

Could someone tell me what the code.

I know to go the next image would be:

**currentImg = curImage%9;**

What would it be for previous.

Thank you.

---

<div class="post-metadata">

**Author:** ![modji](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/modji/32/2117_2.png) [@modji](https://forum.kirupa.com/u/modji)\
**Post date:** [March 19, 2006, 10:58am UTC](https://forum.kirupa.com/t/thumbs-in-xml-photogallery/182433/2 "2006-03-19T10:58:56Z")

</div>

I have another question. Is there anyway to make the gallery load faster ? For me it takes about 40 seconds to load 15 thumbs.

Thanks.

---

<div class="post-metadata">

**Author:** ![modji](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/modji/32/2117_2.png) [@modji](https://forum.kirupa.com/u/modji)\
**Post date:** [March 19, 2006, 5:11pm UTC](https://forum.kirupa.com/t/thumbs-in-xml-photogallery/182433/3 "2006-03-19T17:11:47Z")

</div>

Hey this is really weird. If I try the gallery on my computer everything works. Now once online. some of the Images don’t even load. The preloader stays at 0%. Could someone help me, its really important.

Thank you.

---

<div class="post-metadata">

**Author:** ![takethetrain](https://avatars.discourse-cdn.com/v4/letter/t/ba8739/32.png) [@takethetrain](https://forum.kirupa.com/u/takethetrain)\
**Post date:** [March 19, 2006, 6:29pm UTC](https://forum.kirupa.com/t/thumbs-in-xml-photogallery/182433/4 "2006-03-19T18:29:53Z")

</div>

I had to chmod the directory of images and XML file to 777 for it to work, maybe that will help.

---

<div class="post-metadata">

**Author:** ![modji](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/modji/32/2117_2.png) [@modji](https://forum.kirupa.com/u/modji)\
**Post date:** [March 19, 2006, 7:13pm UTC](https://forum.kirupa.com/t/thumbs-in-xml-photogallery/182433/5 "2006-03-19T19:13:26Z")

</div>

Actually you are right. I also forgot that linux is case sensitive and my extensions were uppercase.

Thanks.
