Small question:
Is there a way, how a hotspot could open a gallery in the scroll mode (large images) with a specific gallery image,
When galleries are opend like this, they always seem to open at the first image, but for my current pupose it would be necessary to open a specific image either based on its name (or if not passible otherwise based on its index). How can I achive this?
There is an action to add in your code to perform this
Code
<action name="perso_scroll_entry" >
if(gallery[%1].gallery_mode == 'scroll' AND gallery%1_enlarged != true,
callwhen(gallery%1_enlarged == true,
set(first_pic,%2); clamp(first_pic, 0, calc(gallery[%1].img.count-1));
pspg_thumbs_action(%1,get(first_pic));
delete(first_pic);
);
);
</action>
Then, use it like this:
The second parameter of this action is for image index.
I hope it can help you ![]()