Re: [rcrofoot] Detect "empty" photo value
>I should have asked yesterday why your solution worked and mine didn't.
It's because the foreach loop loops over all the images, but if there are no images it doesn't loop at all and no code inside it gets run.
So your code that displays "Sorry no images" needs to be outside the foreach loop.
Let me know if that makes sense.
Dave Edis - Senior Developer
interactivetools.com