Image upload functionality - SharePoint 2013 OOB
Hello Everyone
How can i achieve Image upload functionality in SharePoint 2013 OOB feature ?
Regards
Prashanth
SharePoint Administrator
either you can provide a link to asset library from home page to upload images or directly add the asset listview web part to the page to provide the upload option and view. You can check below links for more details about asset library.
http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2013/02/21/how-to-use-asset-library-in-sharepoint-2013.aspx
https://www.nothingbutsharepoint.com/sites/eusp/pages/sharepoint-asset-library.aspx
My Blog- http://www.sharepoint-journey.com|
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful
Similar Messages
-
Multiple file upload in SharePoint 2013 using AjaxFileUpload
Hi all,
I want to add multiple files using file upload control in our visual web part SharePoint 2013. I tried to use AjaxFileUpload (from Ajaxcontrol toolkit) in my visual web part and also added the handler in web.config as described in article (http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/ajaxFileUpload/ajaxFileUpload.aspx).
But, it’s not even opening the browse dialog box.
I also tried to see if any third party control is available to achieve multiple file upload in SharePoint 2013 Visual web part, but without any success.
Please help.
Regards,
MonicaHi
Try to add the dll files of Ajax Control Toolkit in the
Bin folder of your SharePoint Web Application (IIS Site)
Hope that help
Ahmed Naji SharePoint Geek
MCP|MCTS|MCPD
My English SharePoint Blog | DotnetFinder My Arabic SharePoint Blog|
CodeReloaded
My Gallery Contributions
SharePoint 2010 Twitter Web Part
SharePoint 2010 Custom Timer Job -
Hi,
Any help?
Thanks
srabonHi,
I recommend you the book named Beginning SharePoint 2013: Building Business Solutions:
http://www.amazon.com/Beginning-SharePoint-2013-Building-Solutions/dp/1118495896
Practical SharePoint 2013 Enterprise Content Management:
http://www.amazon.com/Practical-SharePoint-Enterprise-Content-Management/dp/1430261692
Best Regards,
Lisa Chen
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Image Preview in Sharepoint 2013 Online Search Results
Hi i am using Sharepoint 2013 online Office 365. In my search page i can view the preview from picture library. But when i am searching document library i can only see the preview of pdf, excel, word etc... not image. Why image file not previewing from
document library.How to solve this?
Thanks in advance.Hi,
Please refer links below:
http://stevemannspath.blogspot.in/2013/02/sharepoint-2013-image-preview-in-search_22.html
http://blogs.realdolmen.com/experts/2014/03/17/images-in-sharepoint-server-2013-search/
Hope it helps!
Thanks,
Avni Bhatt
If this helped you resolve your issue, please mark it Answered -
Remote upload into sharepoint 2013 document library (cloud based)
We have a sharepoint 2013 in the cloud.
Is it possible to have some kind of service (windows or web based) that can access a document library on said cloud server and put files into said document library?
I don't think we have a lot of behind the scenes access to the cloud instance of 2013.Hi,
As I said above, we could use the Client Object Model to upload the files without the user having to go to SharePoint in the browser first and logging in.
We can use the credentials in the code as below, the code would copy files to SharePoint online, it worked well in my environment, you can check whether it works.
public static void CopyDocuments(string srcUrl, string srcLibrary, string destUrl, string destLibrary)
// set up the src client
ClientContext srcContext = new ClientContext(srcUrl);
SecureString passWord1 = new SecureString();
foreach (char c in "Password01!".ToCharArray()) passWord1.AppendChar(c);
srcContext.Credentials = new SharePointOnlineCredentials("[email protected]", passWord1);
Web srcWeb = srcContext.Web;
List srcList = srcWeb.Lists.GetByTitle(srcLibrary);
ListItemCollection itemColl = srcList.GetItems(new CamlQuery());
srcContext.Load(itemColl);
srcContext.ExecuteQuery();
// set up the destination context
ClientContext destContext = new ClientContext(destUrl);
SecureString passWord = new SecureString();
foreach (char c in "Password01!".ToCharArray()) passWord.AppendChar(c);
destContext.Credentials = new SharePointOnlineCredentials("[email protected]", passWord);
// get the destination list
Web destWeb = destContext.Web;
destContext.Load(destWeb);
destContext.ExecuteQuery();
foreach (var doc in itemColl)
try
//if (doc.FileSystemObjectType == FileSystemObjectType.File) //Field or Property "FileAttachement not found."
// get the file
File file = doc.File;
srcContext.Load(file);
srcContext.ExecuteQuery();
// build destination url
string nLocation = destWeb.ServerRelativeUrl.TrimEnd('/') + "/" + destLibrary.Replace(" ", "") + "/" + file.Name;
// read the file, copy the content to new file at new location
FileInformation fileInfo = File.OpenBinaryDirect(srcContext, file.ServerRelativeUrl);
File.SaveBinaryDirect(destContext, nLocation, fileInfo.Stream, true);
catch (Exception ex)
http://blog.blumshapiro.com/blog/2012/08/22/sharepoint-2010-using-the-client-object-model-to-move-files-and-folders-across-site-collections-and-subsites/
Thanks,
Jason
Forum Support Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected].
Jason Guo
TechNet Community Support -
2GB of video file upload to SharePoint 2013 document library
Hi All,
We have a requirement of uploading a 2GB of video file to a SharePoint 2013 document library. Will there be any issue due to increasing the maximum file size?
Many Thanks,
sudesh withanageIt will be better if you save all your videos at one location,i.e Asset Library.Check the link for Asset libraries
http://technet.microsoft.com/en-us/library/ee414275(v=office.15).aspx
In case you want to add other files (i,e excel ,word) along with videos you will need to increase library size,
Check the following link to increase the file size ,as well as the issues and workaround to solve the problems
http://blogs.technet.com/b/praveenh/archive/2012/11/16/issues-with-uploading-large-documents-on-document-library-wss-3-0-amp-moss-2007.aspx
Please Mark it as answer if this reply helps you in resolving the issue,It will help other users facing similar problem -
I want to change 'Modified By' column value of a file that is being uploaded using Client Object Model in SharePoint 2013. The problem is that the version of the file is changing. Kindly help me. The code that I am using is:
using (System.IO.Stream fileStream = System.IO.File.OpenRead(m_strFilePath))
Microsoft.SharePoint.Client.File.SaveBinaryDirect(m_clientContext, str_URLOfFile, fileStream, true);
Microsoft.SharePoint.Client.File fileUploaded = m_List.RootFolder.Files.GetByUrl(str_URLOfFile);
m_clientContext.Load(fileUploaded);
m_clientContext.ExecuteQuery();
User user1 = m_Web.EnsureUser("User1");
User user2 = m_Web.EnsureUser("User2");
ListItem item = fileUploaded.ListItemAllFields;
fileUploaded.CheckOut();
item["UserDefinedColumn"] = "UserDefinedValue1";
item["Title"] = "UserDefinedValue2";
item["Editor"] = user1;
item["Author"] = user2;
item.Update();
fileUploaded.CheckIn(string.Empty, CheckinType.OverwriteCheckIn);
m_clientContext.ExecuteQuery();Hi talib2608,
Chris is correct for this issue, when calling update using ListItem.update method, it will increase item versions, using SystemUpdate and UpdateOverwriteVersion will update the list item overwrite version.
these two methods are not available in CSOM/REST, only server object model is available for this.
Thanks,
Qiao Wei
TechNet Community Support -
SharePoint 2013 OOB workflow issue
Hi,
We are having issue with OOB workflow as below. Any help?
Thanks
srabonif you click on the "show error details", what details you getting?
check this link for same kind of information....check the last
comment at the end
Also check this blog, how to fix this error.
http://blogs.microsoft.co.il/lior/2012/03/29/sharepoint-workflows-the-specified-form-template-could-not-be-found/
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog -
Afte mirgation from SP 2010 to 2013, change the search box image size in sharepoint 2013
Hi,
After migration from 2010 to 2013, the search box image size increased. Pls check the screenhot below,
I
i need to resize this searc image.
Any help is much appreciated.
Thanks
Smile AlwaysI assume you have made some changes to this out of box search
you will have to take help from a CSS expert to select the div of this image and resize it. it has to be updated in css file on the server
You can use developer(f12) tool in IE to test that -
SharePoint Development along with SharePoint 2013 OOB features in detail with examples.
Hi,
Could you please advise if there is any resources for the above.
Thanks
srabonThis would be a good starting point:
http://www.amazon.com/Inside-Microsoft-SharePoint-Developer-Reference/dp/0735674477
Kind regards,
Margriet Bruggeman
Lois & Clark IT Services
web site: http://www.loisandclark.eu
blog: http://www.sharepointdragons.com -
CSV File upload in SharePoint 2013
Hi,
We need to upload the CSV file in document library and need to call the java service in the event receiver and read the uploaded CSV file content and parse it as JSON and pass to the java service.
Is there anyway we can compare the already uploaded file content with same file name user trying to upload again with the same content . In case if user changed the some content and trying to upload again, we nee to identify whether the file is really updated
the content or not. This will avoid the unnecessary java service call. Please let me know the suggestion.
Thank you,
Mylamythere is no method or properties to compare files.We have do row by row
using power shell we can do it
http://blogs.technet.com/b/stefan_stranger/archive/2011/02/08/compare-two-different-csv-files-using-powershell.aspx
http://social.technet.microsoft.com/Forums/scriptcenter/en-US/00ef8b0d-00d9-42fd-9b6a-c6de58b9bd00/using-powershell-to-compare-2-csv-files?forum=winserverpowershell
other solutions
http://stackoverflow.com/questions/5154370/compare-two-csv-file-using-in-c-sharp
http://stackoverflow.com/questions/3458355/c-sharp-comparing-two-csv-files-and-giving-an-output -
Sharepoint 2013 Reporting services not fetching data via linked server
We have a functional SharePoint 2013 farm in production with WFE (Server 1 , windows server 2012) and WFE ( Server 2 , windows server 2012) and SharePoint databases including report server databases on (Server 3, which SQL Server 2012 on windows
server 2012)
Kerberos Authentication is enabled and Windows Authentication happens. Claims to Windows Service seems to work correctly too. No double hop issue. The SharePoint Reporting Services seem to be configured correctly and Reports get generated as expected
in the following cases.
1. If data is being pulled from Server A (SQL Server 2008 R2 Server on Windows Server 2008), Report gets generated no issues.
2. If data is being pulled from Server B (SQL Server 2008 R2 Server on Windows Server 2008), Report gets generated no issues.
The problem:-
We have a view on Server A, which is fetching data from Server B. This report does not get generated. Gives an NT/Authority logon failure. Server B is created as a linked Server on Server A. The setting to run under users security context is checked.
If I execute Query Builder from Report Builder 3.0, the query on the view gets the data and data is displayed in the report for next 10-15 min but after that the connections gets lost or if the user logs out and logs back in, the connection is lost
again.
Has some one experienced a issue like this? Can a report not work on a view getting data from linked server? Or I have missed some thing really important.
Any help is highly appreciated?
cheers!
Rachna
RachnaHi,
From your description, my understanding is that you got an error when you clicked System settings after configuring Reporting Services service application.
What size did you use for the memory? Please make sure the server has enough memory to run SharePoint and all services.
In addition, please open
http://localhost:xxxxx/SecurityTokenServiceApplication/securitytoken.svc to check if there is something about this issue.
Here is a similar post about this issue, please take a look at:
http://whitepages.unlimitedviz.com/2012/07/setting-up-reporting-services-2012-with-sharepoint-2013/
As this issue is about Reporting Services, I suggest you create a new thread on SSRS forum, more experts will assist you with SSRS.
SSRS forum:
https://social.technet.microsoft.com/Forums/office/en-US/home?forum=sqlreportingservices
Best Regards,
Wendy
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Videos uploaded on SharePoint do not play on MAC OS
Hi,
We are facing an issue wherein we notice that any video uploaded on SharePoint 2013, does not play on MAC OS. It continues to remain in the "Loading" state and does not start playback. Moreover an authentication window is prompted behind the safari
browser window, entering credentials into which does not prove any helpful either.
I've already gone through this blog and believe this is a standard issue.
http://blogs.technet.com/b/sharepoint_me_in_the_right_direction/archive/2014/01/23/playing-windows-authenticated-sharepoint-2013-videos-from-mac-os-x-device-and-safari-browser-_2d00_-solution.aspx
We already have in place one of the solutions (e.g. blob cache), described in this post, but it has not helped to resolve this issue.
Any suggestions would be highly helpful.
Thanks -
GirishHi Girish,
According to your description, my understanding is that the video cannot play on Mac OS which was uploaded to SharePoint.
I recommend to use HTML5 code to embed the video in SharePoint and then it can play on Mac OS with Safari browser.
Here is a similar thread for you to take a look:
http://social.technet.microsoft.com/Forums/en-US/4803449a-19b2-4479-8745-d33e692202ae/video-in-web-part-wont-play-on-a-mac?forum=sharepointdevelopment
More reference:
http://blogs.office.com/2013/03/08/enhanced-video-experience-in-sharepoint-2013/
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
Hi all,
I want to add images to a dynamic list I have created, the images will go in an existing column. DWFAQ kindly suggested using the Image Upload function of ADDT, to store the image in the database and then call upon it..... Does anyone know what he means? lol
I have found the Multiple Image Upload wizard.. do I need to create a table in my database just for uploads? Does anyone know of a decent basic tutorial on this or a similar file-upload function?
Many thanks,
NHeya Nathan,
That's pretty much the way it's done. You got the concept and could manually add filename into the database columns that correspond to uploaded file on server to display image. So add company1logo.jpg in company 1 row in DB to show logo 1 in page by binding it from recordset.
For more dynamics you could create a file upload server behavior to upload file to server and save filename to DB. You can filter file uploads to user id through a session variable etc. so that user who is logged in can change their logo by visiting the page with file upload SB and add security by restricting to logged in user conditional region where recordset id = session variable id.
Check out the ADDT help for file upload SB it might help (no pun intended)
For file upload basically create a transaction first which takes the filename and does something with it. Create a transaction by completing a insert or update SB first then use file upload SB and you'll be all good. It's really not as hard as you might think just do some clicking around and you'll get it!
Best, -
Hi,
I am trying to upload an image to SharePoint 2013 online site's Pictures Library from the Windows phone. When I click on Browse button, nothing happens. Although the same browse button in working in the chrome and allowing to select an image from the
phone library.
Please let me know if this is the known issue or any work around is available to overcome this.
Regards,
Saurabh MHi,
Although the mobile version of Internet Explorer is supported by SharePoint 2013, however, for Office 365 SharePoint Online 2013 which keeps updating all the times, there may
be some compatibility issues during the process.
As this issue is more relate to SharePoint Online, it would be more appropriate to open a thread in Office 365 forum, you will get more help and confirmed answers from there:
http://community.office365.com/en-us/forums/default.aspx
Thanks for your understanding.
Best regards,
Patrick
Patrick Liang
TechNet Community Support
Maybe you are looking for
-
Edit in Photoshop CS4... does not open the selected file.
Sorry if this is an old topic, but I can not seem to find the answer and I was hoping someone here might know. When in Lightroom (2.2 or 2.3) if I select "Edit in Photoshop CS4..." or any of those dropdown commands, Photoshop opens....and that is it.
-
How do I restore the contacts on my Iphone?
I cleaned up my contacts on my MacBook Pro (deleted duplicates, deleted old numbers, etc) and then synced to my Iphone. Now my Iphone contact has no contacts. How Do i sync the newly edited address book on my MacBook to my Iphone?
-
I try to center a single JComboBox in a JPanel with BoxLayout. But it is still left aligned. I use: jpanel.setLayout(new BoxLayout(jpanel,BoxLayout.X_AXIS)); ...add(jpanel); jcombo.setAlignmentX(0.5F); jpanel.add(jcombo); What is missing?
-
Panic! Possible to change Fontcolor in List in AWT?
I really need to know if it is possible to change the font color in AWT for different list entries in th awt.List object. I managed to change the fonts with no problem, but the font color... I�m using my list as an own object which extends the panel.
-
Spreadsheet to array memory problems
I'm trying to read a large .csv file (329 MB) and display a user selected column of data on a graph. I have a standalone executable that does this wonderfully, however, I cannot contact the developer of this application to ask questions. I just hav