Getting file name after processing

See all posts Reply

Getting file name after processing new!
by Vincent van Daal, 17 years, 6 months ago
Is there a easy way to get the file name of the image AFTER processing

Thanks in progress.Reply
Re: Getting file name after processing new!
by colin, 17 years, 6 months ago
As per the FAQ:

You can read some class variables after calling $foo->process(). The following ones can be used to get the filename details:
$foo->file_dst_name
$foo->file_dst_name_body
$foo->file_dst_name_ext
$foo->file_dst_path
$foo->file_dst_pathname
Reply
Re: Getting file name after processing new!
by Vincent, 17 years, 6 months ago
FAQ:
variables to obtain this information:
$foo->image_dst_x and $foo->image_dst_y


These functions never worked for me, just to let you know. They always return 0.Reply
Re: Getting file name after processing new!
by colin, 17 years, 6 months ago
You should read these variables after calling $foo->process().Reply
Re: Getting file name after processing new!
by Vincent, 17 years, 6 months ago
I know colin, but they still return 0...Reply
Re: Getting file name after processing new!
by colin, 17 years, 6 months ago
Can you please paste here your code, or send it to me by email?Reply
Re: Getting file name after processing new!
by Vincent, 17 years, 5 months ago
I've looked trough my code, It was a fault of mine ;)
Thanks for your splendid help anyways colin.Reply