Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
scarabee  
#1 Posted : Tuesday, July 11, 2006 2:46:22 AM(UTC)
scarabee

Rank: Member

Groups: Member
Joined: 7/10/2006(UTC)
Posts: 18

Hi!

Is it possible to let the user select which directory he uploads his pictures to? I 'm building av page that will do just that, but I can't find any documentation describing it.


Thanks, Scarabee!
Alex Makhov  
#2 Posted : Tuesday, July 11, 2006 12:53:05 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
Joined: 8/3/2003(UTC)
Posts: 998

Hello Scarabee,

You have to change the upload processing script to create folders according to user account information and save files there. Now there is no Image Uploader sample to write to the specific folder according to the user name or something.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
Fedor  
#3 Posted : Tuesday, July 11, 2006 1:06:33 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,537

Thanks: 4 times
Was thanked: 56 time(s) in 55 post(s)
Scarabee,

Image Uploader is just a client-side control which doesn't depend on server upload scripts. All server sample shipped with Image Uploader evaluation package are just sample how to process the uploaded data. These samples are not part of Image Uploader itself.

To provide folder selection you can attach additonal form and use these data to set the path for saving pictures.

Please say us your server platform (ASP.NET, PHP, JSP, Ruby) and will post you the detailed sample.

Edited by user Wednesday, October 29, 2008 12:08:57 PM(UTC)  | Reason: Not specified

Best regards,
Fedor Skvortsov
GibolinizatoR  
#4 Posted : Wednesday, July 12, 2006 5:52:16 PM(UTC)
GibolinizatoR

Rank: Member

Groups: Member
Joined: 7/12/2006(UTC)
Posts: 2

Hi !

Could you send me an exemple of this for php,
thanks
Fedor  
#5 Posted : Saturday, July 15, 2006 11:43:11 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,537

Thanks: 4 times
Was thanked: 56 time(s) in 55 post(s)
Hey,

I will post sample PHP right after weekends.
Best regards,
Fedor Skvortsov
GibolinizatoR  
#6 Posted : Wednesday, July 26, 2006 4:03:51 PM(UTC)
GibolinizatoR

Rank: Member

Groups: Member
Joined: 7/12/2006(UTC)
Posts: 2

I didnt receive anything, which weekend ?
:P:P:P:P:P:P:P
Fedor  
#7 Posted : Sunday, July 30, 2006 7:53:11 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,537

Thanks: 4 times
Was thanked: 56 time(s) in 55 post(s)
I am sorry for delay. I have attached simple sample. Please note, that it is not secure approach to send the path directly in GET or POST request.

Here is screenshot:

UserPostedImage

You can find source code archive in attachments.

Edited by user Monday, December 21, 2009 2:38:52 AM(UTC)  | Reason: Not specified

File Attachment(s):
SelectFolder.zip (6kb) downloaded 255 time(s).
Fedor attached the following image(s):
SelectFolder.png
Best regards,
Fedor Skvortsov
chris cee  
#8 Posted : Wednesday, November 22, 2006 7:49:23 PM(UTC)
chris cee

Rank: Member

Groups: Member
Joined: 11/22/2006(UTC)
Posts: 13

Hi

Is there anywhere I can find an example where the upload (gallery folder) can be specified from an SQL database

Example idea

Code:
<Script>

GalleryDir= "./Gallery/" & SQLDir

<Script>

 <div class="leftblock">
                
                <asp:SqlDataSource ID="SqlDataSource3" runat="server" ConnectionString="<%$ ConnectionStrings:ClubSiteDB %>"
                    SelectCommand="SELECT Top 10 id, Date, Gallery_name, Link FROM Gallery order by date DESC">
                    <SelectParameters>
                        <asp:Parameter Type="Int32" DefaultValue="1" Name="id"></asp:Parameter>
                    </SelectParameters>
                </asp:SqlDataSource>

SQLDir = Gallery_name & "/" & Date & "/"


Hope that makes sense :blush:


Edited by user Tuesday, December 18, 2007 8:09:14 PM(UTC)  | Reason: Not specified

