.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Lee Hnetinka
mithun
Post New Web Links

Link images from Image library to Announcement

Posted By:      Posted Date: November 01, 2010    Points: 0   Category :SharePoint
 

Hi,

I have an user requirement to show the Announcement list as a News site (like Channel News) such that whenever user views the announcement the related image should be displayed in the right panel.

Please suggest how to achieve this.

Regards
Sanra




View Complete Post


More Related Resource Links

image.save not saving images

  

I have a piece of code that writes string into an image and save it. It works on one of my site and but not the other. The image.save is not working. If this is a permission problem, which account should I change? I use win server 2003 and IIS 6, and have given ASPNET, NETWORK SERVICE, and anonymous user write access.


Creating a custom column with a link to document (other than the name field) in document library

  

Hello!

I have a document library with the standard name column linking to the document. However, we'd like to create a custom field and have that link to the document (and edit item menu).

How is this best accomplished?

Thanks in advance!

T


Can i Map to external link from document library folder

  

HI

Is There any one know how to link document library folder is to external site 

 

Thanks


Hyper Link - Image

  
Hello,            I want to show a image to help user. I want to give small link beside test box. If they click on link, I want to display the image as small popup. Can anyone tell me what is the best way to do this ?TIA

How to add Image before link...

  
Hi Guys,May look weird,,,for example when using google u can see their logo(image) before the address in the url and in the tab..i want tat kind of image for the website i developed...hw to achieve tat...

Need to upload images with data, but image url's are in separate db table

  
Hello, I'm making a simple homes classifieds section and when a home ad is created, a HomeID is automatically created for it in the db.  I need the images to upload and enter the associated HomeID with each image automatically.  What I tried isn't working, because it looks like it's looking for the HomeID in the codebehind before it gets entered into the db.ASPX CODE<asp:SqlDataSource ID="SqlDataSource1" runat="server"         ConnectionString="<%$ ConnectionStrings:ConnectionString %>"         InsertCommand="INSERT INTO [Homes] ([UserName], [Street], [Details], [Contact], [Phone], , [Thumb], [Price], [Approved], [Posted]) VALUES (@UserName, @Street, @Details, @Contact, @Phone, @Email, @Thumb, @Price, @Approved, @Posted)"         SelectCommand="SELECT [HomeID], [UserName], [Street], [Details], [Contact], [Phone], , [Thumb], [Price], [Approved], [Posted] FROM [Homes]" >        <InsertParameters>            <asp:Parameter Name="UserName" Type="String" />            <asp:Parameter Name="Street" Type="Str

Datareader: Set multiple random images into appropriate image field

  
Hi, first of all, sorry if my title isn confusing as i dont really sure the specify description regarding what i wan to do.   Now what i trying to do is, I getting 5 random images from the database, this is the code for me to get random 5 records from database: Dim command As New SqlCommand("SELECT TOP 5 Description,Image,ImageID FROM Properties ORDER BY ImageID", con)  and with the help of image handler to display it to 5 Images components i put in the page, lets say name it "Image1" to "Image5". Now the question is, how do i assign the 5 diff imageID into the 5 image components? Lets say i wan my Image1's imageID is 1, and Image2's imageID is 2. What im doing now is assigning all the same imageID to all 5 images. Below is how i assign the imageIDDim reader As SqlDataReader reader = command.ExecuteReader If reader.HasRows = True Then While reader.Read Image1.ImageUrl = "GetThumbnail.aspx?ImageID=" & reader("ImageID") & " " Image2.ImageUrl = "GetThumbnail.aspx?ImageID=" & reader("ImageID") & " " Image3.ImageUrl = "GetThumbnail.aspx?ImageID=" & reader("ImageID") & " " Image4.ImageUrl = "GetThumbnail.aspx

Clicking on "Shared Documents" gives link to download instead of opening document library

  
Hi, I hope someone can help! All of a sudden (I don't know if someone has changed something!), whenever anone clicks on a link to open the "shared documents" document library in a specific site within our sharepoint site, instead of opening the document library, it instead gives a download dialog for a zip "AllItems.aspx" as a zip file. Anyone got any iteas what could have gone wrong and how to correct the issue?   Many thanks for any help!

How to add more items link in document library?

  
Hi, I have a document library, i need to display limit number of items with "more items" link. if i click more items link it will display all the items in the document library. how to create more items link in document library? thanks.

Slide Library Publish option URL as link

  
Hello all, I know how to create a new item from URL however am stuck in trying to figure out how to launch the 'Publish' option via a link. Basically I just want to have a link that instantiates the Publish activity (e.g. opens browse to file box, etc..

Posting multiple images to one Image tool

  
I want to create a if statement which i select an area on a imagemap then the corresponding label discription will appear and corresponding image. The code if what i have so far    Protected Sub ImageMap1_Click(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ImageMapEventArgs) Handles ImageMap1.Click        If e.PostBackValue = "ME" Then            Image1.ImageUrl = "F:\WebSite1\images\one.jpg" & label1.text="Me" <------- How do you join a label and image selection in one if statement i keep getting errors on this and image doesnt load also        ElseIf e.PostBackValue = "Car" Then            Label1.Text = "CAR" & Image1.ImageUrl = "F:\WebSite1\images\two.jpg"        ElseIf e.PostBackValue = "Mysister" Then            Label1.Text = "My sister" &Image1.ImageUrl = "F:\WebSite1\images\two.jpg"        Else            Label1.Text = ""        End If 

How to hide image in SharePoint 2007 picture library

  
We have a picture library which has users photos. I wanted to hide some of the users photos in the picture library. Is there any way available to achieve the same in SharePoint2007.   Thanks, Senthilrajan Kaliyaperumal

Skip link in databinding on an empty image

  
Hello folks, I have a problem with databinding an <a href> link when there's no image available for the link. My intention is to display a link with <a href=...> when there is an image available and skip the <a href...> if there is no image available but just display the image. i've tried the following but no result:   <%# DataBinder.Eval(Container.DataItem,"adImage") == "noimage.gif" ? <a href='/displayad.aspx?adc=<%# DataBinder.Eval(Container.DataItem,"id")%>' title="(c)" ><img src='DataBinder.Eval(Container,"adImage") /></a> : <img src='DataBinder.Eval(Container,"adImage") />  %s    

Tag Cloud web part of SharePoint 2010, link only to document library not to document ?

  
Do tag cloud show only Document library links when the tag is click in Tag cloud web part of SharePoint 2010. Can it show all the document links instead of document library links?

Picture library not displaying full images

  

Hi there,

I've created a picture library and added a number of our organisations logos to it in jpeg format. Unfortunately end users and I are unable to open the jpegs. I can see the thumbnail image and the preview image but when I click for the full image I get the nasty red 'X'.

I've checked the Permissions which all look fine and the file names have no nasty characters or spaces.

One quirk though - I've added a jpeg picture taken of my colleagues and I am able to see the thumbnail, preview and open the full image!!? For some reason the browser does not like the logos. I'm using IE7.

Any idea why this is happening and how it can be fixed?


upload images to a picture library from infopath form

  

Hi 

   I am having an infopath form, from where i need to upload images to picture library . 


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend