I was wondering if you could add this feature so that there is a "class" and or "id" tag for images that you use for the slide show. So it would be something like below.

field_slideshow.module file around line 747.

$image['attributes']['class'] = 'slideshow-img';

Also, would it be possible to increment the images, depending on the number used, so its something like slideshow-img-0, slideshow-img-1 ... Thanks for the module.

$image['attributes']['id'] = 'slideshow-img' . $num;

Comments

gdbwb05’s picture

I was wondering if you could add one more html class feature. Would you be able to add to the number pagers in the link some sort of class identification. I want to use a different CSS background image for each link but couldn't figure out how to hack the code add it in.

So it would be something like.

<a  class="activeSlide slide-1" href="#" >1</a>
<a  class="slide-2" href="#" >2</a>
......
....

Thanks

jdanthinne’s picture

Status: Active » Needs review

Hi,
I've just pushed changes to the DEV version.
I've added all the classes you've asked.
Please download next DEV and tell me if it's ok.

gdbwb05’s picture

Yep, all the stuff for themeing helped thx.

jdanthinne’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.