Gossamer Forum
Home : Products : Links 2.0 : Customization :

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

Quote Reply
Re: [LILHOMIE] Here's a working image upload mod! In reply to
LILHOMIE wrote:
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.

Ok, when I don't do anything with modifying the pictures, I get this error Missing the ID, URL, or Contact Email address of the resource to modify.huh?
Subject Author Views Date
Thread Here's a working image upload mod! PerlFlunkie 22251 Feb 17, 2005, 9:55 PM
Thread Re: [PerlFlunkie] Here's a working image upload mod!
PerlFlunkie 21890 Feb 17, 2005, 11:11 PM
Thread Re: [PerlFlunkie] Here's a working image upload mod!
jayman 21621 Nov 4, 2005, 5:57 AM
Thread Re: [jayman] Here's a working image upload mod!
PerlFlunkie 21631 Nov 4, 2005, 2:40 PM
Thread Re: Here's a working image upload mod!
LILHOMIE 20961 Nov 8, 2009, 4:50 PM
Post Re: [LILHOMIE] Here's a working image upload mod!
LILHOMIE 20956 Nov 8, 2009, 7:50 PM
Thread Re: [LILHOMIE] Here's a working image upload mod!
PerlFlunkie 20977 Nov 8, 2009, 8:01 PM
Post Re: [PerlFlunkie] Here's a working image upload mod!
LILHOMIE 20983 Nov 8, 2009, 9:13 PM
Thread Re: [PerlFlunkie] Here's a working image upload mod!
LILHOMIE 21012 Nov 8, 2009, 10:16 PM
Thread Re: [LILHOMIE] Here's a working image upload mod!
PerlFlunkie 20947 Nov 9, 2009, 9:50 AM
Thread Re: [PerlFlunkie] Here's a working image upload mod!
LILHOMIE 20893 Nov 11, 2009, 6:53 AM
Thread Re: [LILHOMIE] Here's a working image upload mod!
PerlFlunkie 20882 Nov 11, 2009, 8:58 AM
Thread Re: [PerlFlunkie] Here's a working image upload mod!
LILHOMIE 20913 Nov 11, 2009, 3:40 PM
Thread Re: [LILHOMIE] Here's a working image upload mod!
LILHOMIE 20870 Nov 11, 2009, 3:53 PM
Thread Re: [LILHOMIE] Here's a working image upload mod!
PerlFlunkie 20854 Nov 11, 2009, 5:15 PM
Thread Re: [PerlFlunkie] Here's a working image upload mod!
LILHOMIE 20818 Nov 12, 2009, 9:13 PM
Thread Re: [LILHOMIE] Here's a working image upload mod!
PerlFlunkie 20750 Nov 14, 2009, 3:06 PM
Post Re: [PerlFlunkie] Here's a working image upload mod!
PerlFlunkie 20455 Nov 24, 2009, 5:38 PM
Post Re: [LILHOMIE] Here's a working image upload mod!
LILHOMIE 20907 Nov 11, 2009, 5:12 PM