My First and only Asp.net site

<a href="www.fusic.co.uk">FUsic.co.uk</a>
Alex Makhov  
#9 Posted : Thursday, November 23, 2006 1:03:01 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

There is no such sample in the standard Image Uploader sample set.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
chris cee  
#10 Posted : Thursday, November 23, 2006 11:40:46 PM(UTC)
chris cee

Rank: Member

Groups: Member
Joined: 11/22/2006(UTC)
Posts: 13

Have you any plans to make a sample?

Or has anyone else tried this?

Thanks

Chris Cee
Fusic.co.uk
My First and only Asp.net site

<a href="www.fusic.co.uk">FUsic.co.uk</a>
Alex Makhov  
#11 Posted : Friday, November 24, 2006 8:56:19 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

As about standard Image Uploader samples, the answer is No, we are not planning to make such sample at the nearest time.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
chris cee  
#12 Posted : Monday, November 27, 2006 10:37:02 PM(UTC)
chris cee

Rank: Member

Groups: Member
Joined: 11/22/2006(UTC)
Posts: 13

Could you help me with the code then, maybe some pointers?
My First and only Asp.net site

<a href="www.fusic.co.uk">FUsic.co.uk</a>
chris cee  
#13 Posted : Thursday, November 30, 2006 9:24:02 PM(UTC)
chris cee

Rank: Member

Groups: Member
Joined: 11/22/2006(UTC)
Posts: 13

Can you e-mail me the selectfolder example as I when I download it the Zip file is empty!

Thanks
My First and only Asp.net site

<a href="www.fusic.co.uk">FUsic.co.uk</a>
Alex Makhov  
#14 Posted : Monday, December 04, 2006 6:31:03 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

The better way it to fix the Zip file link. Where did you download it from?
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
chris cee  
#15 Posted : Monday, December 04, 2006 11:36:59 PM(UTC)
chris cee

Rank: Member

Groups: Member
Joined: 11/22/2006(UTC)
Posts: 13

The link on the first page of this post!

could you just re-post the link?

Thank you!"

My First and only Asp.net site

<a href="www.fusic.co.uk">FUsic.co.uk</a>
chris cee  
#16 Posted : Monday, December 04, 2006 11:38:29 PM(UTC)
chris cee

Rank: Member

Groups: Member
Joined: 11/22/2006(UTC)
Posts: 13

Quote:
Fedor (7/31/2006)
I am sorry for delay. I have attached simple sample. Please note, that it is not secure approach to send the path directly in GET or POST request.

Here is screenshot:

UserPostedImage

You can find source code archive in attachments.


it was atached to this message

Edited by user Monday, December 21, 2009 12:26:14 PM(UTC)  | Reason: Not specified

My First and only Asp.net site

<a href="www.fusic.co.uk">FUsic.co.uk</a>
chris cee  
#17 Posted : Wednesday, December 06, 2006 5:27:23 PM(UTC)
chris cee

Rank: Member

Groups: Member
Joined: 11/22/2006(UTC)
Posts: 13

Hi

have you had any luck finding the sample above?

Thanks
My First and only Asp.net site

<a href="www.fusic.co.uk">FUsic.co.uk</a>
Alex Makhov  
#18 Posted : Wednesday, December 06, 2006 7:42:00 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

Try this message attachment.
File Attachment(s):
SelectFolder.zip (6kb) downloaded 167 time(s).
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
Alex Makhov  
#19 Posted : Monday, December 11, 2006 7:28:57 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

I have posted the ASP.NET SelectFolder sample here.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
chris cee  
#20 Posted : Sunday, July 22, 2007 12:33:57 AM(UTC)
chris cee

Rank: Member

Groups: Member
Joined: 11/22/2006(UTC)
Posts: 13

Hi

Thanks for your help so far, I was wondering if you have the above sammple in VB as I can't work out have to get this working within my application which is all VB.

Thank you in advance.

Chris
My First and only Asp.net site

<a href="www.fusic.co.uk">FUsic.co.uk</a>
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.