I created a column in Categories called "Images" in an attempt to figure out how to insert related images beside each category name in the home page and related pages. The instructions I have are for users uploading the images so I'm having to use trial and error to figure out how I'm going to get them to line up and insert properly. I tried to put a tag <input type="file" name="Image /> in my category. html and what happens is I get a "Browse" box showing up. Was I just blocking this before because of my alteration of the css, is this normally on all pages?
Oct 26, 2006, 6:46 PM
Veteran / Moderator (6956 posts)
Oct 26, 2006, 6:46 PM
Post #2 of 3
Views: 1953
>> <input type="file" name="Image /> in
That would be how to upload an image, in a form.
If you are trying to DISPLAY the image, the format is just like you would use any other tag (eg: <%image%>) *BUT* there has to be a bit of other path information, or the use of jump.cgi, to actually let the browser know where the image is.
So, check out this:
http://www.gossamer-threads.com/...orum.cgi?post=292819
That is Brewt's how to on file columns.
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.
That would be how to upload an image, in a form.
If you are trying to DISPLAY the image, the format is just like you would use any other tag (eg: <%image%>) *BUT* there has to be a bit of other path information, or the use of jump.cgi, to actually let the browser know where the image is.
So, check out this:
http://www.gossamer-threads.com/...orum.cgi?post=292819
That is Brewt's how to on file columns.
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.
Oct 27, 2006, 9:55 AM
Novice (40 posts)
Oct 27, 2006, 9:55 AM
Post #3 of 3
Views: 1952
hi, I guess I have to find the file enabling jump cgi but what I was wondering is how do you get the images to line up right beside the name correctly? Do you create css for this? When you create the extra file column in the database table do you have to make sure it sits beside the category name field? Thanks, S