Picture Library jslink BUG

Hello,
I have a picture library with a few pictures. Now I add this library as a web part to a totally blank page. It displays the default thumbnail view perfectly. I haven't changed anything yet. Now all I do is add a jslink to a js file that is on the server.
The thumbnail view of the picture library changes to an 'all pictures' view and NOTHING I do can bring it back. The jslink file has no errors. Even if I comment everything in the file it doesn't show me the thumbnails. As soon as I remove the jslink, the thumbnail
view returns.
PLEASE HELP. I need to customize the look and feel of a picture gallery for a client and this isn't working.
Thanks in advance.
pix.

Hi,
According to your post, my understanding is that you want to customize the look and feel of a picture gallery.
We can use JavaScript Client Object Model or REST API to get the picture data from the picture library, then use jQuery and CSS to achieve your requirement.
Here is an example for your reference:
http://weblogs.asp.net/bsimser/jquery-sharepoint-picture-libraries-and-automatic-thumbnails
Best Regards
Dennis Guo
TechNet Community Support

Similar Messages

  • SharePoint 2013 Picture Library Thumbnail Preview not Working

    We are using SharePoint 2013 Enterprise edition.  We are using an enterprise wiki site collection template.  In the Site Collection Images library (Picture library), the thumbnail preview is NOT working.  For some users, they can see all of
    the thumbnail previews, for other users they cannot see any.  Some users can see a few thumbnail preview images and the users that could not see any thumbnail preview images, after refreshing a few times could see SOME of the thumbnail preview images. 
    In addition it is likely not a security issue as all users have contribute rights to the library and I have SCA rights.  It is also not a browser issue as one user on my team has IE 9 with nearly (maybe identical) identical settings as I do, who am also
    using IE 9.  We are having the problems in IE 8, 9 and 10.  Also, how could it be a browser issue if using IE 9 for example, users can see some of the thumbnail preview images but not others.  Lastly, it is not a file extension issue as the
    problem happens with jpg's as well as png's. 
    Any help would be GREATLY APPRECIATED!   FWIW - I'm chalking this up as a bug as it is SO odd and inconsistent, I cannot understand it any other way.
    Regards,
    Bill

    Have you tried looking at the traffic with Fiddler?  That can give you an idea if there are any auth or 404 issues.
    Chris Givens CEO, Architecting Connected Systems
    Blog Twitter

  • Imovie 09  (8.0.6) does not load iphoto picture library anymore

    I had a double change,
    1st: imovie update to 8.0.6 2nd: a new external hard disc for iphoto and imovie (the previous disc died).
    since then imovie shows the video's from iphoto in the event library, but does not load the pictures from iphoto in the picture library. it keeps stating loading iphoto pictures, but they never appear
    any idea's??

    Hi - I have a very similar problem I think.
    Just bought a new iMac and have latest versions of iMovie, iTunes and iPhoto - yes I have checked.
    Trying iMovie for the first time - cannot see anything listed where they are supposed to be in the media browser window.
    Looking at the intro to iMovie etc it clearly shows the folder structures - I get nothing showing at all.
    Reading through the posts here it seems that there is a bug to be fixed.
    Had a problem yesterday with my iPhone not showing in iTunes - an update cleared this problem.
    Message was edited by: Lewin321

  • Error while deleting image from picture library

    Facing issue in deleting pictures from picture library from a site collection created in SharePoint 2010 mode in SharePoint 2013.  Though we can open the picture and delete it from 'Delete Item' from the ribbon, we cannot delete the pictures from Actions
    -> Delete option.  
    Here is the exception
    Level:Medium Category: General
    Application error when access /_layouts/DeleteMu.aspx, Error=Object reference not set to an instance of an object.   at Microsoft.SharePoint.WebControls.DeltaPage.LoadPageStateFromPersistenceMedium()    
    at Microsoft.SharePoint.ApplicationPages.DeleteMultipleItemPage.<LoadPageStateFromPersistenceMedium>b__0()     at Microsoft.SharePoint.ApplicationPages.LoadViewStateHelper.LoadViewStateOrNull(Func`1 loadPageStateFunc)    
    at System.Web.UI.Page.LoadAllState()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
     

    Hi Shivayogi,
    Whether you migrate SharePoint 2010 to SharePoint 2013, and kept in 2010 mode.
    If yes, please create a new site collection, then test again, compare the result.
    Whether other libraries could work correctly.
    Whether this issue occurres for 2013 mode site collections.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Cannot edit JPG, GIF files stored in a SharePoint 2010 picture library

    Created a SharePoint 2010 picture library to store .jpg, .gif images along with other types of images which were created using Adobe photoshop, Tiff etc.
    Upon clicking on the .jpg, .gif files for editing purposes, they open in the browser instead of Photoshop so I cannot edit these files for this reason. Other types of image files are editable but not the jpg, gif files. File associations are already
    in place for these files to open in Photoshop. Please advise.
    Thank you,
    Mahesh

    You can change the default application that opens while you click open document using DocIcon.xml which is present on the web front ends. Please look at this link which explains what you need to update in order to take care of your requirement. 
    http://msdn.microsoft.com/en-us/library/ms463701.aspx
    Hope this helps. 
    Thanks, Mayur Joshi Blog: http://splearnings.blogspot.com/

  • How can I stop my ipod from going to my picture library when connected to my computer?

    A week or so ago I clicked the option that was saying "Transfer photos from ipod to computer" under the "What should this device do" option thing when you first connect your ipod to your computer. I have windows 8.1. Anyway, I thought the photo thing was a one time deal and it wouldn't ask me "what to do" again. Usually i ignore it but I did,in fact, have photos to put on my computer that day.
    Now every time I plug my ipod into my computer it takes me to my picture library to start "reading" my ipod photos and if you have windows 8 or greater, that is very annoying because it's its own separate "application". Is there a way to reset this setting without resetting my ipod so it doesn't take me to my picture library each time? I can deal with the pop-up when you first connect I just don't wanna have to keep exiting my picture library each time I connect my ipod.

    It's simply called Photos and there is no options/setting thing on it. I have windows 8, it's a stand alone photo library viewer.

  • How Do I Share picture library with several users on my imac

    I would like to share the picture library between all users on my IMac. How is this possible?

    iPhoto: Sharing libraries among multiple users
    Stefan

  • When I try to printe a photo from my Pictures library it says printer won't print, is not connected Etc. Yet if I ask it to print a document it does fine. What is the problem?

    I have a number of photos in my picture library. The printer is a Dell V510 series and was purchased last June with a new computer. It tells me to connect USB, it is and several other things which are all connected. In my picture library are some printed documents. When I ask it to print them it does. Also when I received a picture by email or download my camera I never know where it is going to put the picture. I never had a problem with my Windows XP however Windows 7 doesn't seem to do what I want it to. The instructions that came with it are almost useless. I am not a technical person, but neither am I new to the computer. Thanks

    Yes, as long as it is words, but when I want to do a picture it refuses. The pictures library is part of Window 7. The help program just said to be sure it was connected, power was on to it, unplug and replug, then restart my computer. I did all that. I prints photos that are in other programs. When I first started with 7 I didn't understand how it worked and some pictures were posted in documents. Those pictures print. Windows 7 seems to put the pictures where ever it wants them. I have Picasso on my computer and it doesn't pick up any of the pictures in the pictures library. So I still can't get Firefox to print pictures.
    Thanks for the reply. Iva

  • How to add folder in picture library programmatically

     
    Hi All,
    I tried to add folder using below code but getting error of "Missing FileLeaf"
    try
                    if (properties.List.Title.ToString() == Utility.ListName.Events.ToString())
                        using (SPSite objSite = properties.Site)
                            using (SPWeb objWeb = properties.Web)
                                SPListItem lstEvent = properties.ListItem;
                                string folderName = Convert.ToString(lstEvent["Title"]) + "_" + DateTime.Now.ToShortDateString();
                                if (!string.IsNullOrEmpty(folderName))
                                    SPList lstEventPictures = objWeb.Lists.TryGetList(Utility.LibraryName.EventPictures.ToString());
                                    if (lstEventPictures != null)
                                        objWeb.AllowUnsafeUpdates = true;
                                        //SPListItemCollection folders = lstEventPictures.Folders;
                                        //folders.Add(lstEventPictures.RootFolder.ServerRelativeUrl 
    , SPFileSystemObjectType.Folder , folderName);
                                        ///* create a folder under the path specified
                                        SPListItem folderItem = lstEventPictures.Items.Add(lstEventPictures.RootFolder.ServerRelativeUrl,
    SPFileSystemObjectType.Folder , folderName);
                                        ///* set the folder name and update */
                                        //folderItem["Title"] = folderName;
                                        folderItem.Update();
                                        lstEventPictures.Update();
                                        objWeb.AllowUnsafeUpdates = false;
                catch (Exception ex)
                    Utility.SPTraceLogError(ex);
    Help me to resolve. Thanks in advance.

    Hi DK,
    You can use below mentioned code to add folder in any of your library. You need to changes little bit code as per your requirement.
    /// <summary>
    /// Provide utilities methods related to folder management
    /// </summary>
    public static class SPFolderUtilities
        /// <summary>
        /// Ensures the specified folder exists.
        /// </summary>
        /// <param name="list">The list where to create the folder.</param>
        /// <param name="subFolderPath">The sub folder path.</param>
        /// <returns>
        /// The existing <see cref="SPFolder"/> or a newly created if it did not exists.
        /// </returns>
        public static SPFolder EnsureFolder(SPList list, string subFolderPath)
            Contract.Requires<ArgumentNullException>(list != null);
            Contract.Requires<ArgumentNullException>(!string.IsNullOrEmpty(subFolderPath));
            if (!IO.SPPathUtilities.IsFileOrFolderNameValid(subFolderPath, true))
                throw new ArgumentException("Invalid characters in the file or folder name", "subFolderPath");
            var folderPaths = subFolderPath.Split('/');
            var currentFolder = list.RootFolder;
            for (int i = 0; i < folderPaths.Length; i++)
                currentFolder = list.ParentWeb.GetFolder(currentFolder.Url); // hacky refresh
                var subFolder = currentFolder.SubFolders.Cast<SPFolder>().FirstOrDefault(f => string.Compare(f.Name, folderPaths[i], true) == 0);
                if (subFolder == null)
                    var newFolderItem = list.Items.Add(currentFolder.ServerRelativeUrl, SPFileSystemObjectType.Folder, folderPaths[i]);
                    newFolderItem.SystemUpdate();
                    subFolder = newFolderItem.Folder;
                currentFolder = subFolder;
            return currentFolder;
    And here is the specifc code that you can use for Picture library only
    Question
    Vote as helpful
    0
    Vote
    yes the code sample provided by you is to create a image library and then to add a folder to it but i'm not sure with the string.empty being passed to list.items.add. i would still recommend to use the solution suggested by me. to check if library exists or
    not what you have to do is 
    SPSite _MySite = new SPSite("SERVERIP");  
                    using (SPWeb currentweb = _MySite.OpenWeb())
    SPList imageLib = currentweb.Lists["NewImages]
    if( imageLib == null)
    Guid listId = currentweb.Lists.Add("NewImages", "Picture Library", SPListTemplateType.PictureLibrary);
     imageLib t = currentweb.Lists[listId];    
    SPDocumentLibrary
     _MyDocLibrary =
    (SPDocumentLibrary)
    imageLib ;
                     SPFolderCollection _MyFolders = _MyWeb.Folders;
                    _MyFolders.Add("http://adfsaccount:2222/My%20Images/" + <<subfolderName>> + "/");
                    _MyDocLibrary.Update();
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • How to move pics from "picture library" to created folder

    Just started using 9310 (from 8330) with new SD card. Have a few pics on it and can't figure out how to transfer a photo in "picture library" into a newly created folder. Was so easy on 8330 with simple "move into folder" option... HELP! Thanks!

    Hello equipagekm, 
    Welcome to the forums.
    The option to move to folder will not be present but what you can do is choose the "cut" option and then once in the new folder hit the menu key and choose "paste".
    Hope this helps. Let us know if you need anything else.
    -SR
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Browse button not working in Windows Phone while tyring to upload an image to Pictures library in Sharepoint 2013 online site .

    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 M

    Hi,
    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

  • Picture Library : upload image with same name overwrite the image in thumbmail or WebVersion view but not the actual image link points to the old image

    Hello,
    I am facing a wired issue with Picture Libraries in SharePoint.
    We created a custom field and added it to UserInfo list, the column based on custom field lets user upload their personal images to a Picture Library with the name <User ID>.<Image Extension> e.g. 1.jpg where UserID is internal Listitem ID of the UserInfo list and set its URL to the field value which we use to display the image on our custom user profile and some other WebParts.
    If the user uploads a different image, it will overwrite the existing one it keeping the same name.
    The field worked perfectly with sites using widows Based authentication, but as we move the field to sites with form based authentication we find that the field is able to upload the image properly first time but on each successive upload, although a new image gets uploaded with the name userid.imagextension and is shown in the allitems.aspx page in the thumbnail view and in the picture preview on the dispform.aspx page, but the link next to the name field and the image shown on clicking the preview points to the old image.
    To put it other way
    https://<Web URL>/Picture%20Library/_w/Upload_jpg.jpg
    https://<Web Url>/Picture%20Library/_t/Upload_jpg.jpg
    Would show the updated image
    but the actual URL
    https://<Web Url>/Picture%20Library/Upload.jpg 
    points to the old image
    what’s even more strange is that even after deleting the image the url still shows the old image at
    https://<Web Url>/Picture%20Library/Upload.jpg 
    I confirmed the same by actually repeating the same exercise on a picture Library in the User Interface
    Uploading an image say upload.jpeg in the picture library using SharePoint interface.
    Then uploading a different jpeg image keeping the same name upload.jpeg again in the picture library.
    In allitems.aspx thumbnail view and on dispform.aspx page preview filed image now show the newly uploaded image but when you click the preview image or click the link in the name field value it takes you back to the old image.
    I have seen this issue on environment where we have enabled form based authentication and the issue is not seen on another server where we have wss with windows based authentication.
    Has anyone noticed such behavior and is there any workaround to that!
    Thanks & Regards
    Saurabh Rustagi

    All,
    I had the same issue. 
    In my case, Blob Cache was enabled for the web application in which the image issue was occuring.
    I cleared blob cache, and after doing a hard refresh of my browser, the correct image was then displayed.
    To clear blob cache, do the following:
    Navigate to:   
    http://yourwebapp:port/yoursite/_layouts/objectcachesettings.aspx
    Select:  "Object Cache Flush"  and  "Force all servers in the farm to flush their object cache" check boxes
    Click the OK button
    Hope this helps.

  • Why is my picture library in finder different than in IPhoto

    i want to drag my picture library in finder to an external drive.  But when i compare the pictures in finder it does not have all of the folders i have set up in iphoto

    Hello ccfr1234,
    Thanks for using Apple Support Communities.
    If you are seeing different photos in another iPhoto Library on your computer than what you're used to, then you likely have opened another library which is on your computer.  To see the iPhoto Libraries stored on your computer, please follow the directions below.
    To switch between photo libraries:
    Quit iPhoto.
    Hold down the Option key as you open iPhoto.
    Select the library you want to switch to. 
    Click Choose.
    iPhoto '11: Create a new iPhoto library or switch between libraries
    Take care,
    Alex H.

  • Folders Missing in Windows 7 Picture Library

    Very new with this software...watched several videos, and I'm still confused.  Went to send some pics to a friend last night, and noticed that many "folders" are not in the pictures library in Windows 7.
    In LR4, some folders have a destination of C://users/eric and brenda/windows/pictures...which is great, but others have this destination C://Brandon(which is just the folder name).
    What did I do wrong, and how can I get the folders in the Windows Library?
    Thanks.

    LR's not a file browser, so it doesn't know anything about your photos until you import them.  To do so, you go to File menu > Import Photos or press the large Import button.  If you want them to stay in their current folders, make sure you select the ADD option at the top of the import dialog.
    For your different folder names, it's probably just not showing the full path, which is very easily changed.  Rather than confusing you with vague instructions, do you know how to take a screenshot?  If I can see a screenshot of the LR Folders panel, I should be able to tell you how to solve that.

  • I have a picture library with images in sharePoint, now i want display that images in sharepoint webpage as a webpart.

    Hi All,
    I have a picture library with images in sharePoint, now i want display that images in sharepoint webpage as a webpart.
    i have displayed the all the images as a webpart.
    Now i want to enable thumbnail on that images and when i click the thumbnail of the image, it will be dilplayed as large image.
    How can i do this, any help!

    Hi,
    Please do the following to complete this task.
    1) Insert the picture library as list view webpart in your page.
    2)Specify the column titled  Thumbnail Preview in the list view.
    3) Edit the webpart and set the Toolbar Type to Summary Toolbar.
    Regards,
    Anurag

Maybe you are looking for

  • Version Cue CS3 not working. Photoshop not opening.

    Hello, I have just installed Adobe Creative Suite 3 Design Standard on my new MacBook Pro. I have activated it. However when i start Version Cue CS3 and check for updates i get the message "No Internet connection. Please check your Internet settings

  • Connecting to HDMI TV and audio to my receiver

    I'd like to connect my apple TV using an HDMI cable to my TV but I'd like the audio to come out via my Yamaha receiver and surround sound speaker system. I don't have any optical cables. Should I connect the analog audio cables from the back of the A

  • User forgot passcode, now what?

    OK, it probably sounds like a stupid question, but I think it is a catch 22. Using Profile Manager, I manage 30 or so iPads for our enterprise. The SSID/Network info is delivered to each device via profiles, so the end user never knows the network se

  • Two menu entries for every application in Gnome-Shell?!

    I have two menu entries for every application, which is kind of annoying, because the menu needs more time to load at startup!

  • Install Error: [0008] loading Free MAQ software Irish & Portuguese dialogs

    As it says - every time I try to install or re-install, the process gets to 50% and then abends with the 0008 message I'm on a 32Gb Playbook, running 2.0.1.358