9 Replies Latest reply: May 6, 2013 5:49 PM by Bavarus RSS

    Where are the directions for using a metadata template in Photoshop?

    Bavarus

      Photoshop displays metadata for images, including Camera Data.  The latter can include Owner, but it is not told where that information comes from.  It is possible that it comes from a “metadata template” as accessed by the second of the four tabs at the bottom of the Camera Data screen.  There is a folder: User>Library>Application Support>Adobe>IMP>Metadata Template, but that latter folder is emply, and (quite naturally) there exists no directions for setting up any metadata template.  At least one does not turn up from searching the Adobe website.

      There are vague hints about the existence of direction (as at http://www.adobe.com/products/xmp/custompanel.html), but no specific directions where they are actually likely to be needed.

      Does anybody know anything about this?

        • 1. Re: Where are the directions for using a metadata template in Photoshop?
          Silkrooster CommunityMVP

          The camera data, majority of it can not be edited. As for the owner, there should have been a program that came with your camera that allows you to enter personal information, plus other pertinent information like the time/date, etc.

           

          I find altering some of the metadata to be easier in Bridge or Lightroom.

           

          As for setting up a template, its fairly straight forward. Type in the details that normally do not chage like author, address, web page, copyright date, etc. and leave the rest blank. Save it as a template, then you can apply that data to other pictures at will. Then edit individual images as needed. Which is where Bridge and lightroom fit in.

          • 2. Re: Where are the directions for using a metadata template in Photoshop?
            Bavarus Community Member

            In Bridge, nothing at all appears in the Camera Data page, because one is looking at RAW.

             

            I am using a Sony α99, and as far as I can tell, and according to the Sony tech people, they do not provide any means for entering owner’s name.  It is strange, because this would be a very useful feature.

             

            Time and date can be entered on the camera, but that requires no keyboard system, and is pretty simple.

             

            I still wonder how the options are supposed to work which are selectable at the bottom of that Camera Data page.  It implies that you can add information from a template, but how would one prepare a template for this Camera Data page?  There are no instructions.  The people who make these things usually leave the instructions out.

            • 3. Re: Where are the directions for using a metadata template in Photoshop?
              Silkrooster CommunityMVP

              In Bridge, nothing at all appears in the Camera Data page, because one is looking at RAW.

              No, Raw files have metadata, they are stored in a sidecar file usually with the .xmp file extention and by default are hidden.

              If that portion of the metadata is empty is has to do with the camera company not allowing any data to be stored there otherwise they would have included an app that would allow partial editing.

               

              Maybe you could post a screen shot of your metadata screen so we can see what you are talking about.

              • 4. Re: Where are the directions for using a metadata template in Photoshop?
                Paul Riggott Community Member

                The camera maker/model.owner fields are part of the Tiff schema that are read only. That said if the fields are not populated data can be entered, this would have to be done via a script or an external program like ExifTool (this can change the data as well).

                 

                If you wanted a script you could post in the Bridge or the Photoshop scripting forums.

                • 5. Re: Where are the directions for using a metadata template in Photoshop?
                  Paul Riggott Community Member

                  For CS6 Only!

                  Ok, a bit more information for you....

                  Templates are created in Bridge..

                  Tools => Create Metadata Template

                  They can be applied with Tools => Append Metadata or Replace Metadata

                  They can also be applied from within File Info in Photoshop.

                  Template.jpg

                  The Camera Owner and Camera Make and Model have been added with the folloing script....

                   

                   

                  #target bridge
                  main();
                  function main(){
                  var Ver = Number(app.version.match(/^\d+/));
                  var VerFolder = Ver -1;
                  if(Ver < 5){
                     alert("Sorry you need Photoshop CS6 or better");
                     return;
                      }
                  var baseFolder = new Folder(Folder.userData + "/Adobe");
                  if(!baseFolder.exists){
                      alert("Your system is not installed properly!");
                      return;
                      }
                  var xmpDir = new Folder(baseFolder + "/XMP");
                  if(!xmpDir.exists) xmpDir.create();
                  var CustomFileInfoPanel = new Folder(xmpDir + "/Custom File Info Panels");
                  if(!CustomFileInfoPanel.exists) Custom.create();
                  var versionFolder = new Folder(CustomFileInfoPanel + "/" + VerFolder +".0");
                  if(!versionFolder.exists) versionFolder.create();
                  var customFolder = new Folder(versionFolder + "/custom");
                  if(!customFolder.exists) customFolder.create();
                  var xmlFile = new File(customFolder + "/Camera Owner.xml");
                  xmlFile.open("w", "TEXT", "????");
                  $.os.search(/windows/i)  != -1 ? xmlFile.lineFeed = 'windows'  : xmlFile.lineFeed = 'macintosh';
                  xmlFile.writeln("<?xml version='1.0' encoding='UTF-8'?>");
                  xmlFile.writeln("<xmp_definitions>");
                  xmlFile.writeln("<xmp_schema prefix='exifEX' namespace='http://cipa.jp/exif/1.0/' label='Label=Camera Owner'>");
                  xmlFile.writeln("<xmp_property name='CameraOwnerName' category='external' label='Owner=Camera Owner' type='Text'/>");
                  xmlFile.writeln("<xmp_schema prefix='tiff' namespace='http://ns.adobe.com/tiff/1.0/' label='Label=Camera Make/Model'>");
                  xmlFile.writeln("<xmp_property name='Make' category='external' label='Make=Camera Make' type='Text'/>");
                  xmlFile.writeln("<xmp_property name='Model' category='external' label='Model=Camera Model' type='Text'/>");
                  xmlFile.writeln("</xmp_schema>");
                  xmlFile.writeln("</xmp_definitions>");
                  xmlFile.close();
                  alert("Please close and restart bridge");
                  };
                  
                  

                   

                  This script only needs to be run the once.

                  Open ExtendScript Toolkit (This gets installed with Photoshop) paste the code into a window and run the code, it will prompt if Bridge is not open.

                  Once run close and restart bridge, you should now have the extra options plus the extra fields in the Metadata Panel

                  Metadata.jpg

                  Once again data will only be inserted if it did not exist!

                  Hope this helps.

                  • 6. Re: Where are the directions for using a metadata template in Photoshop?
                    Bavarus Community Member

                    Thank you.  I tried to run the code, but got stopped at line 18 (if(!CustomFileInfoPanel.exists) Custom.create();)

                    with a alert that said: Custom.create is not a function

                     

                    Should it have read: if(!CustomFileInfoPanel.exists) CustomFileInfoPanel.create();

                     

                    Where do I go from here?

                    • 7. Re: Where are the directions for using a metadata template in Photoshop?
                      Paul Riggott Community Member

                      It looks as if you have copied it wrong as that line is not what you are getting..

                      Line 18 is..

                      if(!CustomFileInfoPanel.exists) Custom.create();

                       

                      I think you need to copy and paste it again as I don't know where you are getting the extra brackets from?

                      • 8. Re: Where are the directions for using a metadata template in Photoshop?
                        kendallplant Employee Hosts

                        Thread moved from the Photoshop Beginners forum to the Photoshop General Discussion forum.

                        • 9. Re: Where are the directions for using a metadata template in Photoshop?
                          Bavarus Community Member

                          I tried substituting this

                          if(!CustomFileInfoPanel.exists) CustomFileInfoPanel.create();

                          according to my guess, which was based merely on analogy with other, similar lines, and it worked.  Works fine.

                          Of course, I have no idea what I am doing.