Hot answers tagged picture-library
3
The maximum file size you can upload is 2GB. Any file over that size will not upload. You can upload all 100GB of pictures as long as they aren't individually 2GB or larger.
Here is the TechNet guide on 2010 limitations, http://technet.microsoft.com/en-us/library/cc262787.aspx.
3
I haven't seen anything published as such. The size and type would be limited by the web application blocked file types and the maximum upload size. The maximum number of files would echo the same principles of a large document libary, limit the number of items per view to avoid performance degradation and/or make use of folders.
2
There is an example on codeplex: SharePoint Ad Rotator
Introduction: SPAdRotator is a SharePoint Web Part that can randomly display images from a SharePoint library. Images can be displayed either one at a time (a new random image is selected every time the page is loaded), or all images can be displayed while the user is viewing the page (with a ...
2
There is no feature to export a picture library out of the box but you can develop a custom feature in VS 2010 and achieve this.
Have a look: http://mctalex.blogspot.in/2009/04/adding-export-to-spreadsheet-to-picture.html
2
How Picture Library Slideshow web part works
Picture items are retrieved via SPQuery from Picture Library and results are saved in internal array of ImageInfo entries
public struct ImageInfo
{
public int width;
public int height;
public string src;
public string fullImageSrc;
public string title;
public string ...
1
SPWeb.GetList("") gets a-a list by its server relative path. See here API description.
So to get your list try to pass something like "/Lists/ImageLibrary". Or appropriate server relative path.
Hope it helps,
Andrew
1
Simplest way is probably to go to list Settings -> Advanced Settings and turn on Allow Management of Content Types. You will then be able to select the content type (Picture) in the list settings. From here you will see the columns included in that content type. Click on a column and you can then make it hidden so it will now not appear on your forms.
1
Button elements rendered for Picture Library Slideshow web part
<td style="text-align:center">
<a onclick="NextPrevious(MSOPictureLibrarySlideshowWebPart_ctl00_ctl20_g_48d4a035_a375_49a9_8502_3aa9a10b0417_slideshowObject, false);">
<img border="0" style="position:relative;cursor:hand" onmouseover="HiliteButton()" ...
1
Make sure you use the global object (window) when you override it, like this:
var oldGenerateFooterContent = window.GenerateFooterContent;
window.GenerateFooterContent = function() {
console.log('Hello, world!');
// if you want you can call the old function here
oldGenerateFooterContent();
};
Update:
If you want to provide the same arguments you can ...
1
You can create another list/library which will hold the second image based on the id of the List Item in the first list. Then you can query that list based on the id and fetch the image on the fly.
But the best approach will always be to create a new picture column in the original list and have 2 images associated with one list item. But from your post it ...
1
the _w is the web version of the image and has the url format you show above. If you keep clicking the images you should be able to view the original at the url you uploaded.
Maybe try typing in
/comunicacao/news/PublishingImages/01_rh_ricardo%20amorim.jpg
and see if it works.
1
If you have a required field on a new document (or picture) then it is checked out when it is initially uploaded. Check out is ALWAYS enabled, but you can FORCE check out to be used.
Further, until that document is checked in for the first time with the required metadata completed, it will only be visible to the user who uploaded it. Even having Site ...
1
It makes sense if the development has not been considering the "Least-priviledged" user, which practically means that developer has tested it with his Administrator power at all times.
This would translate into Security permissions missing at some level (e.g. do content authors have permissions on the Top-Level site to read content?) or if you also use it ...
1
If you want to automate this, I would suggest to trap ItemAdded event and have a thumbnail file generated for the item (filter based on extension) uploaded and then upload it to _w and _t folders. I assume that you know how to programmatically generate a thumbnail though.
In past, I had a slightly different scenario where I needed to generate (and add to ...
1
You can split it to several web sites with picture libraries accordingly to image type or image meta information or user groups. That will limit number of files within one library. Also you can use folders for items with same permissions.
Please check this article for details about planning fine grained permissions from MS - ...
1
Picture libraries do not allow for item level permissions like lists which is unfortunate as you'd think the same should hold true in both places. One option would be to use a workflow tool, like SPD Activities, Nintex, K2, or your own developed action to handle setting item level permissions. With a library of that size, that will cause some performance ...
1
First, you can use the Copy and Move actions available on the Manage Content and Structure page. However, this page is only available with MOSS 2007 - pure WSS 3.0 deployments do not have it.
Second, there is the option to employ a third-party tool like CopyMove for SharePoint 2007. It was designed for end-users but comes with a price tag.
1
Here are three different ways:
1) open each location with Windows Explorer view and drag-n-drop from one location to the other
2) open each location in SharePoint Designe and drop-n-drag from one location to the other
3) connect with a WebDAV tool like BitKinex to each location and copy from one location to the other
1
I am using the SharePoint client API (javascript) and jquery to enhance the out of the box SharePoint list view functionality.
I've used qTip for enhanced mouse overs (it supports images too). I was able to meet my requirements with it.
The code snippet below should get you started. Check out these references for fetching files from within folders:
If ...
1
Here is an article I wrote for nothingbutsharepoint.com on creating your own content slider. It's based off an announcements list, but the library handling the rotation works for images too. Something similar could be constructed, and it works on both 2007 and 2010, not being reliant on the SharePoint DOM.
I'm sure the crux of the issue is the nonstandard ...
1
Here is what I suggest
Make you webpart ajax based i.e. put that inside a Update Panel.
Use the ASP.net Timer control that can initiate a post back and on onload you can update your image property.
more on timer control here:
http://msdn.microsoft.com/en-us/library/system.web.ui.timer.interval.aspx
more on update panel with timer control:
...
1
You could do it server side with a control. Very basic and no ajax
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Import Namespace="Microsoft.SharePoint.WebControls" %>
<script runat="server">
private void Page_Load() {
Random random = new Random();
SPSite site = SPControl.GetContextSite(Context);
SPWeb web ...
1
You might want to take a look at creating a custom list definition that uses the existing picture library as a starting point. (12\Template\Features\PictureLibrary)
http://www.sharepointconfig.com/2007/04/creating-a-custom-sharepoint-2007-list-definition/
As part of that process, you could specify your custom editform.aspx
Once you have a list definition, ...
Only top voted, non community-wiki answers of a minimum length are eligible