Member
Member
gjr   2010-01-23, 02:22
#1

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!

Member
Member
sbillard   2010-01-23, 02:34
#2

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.

Member
Member
gjr   2010-01-23, 04:05
#3

Thanks, I usually do find what I need in the function guide or pdf docs, that one slipped by me...

Administrator
Administrator
acrylian   2010-01-23, 10:31
#4

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).

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.