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

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Can I embed video in a picture library?

Posted By:      Posted Date: September 29, 2010    Points: 0   Category :SharePoint

I created a picture library. I added a picture to the library. In one of the columns I need to display video. Now when I click on the picture I see a list of all the columns I created including a column I called "Video Link". Now instead of seeing this as a link to the video, I want the video to be embedded. Is this possible?

Thanks, Ninel


View Complete Post

More Related Resource Links

Issue With MOSS 2007 Picture library



We have a MOSS 2007 publishing portal. We are currently facing issues with Picture library created with default picture library template.Whenever we have tried to upload an image to the picture library I am getting "acess denied" error message, though I have full permission to the site level as well as to the library level.I have seen the pictures are getting uploaded and in "checked out" state.It does not show the "edit properties" page on upload and does not even allow the owner of the image to edit the properties, gives the same access denied error message.

I have also tried to check in the image files through the "management and content structure", but the images are not getting checked in. Please let me know the root cause of this and how we can resolve this.





Microsoft Office Picture manager is not launched in sharepoint 2010 picture library

Hi ? I am stuck up with :? Microsoft Office Picture manager is not launched in sharepoint 2010 picture library The description is : ? All the photos are stored in a picture library in the root of the My Sites called User Photos.? They are then stored in a folder called Profile Pictures. Navigate to your profile home page, delete default.aspx and type in ‘/user photos/’? (for example   ? But When I tried the edit option : Open Picture in a Picture Editor The page is blank : Microsoft Office Picture manager is not launched. ? Kindly help , if any service or step is missing. http://sp2010/my/user photos/).? This will take you to the root and then navigate to the folder Profile Pictures.http://sp2010/my/user photos/)

Speed Up Picture Library Slideshow transition?

I have a customer that's using the Picture Library Slideshow web part, but they want to speed up the transition time. I have to agree with them that the default fade in/fade out times are almost painful. Shouldn't both the transition type and time properties be exposed so an end user can adjust them? The only workaround I've seen for this is to use the Sliverlight Slideshow + container that's on Codeplex. Garth H MCITP BI 2008 MCTS: SQL 2005 & SharePoint 2010 http://bitinkering.spaces.live.com/

Embed Video File in Crystal Report

Hi to All I am new to crystal reports. I need to embed Video file in crystal report. Help will be appreciated.Rajeev Singh Chibrajeev16mca2k5@gmail.com

Embed a video in blog post

How to embed a video in my blog post, in SharePoint 2010?

How to embed jquery library in ASP.NET Custom Server Control

i created custom server control using jquery. i  embeded  jquery library in the control using following code. but it displays object expected error.  has someone done this before ?   //other code    protected override void RenderContents(HtmlTextWriter output) {    output.Write("<div id=\"bckPopup\"></div>"); }   protected void onInit(EventArgs e) { Page.ClientScript.RegisterClientScriptResource(GetType(), "HelpServerControl.Scripts.jquery-1.4.1.min.js");   string javascript = "<script type='text/javascript'> " +   "$(document).ready(function () { " +   "$('#bckPopup').text(\"loaded\"); " + "});</script>" ;   if (!(Page.ClientScript.IsClientScriptBlockRegistered("bhelp" ))) Page.ClientScript.RegisterStartupScript(this.GetType(), "bhelp" , javascript); base .OnInit(e);   }      

Picture Library View

hye..   i want to know if theres a way on how to view items on picture library as pop up or view in new windows. please reply ASAP.   thanx!

Content Query Web Part (CQWP) fails to show picture items from a document/picture library in an anon

I have a Picture Library and am trying to use the CQWP to display a list of items in the library.  The web part shows the items fine in authenticated mode, but it fails to show the items to anonymous users. The error log message is: Error while executing web part: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.SetDocumentIconUrlAndOnClickString(SPWeb web, DataRow row, String strDefaultItemOpen, Boolean fSetDocIcon, Boolean fSetOnClick, String fileRefColumnRef, String progIdColumnRef, String fsobjTypeColumnRef, String permMaskColumnRef)     at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.PreProcessForDocumentIconAndOnClickAttribute()     at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.AddContentQueryData()     at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.GetXPathNavigator(String viewPath)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) I'm running SP 2010.  I've tried various scenarios including: 1. Using the default publishing template. 2. Using the blank site template with publishing and lock down features enabled. 3. Us

