Opening just picture files [SOLVED]

On 27/02/2015 at 03:19, xxxxxxxx wrote:

I'm creating a new Object plugin.
In the layout I have a FILENAME field, to load pictures.
How can I make sure that only pictures are loaded?
Or, even if the user loads something other that a picture, how can I make sure, in my code, that I'm dealing with a picture file?

On 27/02/2015 at 04:21, xxxxxxxx wrote:

Ok, found it 🙂
The InitWith returns the result.