Image Gallery Add-on Support Product Page

Not planned

variable folder to save image

Shared 21 Apr 2011 10:36:12
1
likes this idea
21 Apr 2011 10:36:12 P R posted:
please add the funcionality to save files in variable folders...

its necessary!

regards

Replies

Replied 21 Apr 2011 11:11:35
21 Apr 2011 11:11:35 Patrick Woldberg replied:
Good request, you can do this by editing directly in the code, checking for options to add it to the interface.

To make a folder dynamic you have to edit directly in code-view search for the path, will look like
path:"images"
. Make it like
path:"images/<?php echo $_SESSION['userid']; ?>"
for PHP or
path:"images/<%=Session("userid")%>"
for ASP.
Replied 21 Apr 2011 14:24:08
21 Apr 2011 14:24:08 P R replied:
yes its a good idea...

but this did not work...
the authorisation files could not copy automaticaly into the folder...

because DW dont know the variable...

the file musst copie in production mode i think.

so there is no feeture at the moment to do this...

i did not understand that this extension is released.

yes i know thats no funcionality but what about dynamic data? dynmaic data is not a new feature in the internet.
dynamic data is everywhere... also dynamic folders.



Edited by - P R on 21 Apr 2011  14:27:59
Replied 26 Apr 2011 23:06:02
26 Apr 2011 23:06:02 Denis Hoffmann replied:
please make it dynamic!

how can I use it in an network? the user should only see his images :-(

hmmm, same with the HTML Editor3!

Denis

Replied 27 Apr 2011 11:16:24
27 Apr 2011 11:16:24 George Petrov replied:
will take care of this in the next update.

Greetings,
George
Replied 27 Apr 2011 14:09:41
27 Apr 2011 14:09:41 Denis Hoffmann replied:
Hey George,

do I only have to put that special FILE into my folder to have enable the upload and the galelry?

does this file have any code or extension?

Cheers
Denis

Replied 27 Apr 2011 14:23:45
27 Apr 2011 14:23:45 George Petrov replied:
No - its just a empty file with the right name - no extension.
It has to be there to be able to upload.

Greetings,
george
Replied 27 Apr 2011 14:51:51
27 Apr 2011 14:51:51 Denis Hoffmann replied:
oh, thats cool.

can you be so kind and tell me how to creat such a file in PHP, so I can create a user folder everytime a new user enters my network :-)

will this work?

Denis
Replied 27 Apr 2011 15:19:50
27 Apr 2011 15:19:50 George Petrov replied:
Google search php fopen ...
Replied 27 Apr 2011 16:15:31
27 Apr 2011 16:15:31 Denis Hoffmann replied:
so I need to wait for the update

cheers

Reply to this topic