Using one image to load all images in the same folder

Posted on 2008-10-07
Medium Priority
Last Modified: 2008-10-14
Hello Experts,

I am using a Javascript thumbnail viewer (http://highslide.com) to open images on my site. At present the only image can be seen by clicking on the Norwich (SE England) pushpin marker, followed by the green arrow and then the round icon. When this image is clicked it expands to show a larger image and forward/ backward navigation arrows.

The image is marked up using the attached code snippet...

How do I get the navigation arrows to cycle through all images that are in the same folder (in this case /travel_pics/72/) as the displayed image?

Many thanks for your help
<a href="/travel_pics/72/Toby Texas Chainsaw Massacre.jpg" class="highslide" onclick="return hs.expand(this)"><img style="float: left; " src="/travel_pics/72/Toby Texas Chainsaw Massacre.jpg" width="150" height="100" alt="Highslide JS" title="Click to enlarge"/></a>

Open in new window

Question by:Daniish
  • 2

Expert Comment

ID: 22665026
Did you set the graphicsDir variable correctly in the JavaScript?

Please read "Three levels of customizing" on this page: http://highslide.com/doc.php#customizing

Author Comment

ID: 22671250
As i understand it, the graphicsDir does not relate to the directory holding my images instead it relates to the graphics that are used to form the control bar.

If you think i have missed something please respond.

Anyone have any other ideas?

Accepted Solution

Daniish earned 0 total points
ID: 22676868
I think i've found a potential solution on the Highslide forum, and while i have a further question regarding this i think it would be prudent to create a new question for this.

The solution can be seen here:


Featured Post

7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question