Gossamer Forum
Home : Products : Links 2.0 : Customization :

Re: [PerlFlunkie] Here's a working image upload mod!

Quote Reply
Re: [PerlFlunkie] Here's a working image upload mod! In reply to
I have a folder in my pages folder called upload.

Deleted the few links that I had from my directory and readded them.

Changed the add.cgi and modify.cgi to <form action="<%db_cgi_url%>/add.cgi" enctype="multipart/form-data" method="post">

I do not know where I can get an updated Template.pm. According to the template.pm I have it is version 2.01

I have the link in detailed.html not link so I did not do thie link.html change.

I added upload_url change to add and modfy form in site html template.pl

I added Image_1 and the others to add and modify globals.

Under modify I still receive this error To replace an existing image you need to check the 'delete image' box.

when I add a fresh link from add.cgi it works. picture loads up. and it show up on the detailed page.

thanks for helping me on the add. part

And on the add part it does not have the ID number.

So now any ideas on the modify part? I'll post all the code that I am using in the next post. I originally thought it was because I did not modify the links in the links.db, but since I deleted them all and readded, and still receiving the same error I am lost. Like I said I will post all the code that your modification is attached too. Thanks in advanced for your help. I am almost done modifying the Links Directory, then I can start adding the real links.
Subject Author Views Date
Thread Here's a working image upload mod! PerlFlunkie 22253 Feb 17, 2005, 9:55 PM
Thread Re: [PerlFlunkie] Here's a working image upload mod!
PerlFlunkie 21893 Feb 17, 2005, 11:11 PM
Thread Re: [PerlFlunkie] Here's a working image upload mod!
jayman 21623 Nov 4, 2005, 5:57 AM
Thread Re: [jayman] Here's a working image upload mod!
PerlFlunkie 21633 Nov 4, 2005, 2:40 PM
Thread Re: Here's a working image upload mod!
LILHOMIE 20963 Nov 8, 2009, 4:50 PM
Post Re: [LILHOMIE] Here's a working image upload mod!
LILHOMIE 20958 Nov 8, 2009, 7:50 PM
Thread Re: [LILHOMIE] Here's a working image upload mod!
PerlFlunkie 20979 Nov 8, 2009, 8:01 PM
Post Re: [PerlFlunkie] Here's a working image upload mod!
LILHOMIE 20986 Nov 8, 2009, 9:13 PM
Thread Re: [PerlFlunkie] Here's a working image upload mod!
LILHOMIE 21014 Nov 8, 2009, 10:16 PM
Thread Re: [LILHOMIE] Here's a working image upload mod!
PerlFlunkie 20949 Nov 9, 2009, 9:50 AM
Thread Re: [PerlFlunkie] Here's a working image upload mod!
LILHOMIE 20895 Nov 11, 2009, 6:53 AM
Thread Re: [LILHOMIE] Here's a working image upload mod!
PerlFlunkie 20884 Nov 11, 2009, 8:58 AM
Thread Re: [PerlFlunkie] Here's a working image upload mod!
LILHOMIE 20916 Nov 11, 2009, 3:40 PM
Thread Re: [LILHOMIE] Here's a working image upload mod!
LILHOMIE 20872 Nov 11, 2009, 3:53 PM
Thread Re: [LILHOMIE] Here's a working image upload mod!
PerlFlunkie 20856 Nov 11, 2009, 5:15 PM
Thread Re: [PerlFlunkie] Here's a working image upload mod!
LILHOMIE 20821 Nov 12, 2009, 9:13 PM
Thread Re: [LILHOMIE] Here's a working image upload mod!
PerlFlunkie 20752 Nov 14, 2009, 3:06 PM
Post Re: [PerlFlunkie] Here's a working image upload mod!
PerlFlunkie 20457 Nov 24, 2009, 5:38 PM
Post Re: [LILHOMIE] Here's a working image upload mod!
LILHOMIE 20909 Nov 11, 2009, 5:12 PM