determining a video in image loop

Hi,
Do you all know a way to determine if the current image in the image while loop (album context) is a video?

Like:
`

while:

if video {do this} else {do this}

`

Thanks in advance!

Comments

  • how about `isImageVideo()`?

    Remember, all our functions are documented in the user guide. Judicious searching of those web pages will give you quicker response than the forum, I think.
  • gjr Member
    Thanks, I usually do find what I need in the function guide or pdf docs, that one slipped by me...
  • acrylian Administrator, Developer
    In case it is unknown: The easiest way to search the functions guide is to click on "all elements" on the top right and then use the browser page search. I guess it might be a good idea that I add this note to the doc when regenerating it the next time.

    Additionally also Zenpage has something similar to check within the news loop if in CombiNews mode: `is_NewsType($type)`.
Sign In or Register to comment.