Welcome Guest, Not a member yet? Register   Sign In
Check if Image exists in folder

I need to display several images in a page. Some thumbnails images may not exist so I need to display an alternate image instead. Basically, i need to check if an image exists and display an alternative if it does not. Any comments would help.

[eluser]Glen Swinfield[/eluser]
   // display alternative
   // display file

Hope this helps - there may be a CI alternative - but what's the point when there's a native php function.

Thanks! Duh... that was easier than I thought. Spent my time looking for CI functions! So s.tupid! Smile

Theme © iAndrew 2016 - Forum software by © MyBB