locked
Hide the filename overlay in picture library RRS feed

  • Question

  • Just upgraded a SP site to 2013 and all my pictures have an filename overlay:

    When a picture library consists of files call IMG1234 IMG1235 IMG1236 it is really useless information.

    How do I get rid of it please?


    CarolChi

    Sunday, July 19, 2015 12:31 PM

Answers

  • Hi Carol,

    As I understand, the picture library consists of files named IMG1234, IMG1235 and so on after you upgrade SharePoint site to SharePoint 2013. And you want to hide file name.

    Is the IMG 1234 prefix or suffix in the file name? Could you provide the screen shot about the issue? How do you want to hide the file name?

    1. If you want to hide the file name in the view, you could modify the view.

    If you use the all picture view, you could modify the view and hide the column in the column section in the library setting.

    If you use the Thumbnails view, you could hide the filename by code. There is a code demon below.

    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    
    <script type="text/javascript">
    
        $(function () {
    
            $(".ms-tileview-tile-detailsBox").each(function () {         
    
                $(this).find("ul > li:eq(0)").html(""); 
    
            });
    
        });
    
    </script>
    

    2. If you want to replace the value of the title column, you could achieve it by PowerShell command. For more detailed information, you could refer to the article below.

    The article below is about Updating a Field in a Document Library with PowerShell.

    http://www.craigjahnke.com/updating-a-field-in-sharepoint-with-powershell/

    Best regards,

    Sara Fan


    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 tnmff@microsoft.com.

    • Proposed as answer by Victoria Xia Monday, August 3, 2015 1:02 AM
    • Marked as answer by Victoria Xia Tuesday, August 4, 2015 12:02 AM
    Tuesday, July 21, 2015 7:59 AM