View Full Version : Featured Image Zoomer display last image first

05-03-2014, 02:22 PM
Hi, i'm Laurent from France !! Sorry for my english...

I use Featured Image Zoomer for a costumer. It's a very great script... But my costumer want to display/show at first the last image in the list (in your exemple , the first large image is the first thumbnail). Of course, i can't change the order list...
I thing about something like this, in options : startOn:-1,
Can you help ? I'm small beginner in javascript !!
Thanks. Bye.

05-03-2014, 03:25 PM
Use this version of multizoom.js (right click and 'Save As'):


It adds a number of requested options (read the update notes in the file if you're interested), including the ability to select which is the first thumbnail used. To use that option, just give a class of "firstthumb" to the thumbnail link that you want to go first, ex:

<div class="image2 thumbs">
<a href="angelinasmall.jpg" data-large="angelina.jpg" data-title="Angelina Jolie"><img src="angelina_tmb.jpg" alt="Angelina" title=""/></a>
<a href="saleensmall.jpg" data-large="saleen.jpg" data-title="Saleen S7 Twin Turbo"><img src="saleen_tmb.jpg" alt="Saleen" title=""/></a>
<a href="jaguarsmall.jpg" data-large="jaguar.jpg" data-title="Jaguar Type E"><img src="jaguar_tmb.jpg" alt="Jaguar" title=""/></a>
<a href="listenmusic.jpg" class="firstthumb" data-title="Relaxing Music" data-dims="300, 225"><img src="listen_tmb.jpg" alt="Relaxing Music" title=""/></a>

The browser cache may need to be cleared and/or the page refreshed to see changes.

If you want more help, please include a link to the page on your site that contains the problematic code so we can check it out.