Cant understand Photoshop gallery code

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
Georgezx9
New php-forum User
New php-forum User
Posts: 13
Joined: Mon Mar 31, 2014 1:15 pm

Fri Jan 30, 2015 12:52 am

Hi, I have used photoshop to create a photo gallery, but cant stop it creating the series of HTML files as Index, index1 etc. I need them to be something else.

I have tried changing the code but get an error.

What it does is it gives a preview page of 9 images, with the ability to get to the next or previous page, or open up the image at a bigger size this page, also has next or previous, but also gives the user the option to go back to the preview page.

The code does not use index as a word at all, but just gets the current page stores it and then returns to that page, but why does it not work if I change the page name.

Or am I missing something obvious.

Thanks for any advice offered.

Code below

Code: Select all

<div id="stage">
<div id="index">
              
<div class="thumbnail borderTopLeft" onmouseover="window.gridOn( this.parentNode, 'ID227835_thumb' );" onmouseout="window.gridOff( this.parentNode );" onclick="window.location.href='content/PossibleIsabellaorJaneWyliewithson_large.html'">
<div class="itemNumber">10</div>
<a href="content/PossibleIsabellaorJaneWyliewithson_large.html" onclick="return needThumbImgLink;">
<div style="margin-left:15px; margin-top:41px;">
<div class="dropShadow">
<div class="inner">
<img src="content/images/thumb/PossibleIsabellaorJaneWyliewithson.jpg" id="ID227835_thumb" alt="" class="thumb" />
</div>
</div>
</div>
</a> </div>
<div class="thumbnail borderTopLeft" onmouseover="window.gridOn( this.parentNode, 'ID227824_thumb' );" onmouseout="window.gridOff( this.parentNode );" onclick="window.location.href='content/PossibleIsabellaorJaneWylie_large.html'">
<div class="itemNumber">11</div>
<a href="content/PossibleIsabellaorJaneWylie_large.html" onclick="return needThumbImgLink;">
<div style="margin-left:39px; margin-top:15px;">
<div class="dropShadow">
<div class="inner">
<img src="content/images/thumb/PossibleIsabellaorJaneWylie.jpg" id="ID227824_thumb" alt="" class="thumb" />
</div>
</div>
</div>

Post Reply