|
Hey folks -
I'm trying to upload an image to my site through a form, however it's much more efficient to (rather than bog down the database) just store the location of the image in the database.
I'm having trouble with my form and really don't know where...
Started by scrot on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Essentially you'd just need to modify the controller that they have there to include a bit where you put... .
The entry in their user guide explains as well as I could, so I'm going to point you there .
CodeIgniter's file uploading class will do this for you.
|
|
I'm learning WPF on my own and I can't seem to find a way to make this work.
Here's my code:
<Window x:Class="Test.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" ...
Started by John McClane on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
To set a backgrounf Image to control you have to add ImageBrush markup
<MenuItem.Background> <VisualBrush.Visual> <Image Source="image.png"></Image> </VisualBrush.Visual.
|
|
I have a file field in my form.
I want the user to be able to choose an image, press OK, and then without submitting the form, preview the image in a smaller resized way. If everything is to the satisfactory of the user, then hit submit and the image ...
Started by Camran on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Here's an article which also might help you out
When this then:
Have a separate ... .
An AJAX request is made in the background to submit the form which would upload the image to submit the form and upload the original image.
|
Ask your Facebook Friends
|
Hello,
I have two images, that I am using their value to insert into a db table. Do I Require a form or can I do without one.
<form name="form1" id="form1" method="post" action="save.php"><input type="image" src="images/test.png" border="0" id...
Started by Jean on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
It ....
Faking it with JavaScript is more" creates a server side image map.
That said, input type="imageYou either need a form or you need to fake it with JavaScript.
Effort and violates rule 2 , so effectively, yes, you need a form.
|
|
I have a html mail form and I was just wondering why I get the coordinates of the submit image button in the body of the message in firefox, is there a way to delete that.
thanks
<form method="post" action="mailto:miles@faithinstyle.co.uk?subject=Password...
Started by amir on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
What problem are you trying to solve.
Either don't use input type=image or just ignore the data.
|
|
Hi,
I am new to windows mobile. I need to set a background image for the form but i can see only the option to set background colour. Also i tried to set background image for tab control there also i didnt see any option to set background image. How can...
Started by Timmi on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Another "low-tech" solution is to....
Something like this:
protected override void OnPaint need to load that image, and you may want to tile, center or scale it, but the process is really simple.
Override OnPaint and draw in your own image.
|
|
I have an MDI form with a centered background image.
Each time the user changes the size or state of the form, the image isn't updated at all. It remains in the old place (not centered any more) and is even lost when the form is made too small.
How can...
Started by Marc on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You might have to put conditions in Resize event to stop Image location change) { case Win32.SC_MAXIMIZE: case Win32....
I have not tested it, but it should work.
Call PositionContainersToParentMiddle method in Resize event of your MDI form.
|
|
I have created a form in my application as follows:
<form action="/search/" method="get"> <input id="search-box" name="search" type="text" size=30 title="Search" value="" /> <input id="search-submit" type="image" alt="Search" src="/images...
Started by Prashant on
, 5 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Why is it a problem? Can't you just ignore; (or possibly an onsubmit handler to the form) which builds the neat-looking search URL and redirects the browser to that URL, and ....
If you use an <input type='image'> then you get them.
|
|
Hi All,
I am quite interested in exploring accessibility in forms and accessibility in general.
Is it against the rules to use an image as a label if the image also has an alt tag representing the the label? Would this be ok? If not what is the best approach...
Started by Jackson on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
So it would be possible for users to select....
Height: 50px; background-repeat: no-repeat; } .social .s1{ background-image: url("social1.gif"); } .social .s2{ background-image: url("social2.gif"); }
I would not remove text from the labels.
|
|
Hi,
I have a .NET 3.5 Windows forms application. When the user keys in data and clicks 'Save', i want to save the entire form as an image file.
How can i do this ?
Thanks, Chak.
Started by Chakravarthy on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Have a look at....
You may ve also able to use Form.DrawToBitmap.
You can create a bitmap in size of your screen (System.Windows.Forms.Screen class), create a System.Drawing.Graphics object for it (Graphics.FromImage) and then use Graphics.CopyFromScreen .
|