I would like to target the last image in the fieldset and apply a specific class to it. How would I do that?
I've tried this and it applies it to all:
if(($page->images->last()->name) == 'whatsnext.png') { echo $whatsnextclass; }
It's not targeting that specific image, it's just checking to see if that exists. I don't know how else to go about this. Help please?
Thanks!













