Tim
Tim

Reputation: 1450

Call Image to Load Using Galleria Script

I'm using a jQuery gallery script called Galleria, in conjunction with a wordpress theme I'm working on. The problem (as you can see) is that no image loads right off the bat, as it should. Is there any sort of workaround you can think of, to force the image to be loaded into that ? Thanks!

Upvotes: 0

Views: 193

Answers (2)

Denios
Denios

Reputation: 1

In the unordered list of the images you want to show, add the following to the opening li-tag of the image you want to load by default:

class="active"

Now that image will load off the bat.

Grtz, Denios

Upvotes: 0

Pointy
Pointy

Reputation: 413720

Maybe you could trigger a "click" event on one of the thumbnail images that the plugin wraps itself around.

Upvotes: 1

Related Questions