-
- 94 Posts
Is there a solution to upload files or photo's to a users profile?
Max 3 photo's, and photo got limitation in filesize etc.
My goal is that multiple users can add images, and that those images will be shown using the "peoples" package.
What is the best way to approach in this matter?
I really hope somebody can help me.
-stevebravo
-
- 94 Posts
thank you very much,
but is there also a way to upload more then 1 photo?
-
- 94 Posts
Anso, somehow this hook on #2 is not working for me..
maybe you can help:
&PostHooks= (is the name of the snippet?)
&useExtended = (i dont know yet for sure)
&photo_path (the absolute path where the pictures are stored (i use $_SERVER['document_root'] + extra maps)
&photo_path_url(the path what is shown in browsers?)
&photo_filename (the name of the picture)
and this is the html what i put in
<Label for="foto"> Photo [[+error.picture]]</label>
[[+Photo:notEmpty=`<img src="[[+picture]]" /> `]]
<Input type="file" class="submit2" name="foto" />