Selecting pictures from a particular directory in the Picture Library.

Hi, Im trying to get the images from a particular directory in a selected picture library, I have seen the SPListItemCollection _pictureList.Folders but im not sure how to access actual contents of these items. Sorry this isn't terrible detailed but i haven't really got any snippets atm. Thanks in advance Courtney O'Sullivan.  EDIT: This is my code but i know its wrong,  SPFile file = folders.File; i think is the actual folder itself instead of the files in the folder. SPListItemCollection listCollection = _pictureList.Folders; foreach (SPListItem folders in listCollection) { SPFile file = folders.File; //if there is a directory set if (PictureLibraryDirName.Length > 0) { bool bFoundDir = false; //if we have a folder directory string dirPath = SPUtility.GetUrlDirectory(file.Item.Url); if (dirPath != null) { string[] dirs = dirPath.Split(new char[] { '/' }); if (dirs.Length > 0) { foreach (string dir in dirs) { errormessage += dir; if (dir.Equals(PictureLibraryDirName)) { bFoundDir = true; } } } } //and if the file belongs to a different directory if (!bFoundDir) { continue; } }

Thumbnail view for the sharepoint picture library

Hi All, I have created the Thumbnail view for the sharepoint picture library. 1. I want the custom view to be availiable for every picrture library automatically. When ever user create a picture library then that view will come automatically   2. Is there a way for Documents in Document library to get little preview in thumbnail images ( any Docs like pdf,.ppt,doc) Any help is much appreciated.  Hanif

how to merge contents of a form library and picture library into a report (word or pdf) document

Hi all           I want to generate a report  containing data from a form library and pictures from a picture library. I am able to generate ms word report from data filled in form library using http://www.bizsupportonline.net/infopath2007/convert-infopath-form-into-word-2007-document-xslt-c-sharp.htm . . But now actually i need to merge images from a picture library into that word  document . thnxs 

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

Playing video's in an asset library

Hi, I've got an asset library with a bunch of video's in it. The aim is to get the videos playable in the browser. I see two possible ways to do this ootb with SharePoint 2010: a) create a corresponding publishing page for each video, add a media player web part and connect it to the video. As far as i can determine it appears as though you can't dynamically switch the source of the webpart so you need multiple webparts/pages to display all the videos, which i find abit messy. b)use the option built into the asset library where when you hover over a video you get the option to play. This method fits perfectly however when i click play, the video player stretches the video and distorts it (and also makes it run more sluggishly), and i can't seem to find a way to tell it what size to play the video at. I've used a 'Video' content type and set the 'Frame Height' and 'Frame Width' fields however it doesn't change anything. So there are 2 questions: 1) Is there any way to control the size of the player launched from the asset library? 2) Is it possible to dynamically change the source of media player webpart? e.g. webpart connection to an asset list or something along these lines?   Thanks in advance

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



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

Picture Library Slideshow Web Part

I have a picture library in a subsite, and I want to set Slideshow with these pictures on main site page. When I try to edit Slideshow web part, there is no picture libraries in it.

Do I have to put picture library in main site to be able to put slideshow on main page?

Issue with Picture Library Slideshow Web Part after export/import of site collection (SP2010)


I recently exported/imported an SP2010 site collection from Dev to Prod. The site collection had about 90 sites, which were all driven from a site template. Once the export/import had taken place, I created an additional 15 sites (in Prod), using the original site template that was created in the Dev environment. Everything seemed to be working just fine, but I found an issue with the Picture Library Slideshow Web Parts (PLSWP) on all the sites that were created in Prod. Basically, I have a Picture Library, and any pictures added to this library show up in the PLSWP. The original 80 site's PLSWP works fine, but the new 15 sites will not show the pictures through the PLSWP (the viewer just shows up blank). Here is the difference in the html output of the picture viewer:

 PLSWP from Dev:

 <a target="_blank" href="http://forefronttest/realestate/RE/West/HOU/3560/Project%20Pictures/test.jpg" id="MSOPictureLibrarySlideshowWebPart_ctl00_m_g_28b22a62_6d8
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