Support

Support is part of Event Gallery Extended.

Please get a subscription if you need support. Feel free to use the ticket system or the contact form for reporting defects or pre-sale questions. Make sure you're logged in in order to be able to create a new ticket.

For general information you can also jump to the manual.

Subscribe now!

#868 Download images after payment

Posted in ‘Event Gallery - General’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by sbluege on Friday, 18 July 2014 09:40 UTC

Emilie
 Hi !
I know that Event Gallery only collects the orders but doesn't fulfill it. I'm trying to put all purchased images in a folder so people could download it after payment. I use the "addFile" function:
$zip->addFile($lineitem->getFile()->getOriginalImageUrl()

but it doesn't work; do you know if I had to use OriginalImageUrl, or just File or anything else ?

Can you help me ?

Thanks,

Emilie

sbluege
You can't use something which returns an URL since you actually need a physical file, right? You need to put together the path to such a file manually.

Emilie
Yes you're right ^^
Thank you very much for your quick reply :)

So I found my image in home/.../www/images/eventgallery/foldername/filename and I add it to my folder, there is no error but when I download the folder it's empty :/ do you know why ?

Thank you,

Emilie

sbluege
Simple answer: no. I guess you did not implement you download feature in the right way.