Web Forms :: Adding Watermark Or Text To Images On Uploading Or Displaying?
Oct 31, 2010
Is there a way to process images once uploaded to my asp.net site, to put a watermark or some text across the image to copyright the images? I would like to do this server-side if possible.The other option I have discovered here [URL] would be to store the images as they are on the server, but to manipulate the display so it appears the image is watermarked . However, this solution is in PHP. Does anyone know a good PHP to VB.NET translator?! Or does anyone have a good suggested link, idea or code? Or can I add PHP to my ASP.NET site?
View 4 Replies
Similar Messages:
Mar 28, 2011
How can i do that with ASP?
Is this process going to be a great overload for the server?
Could i use an image for a watermark instead of simple text?
View 4 Replies
Sep 20, 2015
I want use this watermark: [URL] ....
But I want used in formview, how i change code in C# ?
and this is my FormView:
Asp.net
<asp:FormView ID="FormView1" runat="server" DataKeyNames="id"
DataSourceID="SqlDataSource1" DefaultMode="Insert" Width="1200px">
<InsertItemTemplate>
<table class="style1"><tr>
<td valign="top" class="style5">ناونیشان:</td>
[Code] ....
C#
protected void Upload(object sender, EventArgs e) {
string watermarkText = "© test.com";
//Get the file name.
string fileName = Path.GetFileNameWithoutExtension(FileUpload1.PostedFile.FileName) + ".png";
//Read the File into a Bitmap.
using (Bitmap bmp = new Bitmap(FileUpload1.PostedFile.InputStream, false))
[Code] .....
View 1 Replies
May 7, 2015
I used it to put text watermark but font of text is solid I want it has transparency how I can do it?
View 1 Replies
Sep 19, 2012
Is there a way to upload image and save to folder with watermark of Copyright on image ?
View 1 Replies
May 7, 2015
I used below code to upload image and put watermark on it
protected void BtnUpload_Click(object sender, EventArgs e) {
uploadImageError.Visible = true;
if (fup1.HasFile && fup1.PostedFile.ContentLength < 102400) {
string watermarkText = "behtop.com";
string path = Server.MapPath("~/image/House/product/");
[Code] ....
Problem is when I upload image and click on btnupload it shows image in new window with watermark text but it doesn't save it into host...
I want when I click on btnupload it doesn't show image in new window I want it just uploaded image with watermark into host...
How I can do it?
View 1 Replies
May 12, 2010
post the C# source code for uploading images to a database, and then showing it to the user?? I have tried now for 3 weeks with no luck... Maybe we should recommend to Microsoft to add a file upload html helper method to MVC 3?
View 4 Replies
Mar 31, 2011
[Code]....I am seeing an empty text box watermark css is not applying and the text type first name here is also not getting displayed insde the text box.
View 1 Replies
Nov 19, 2012
In insert.aspx page I have file upload control that users can upload their image and in show.aspx page they can see their images that the uploaded.
I want when users upload their image automatically type BEHTOP.COM On the center of image
View 1 Replies
Sep 24, 2012
I need to add Images in my Rich Text Box editor after a paragraph. I have gone through this article and it is very useful.
{URL] ....
But I have some question:
1. Can I add multiple images in this Rich Text Box.
2. After adding images and content in Rich Text Box, I want to save it in database. So where will I save images and content. I mean images in folder and content in database or both in database.
View 1 Replies
Jan 23, 2012
I have div with two images at top n bottom and text in the center.
On each pag load i want to change both the images and text as well as the position of div(MainContent).
My code in asp.net as follows:
<div id="MainContent">
<asp:Image ID="ImgRibbonTop" runat="server" src="Images/Default/ribbon-top.png" alt="ribbon" />
<div id="LeftSection">
[Code] .....
View 1 Replies
Feb 28, 2011
In my project i have a table named WATERMARKED_IMAGES where i have columns like WID,IMAGE_ID,LOGO_ID,POS,ALPHA,SECRET_KEY[IMAGE_ID and LOGO_ID here are the foreign keys]....i need to retreive IMAGE_CONTENT from another table IMAGE using IMAGE_ID ..the same way LOGO_ID also...after retreiveing i need to embed the logo in the image at the pos and with alpha value mentioned in the table WATERMARKED_IMAGES...
but the problem here is that as i am able to retrieve data IMAGE_CONTENT,LOGO,CONTENT,POS,ALPHA in a single query] from database but i dont know that how to use this detail and where to use these details in my WATERMARK class...
View 1 Replies
Mar 22, 2011
in my project i am allowing user to select multiple images at a time and i am passing the ids of these images to next page WATERMARK...
in the WATERMARK page i am allowing users to select combos like for a particular image id they are able to select different messages to embed...
but it performs watermark on only one image id which is selected at the end....
here is a piece of my code..
[Code]....
View 3 Replies
Feb 26, 2011
i am doin my final year project and in my project i want to watermark multiple images simultaneously where image,logo,position,alpha and key value is stored in a database table ....i need to retreive these details from db table and perform watermark on those images....
View 3 Replies
Jan 28, 2011
I am doing a project on digital watermarking. This is the process. The user will choose his image file to upload, chooses his image key(either from the visual studio gallery-folder name is Image Key, or he chooses his own from the directory).
He enters a password, and this password will be embedded into the image uploaded.
Next, there is an option to digitally watermark the image (This is where I am having problems - stuck with the codes)
Here is the work so far, and I couldn't get any further.
FileUpload UI + code behind
[Code]....
[Code]....
WatermarkController (Business Logic)
[Code]....
View 1 Replies
Oct 28, 2013
My textbox is
<asp:TextBox runat="server" ID="txtDate1" Width="120px" onclick="tryPlaceholder(this,'dd MMM yyyy')" onblur="tryPlaceholder(this,'dd MMM yyyy')" />
function tryPlaceholder(txtbox, placehold) {
if (txtbox.value.length == 0) {
txtbox.value = placehold.toString();
[Code] ....
Its run okay with javascript. but i want solution through server side for textbox withing placeholder control inside asp.net .....
View 1 Replies
Sep 3, 2013
I want to create a text which contain a water mark .....but the condition is when i click inside the tetxbox the watermark want to disapper
View 1 Replies
May 7, 2015
I used below code for insert watermark to photo
[URL]
here it writes watremark text is straight line (horizental)
How I can rotate text of water mark?
View 1 Replies
Jun 7, 2012
I used to show the text using TextBoxWatermarkExtender.
The text is so big.
How to break the string in the text in the text box that is shown using TextBoxWatermarkExtender
View 1 Replies
Jan 19, 2011
When i use timer control in my website. then the ajax water mark blinking.
View 1 Replies
Jan 9, 2010
I am with c# asp.net. How do we upload images to a repeater using file upload?
View 1 Replies
Oct 25, 2010
I am trying to upload images to sharepoint , but i am getting this error " object reference not set to instance of an object".
Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs)
Dim uploadedFilePath As String = "C:images"
Dim sharePointListPath As String =
View 3 Replies
Jun 21, 2010
iam using asp.net 2.0 with sql server 2000 in my site if iam using xp operating system all clients are able to upload the pictures but the clients those who are using windows7 and vista the are getting errors
can you correct my code
[Code]....
View 5 Replies
Mar 29, 2010
My problem is that I want to display a watermark on password field i..e Enter Password. But it is appearing as **********. I have seen it on facebook that when i see it first time text is appearing 'Enter Password' and when i enter my password it appears as *****. I know that with some dirty workarounds I can fix it. Is there any good solution for this here is the code which I am using
[Code]....
View 1 Replies
Apr 9, 2010
I have 2 "Updatepanel" controls. Each contains a textbox linked to a "TextBoxWatermarkExtender", and a button. When I click on one of the buttons without to enter any text, all the watermark text disappear on BOTH updatepanel when they should remain visible.
[code]...
How can I avoid the waternmark text to disappear when I click on the button?
View 4 Replies