The file size of selected file in input file control is shown as 0 for multiple file selection in Safari 5.1

The file size of selected file in input file control is shown as 0 for multiple file selection in Safari 5.1. If you select single file, then it is able to return file size correctly. However, if you select multiple files, then the file size of each of the selected file is always returned as 0 from javascript. This works correctly in Safari 4.0 but it does not work in Safari 5.1.
How do I get the correct file size in Safari 5.1 ?

If you want to post (or send me) a link to the lrcat file, I'd take a look at it for you, and give you a break-down what's consuming all the bytes. But it might be fun to learn how to do that yourself (e.g. using SQL). I use SQLiteSpy, but other people have their favorites.. (or you can use a command-line client if you prefer..). One way: just run "drop table "{table-name}" on each table then look at filesize (do this to a copy, not the real thing).
Anyway, it's hard to imagine keywords and captions etc. taking much of the space, since even if you had 1000 10-character words of text metadata per photo average that still only adds up to 117MB, which isn't a substantial portion of that 8G you're seeing occupied.
Anyway, if you've painted the heck out of most of them and not cleared dev history, that'll do it - that's where I'd put my money too...
One thing to consider to keep file-size down:
===================================
* After reaching a milestone in your editing, take a snapshot then clear edit history, or the top part of it anyway (e.g. leave the import step), using a preset like:
Clear Edit History.lrtemplate
s = {
    id = "E36E8CB3-B52B-41AC-8FA9-1989FAFD5223",
    internalName = "No Edit",
    title = "Clear Edit History",
    type = "Develop",
    value = {
        settings = {
            NoEdit = true,
        uuid = "34402820-B470-4D5B-9369-0502F2176B7F",
    version = 0,
(that's my most frequently used preset, by far ;-})
PS - I've written a plugin called DevHistoryEditor, which can auto-consolidate steps and reduce catalog size - it's a bit cumbersome to use a.t.m. but in case you're interested...
Rob

Similar Messages

  • Is there a way to simultaneously add text to Comments field for multiple files?

    Is there a way to simultaneously add text to Comments field for multiple files? I know I can use Option+Comman+i to bring up the Inspector window but it doesn't have a Comments field. For example, in iTunes you can select multiple files and change metadata for any field simultaneously and easily yet when it comes to the Comments field in the Finder, this seems to be missing.
    In our production environment, Comments field is important because we place notes about what drive the file originated then when it gets transferred to LTO-6 tape via LTFS, we can quickly trace it in the event we needed to recreate the hard drive. Because tape archiving is linear, we can't store all of the files on the same tape.
    We've tried using Apple's Automator but it too seems to not have a way to batch change text in the Comments field. Any help is appreciated.

    What is "order data"?

  • Struggling to search for multiple files

    Hi there,
    I am struggling to do a search / select for multiple files.
    Here is my workflow:
    I have 2 computers, the one is used for all image manipulation using a combination of LR & PS and the other computer is used for the sales presentation using ProSelect.
    Once I am finished with my post production I export all the images to my sales presentation computer in JPG file format.
    After the sales presentation I then want to be able to Star the images they purchased on my post production computer. Currently I have been doing this manually, although time comsuming not too bad when you are only talking 20 images. However this is not working for weddings when looking at 150-200 images.
    This is what I have tried. I did an export of filenames from ProSelect. I then removed the suffix i.e. .jpg. In Lightroom I select the Filter Bar, Text, Any searchabe Text, Contains and then paste in the list of filenames. After quite a while it will come back and say no images found or it might come up with only the 1st image in the list. I have tried several combinations of formating the list of filenames and none seem to work i.e. spaces, commas, semi-colon, each filename in "".
    If anyone can help me in this regard I would be very grateful.
    Thanks
    Tony

    If you have the file names of the photos, you can simply paste the text containing the file names into the filter bar text search (set the filter bar to search by file name)
    For example, here's a short list of filenames that I would paste into the filter bar if I was searching my photos
    DSC_0417 DSC_0922 DSC_0924

  • How can i search for multiple file names (images) in bridge?

    Hello everyone!
    Does anyone know how to search for multiple file names in bridge?
    That is to copy & paste something like this: _MG_2152, _MG_2177, _MG_2194, _MG_2195, _MG_2202, _MG_2212, _MG_2219, _MG_2261, _MG_2362, _MG_2401
    Not using several criterias in the search box that is. That takes too long.
    Thanks
    Steffen Rikenberg Photographer
    Oslo, Norway.
    www.steffenrikenberg.no

    Try this add-on [https://addons.mozilla.org/it/firefox/addon/find-all/ Find All]

  • Custom HoverPanel for Multiple File Types Preview

    Hi Everyone,
    We Have a requirement to customize SP2013 Search Results webPart to List down multiple file types (Word, Excel, PowerPoint, PDF, Images, etc). we created our own Design Template for Search Results Item to show managed Properties we require. and we need to
    create a Hover Panel to show the preview of those files. we tried to achieve this, but failed. can anyone please provide us a Solution for this ?
    Thank you!

    Hi  Mohamed,
    According to your description, my understanding is that you want to customize Hover Panel for multiple file type.
    For achieving your demand, you can refer to these blogs:
    http://sharepointfieldnotes.blogspot.com/2012/11/customizing-sharepoint-2013-search.html
    http://yeshagrawal.blogspot.com/2013/06/sharepoint-2013-search-adding-hover.html
    http://blogs.technet.com/b/tothesharepoint/archive/2013/09/17/how-to-display-values-from-custom-managed-properties-in-the-hover-panel-in-sharepoint-server-2013.aspx
    http://www.sharepointnutsandbolts.com/2014/01/extending-SP2013-Office-365-search-hover-panel.html
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support
    Thank you So much Eric,
    The First Link "http://sharepointfieldnotes.blogspot.com/2012/11/customizing-sharepoint-2013-search.html"
    Serves my purpose 100%, but seems like it has 3rd party Product Involved. can i achieve the same Results without using any 3rd Party Tools ?

  • Can we create single External Table for multiple files?

    HI,
    Can we create External table for multiple files? Could anyone please explain it.
    Thanks and regards
    Gowtham Sen.

    to merge 16 files having same structureWell, if files have the same structure, as per the reading of the example from the following documentation, you can create one external table for all your files :
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14231/tables.htm#i1007480
    Nicolas.

  • Applet for multiple file upload

    Hi All
    I have a requirement for multiple file upload where user can select multiple files as well as folders.
    Would appreciate any pointers.
    Thanks.

    Google "java file upload"

  • Raw File conversion to Tiff or Jpeg - best workflow for multiple files in Photo Shop Elements 11

    Hello, I am pretty new to shooting in raw and Photoshop Elements (11).  I have one big problem. Once I open Elements up and load the Raw files from the SD card it shows them all on the left side in Camera Raw. I make my contrast and color adjustments if needed, but then my problem starts: I do not really want to make any further adjustments in Elements itself, but in order to save my Raw files either as Tiff or Jpeg it seems like I need to - through clicking on the "open image". Now it only opens up that one particular photo. I did not manage to go simply back to Camera Raw to grab the next one as the screen just disappears. However, this one by one process is of course not the preferred way. I know that there is batch processing, but am also not sure if my adjustments that I did in Camera Raw will carry over as I am actually never saving anything and would like to avoid saving it before all manually as .dng files as it would just be another extra step. I hope I could make clear where I have problems and what I would like to achieve and hope you can help me. Many thanks in advance.
    Philip

    Simply select and edit each picture thumbnail from the left panel without clicking 'Done' or 'Open'.
    When you have edited each individual picture, select all your thumbnails - click on the first one - shift click on the last one. They should be all highlighted.
    Then simply click 'Done'.
    Your edits are saved in sidecar xmp files.
    If the thumbnails are not yet automatically updated, select the files, right click and choose 'Update thumbnail'.
    No need to use the editor with 'Open as' if you don't want any further edit or jpeg/tiff/psd/png version.
    Edit:
    I am not sure I have understood your question.
    The above process lets you convert and edit a batch of raw files without opening the editor.
    If you want to get jpeg or tiff files from the already edited raw files, either use the 'process multiple files' of the editor or the 'export' feature from the Organizer.
    The common raw workflow in Elements consists in converting small batches as explained above to take advantage of applying common edits or individual differences. In some cases you want to open the editor, in others not.
    That's at the input time.
    When you want to output pictures, the selection of picture is different for each purpose. You'll include pictures edited in different batches, some still in raw format, others already converted in version sets to jpeg/tiff... For each output purpose, those selected pictures can be sent to the destination folder in the required format withoug opening the editor at that stage either using 'process multiple files' or 'export'.

  • Get Info for multiple files

    OS X 10.9.4, 27”, late 2013
    Seems to be a beginner’s problem, sorry …
    I have a folder on my HD with 250 mp3 files (1.25GB) and want to copy some to a SD card (512MB).
    So I (shift) select say 95 files in Finder:
    It lists “95 of 250 selected, 723.39 GB available”
    - Thanks, but at the moment I’m not interested in the space available on my HD (@AppleDevelopers: Check the Win Explorer for some ideas of usability … and what you should not do …).
    To get the size I try the right click at the selected files (blue) with “Get Info” (or the top menu icon) - but now 95 windows pop up with the size of each file, I can’t stop it (fascinating to watch, indeed) and don’t know how to close all “Get Info” windows at once.
    1) 95 x Cmd+W or “Quit” Finder from Activity Monitor?
    2) How to “Find” the size of a bunch of files?
    (I bet it was working before, selecting multiple files with one “Get Info” summary?)

    Thanks for your response(s).
    2. The option, Command and I key works, great.
    I did not understand the “or press Option when the File menu is open …” instruction, always returns the folder size.
    The slow moving shift + Get Info is cool.
    I am sure I did not use any of these combinations before, but ... +

  • How do I close multiple files in Preview on OSX10.8 without having to click on "Revert Changes" for every file?

    I opened, say, 100 PNG files that were saved in a landscape format.  So I selected all files, typed Cmd+L (to rotate left), and then viewed them for a while.  After I was finished, I tried to close all of them at once, but found I had to click on "Revert Changes" for every file?
    In Snow Leopard, an option would come up allowing you to discard changes for ALL open files.  Here, I cannot seem to find that option (if it even exists).  Does anyone have an idea?

    From the menu bar, select
     ▹ System Preferences... ▹ General ▹ Ask to keep changes when closing documents: Off

  • Adobe Bridge CC : metadata copy from one field to another for multiple files

    So I am using Bridge CC for managing audio files and have many many MP3's that I need to copy or move one field of metadata to another.
    ie:  copy "Audio Artist" field to "IPTC Core Creator" Field
         move "IPTC Core Description" to "Video Log Comment" field
    Is there a script I can add that will let me select multiple files, and have it copy or move all the info from one of these fields to another?
    Thanks
    Scott
    [email protected]

    Scott, I did have a go at this but I can't get the right path to the logComment in the XMP…
    Coping artist to creator works fine… If I find the solution I will post back…

  • Declarative Component : UploadedFile Isssue for multiple file Upload case.

    Hi,
    I have made one declarative component for the multiple file upload case; where i have add button that dynamically adds af:inputFile component to the popup dialog and similarly delete button to dynamically delete the selected inputFile component. Everything work fine such as:
    1. add button adds the inputfile component properly and delete does the same.
    2. upload of Multiple files also works fine. ( I keep the uploadedFile in the java.util.Map which is the pageFlowScope and once, Dialog box ok/cancel is clicked, i clear everything back).
    IT WORKS GREAT WHEN:
    User hit 5 times add button if they want to upload 5 images. and do upload for all the 5 inputFile components . (Add or Delete button should not be clicked after any upload , but before you can.)..
    THE ONLY PROBLEM IS WHEN:
    1. user uploaded; say 2 images but not yet clicked in the ok/cancel button yet... they are still in the upload dialog ..and hit ADD button again.
    2. After that user uploads say another file/image and now UploadedFile's getInputStream() returns null, length becomes 0 for all the other uploadedFile except this newly uploaded file.
    Now, here is the thing, i wrote my own customUplodedFile class which is just a wrapper and it return getInputStream() from this class and length from this class and it is working.... But i am not sure why does the uploadedFile loses it's value...
    import org.apache.myfaces.trinidad.model.UploadedFile;
    public interface ICustomUploadedFile
      extends Serializable, UploadedFile
      public String getFilename();
      public String getContentType();
      public long getLength();
      public Object getOpaqueData();
      public InputStream getInputStream();
      public void dispose();
    ====================
    public class CustomUploadedFile
      implements ICustomUploadedFile, Serializable
      private transient UploadedFile mUploadedFile;
      private transient InputStream mInputStream;
      private long mLength;
      public CustomUploadedFile()
      public CustomUploadedFile(UploadedFile pUploadedFile)
        this.mUploadedFile = pUploadedFile;
        this.mLength = pUploadedFile.getLength();
        try
          this.mInputStream = pUploadedFile.getInputStream();
        catch (IOException e)
          e.printStackTrace();
      public String getFilename()
        return mUploadedFile.getFilename();
      public String getContentType()
        return mUploadedFile.getContentType();
      public long getLength()
        return mLength;
      public Object getOpaqueData()
        return mUploadedFile.getOpaqueData();
      public InputStream getInputStream()
        return mInputStream;
      public void dispose()
        mUploadedFile.dispose();
    } Now, my questions are:
    1. Is there a way i could follow to not to lose the UploadedFiles's inputStream and length by not using my wrapper class but in a standard way/best way.
    2. I am not happy although it works because it is not making sense to me at all.....Why does the wrapper working though when i have transient variables; like UploadedFiles... and it's transient variables are lost why not mine.
    I am totally confused at this stage.. Need your help.
    Thanks

    any one??

  • One Progress Bar for Multiple Files

    I am using XML via actionscripts to load image files from the
    web server.
    The site is a secure ecommerce site so I can not run any
    scripts on the server side.
    I want to find out the total size of all of the image files
    to show a progress bar before I start the download.
    So I need a way to request the size of each image file on the
    web server???
    Any suggestions?

    Create a property node for each of the charts. Wire the controlling chart X scale maximum and minimum to the slave X scale max and min. (X Scale -> Range -> Max & Min).
    Hope this helps.

  • Applescript: Packaging and exporting PDFs for multiple files -- need some tweaks

    I found and tweaked a droplet script that isn't quite working right. I am hoping for some help with getting it to work the way I want. I tried and failed to learn to do this myself. Your help is greatly appreciated!
    Here's an example: I drag two files called "filename.indd" and "filename2.indd" onto the droplet. The script I have right now will output the packages and PDFs into the following folder structure:
    export folder
         filename folder
              filename.pdf
              filename folder
                   filename.indd
                   [Package contents]
         filename2 folder
              filename2.pdf
              filename2 folder
                   filename2.indd
                   [Package contents]
    Here's the folder structure I need (using a dialog box or script that intelligently knows that the directory to save in is the same as the files I dragged on to the droplet would be amazing):
    dialog box to choose new directory set to baseFolder
    or
    baseFolder <---- set to the current directory of the files I dragged onto the droplet
         filename folder
              filename.indd
              [Package contents]
              PDF folder             <--------new folder "PDF" created
                   filename.pdf
         filename2 folder
              filename2.indd
              [Package contents]
              PDF folder             <--------new folder "PDF" created
                   filename2.pdf
    Here's a script I found and modified:
    property baseFolder : (path to desktop as text) & "exports:"
    on open mgItems
              repeat with mgThisItem in mgItems
                        tell application id "com.adobe.InDesign"
                                  try
      open mgThisItem
                                            set mgDocName to name of active document
                                            set text item delimiters of AppleScript to ".indd"
                                            set mgShortName to text item 1 of mgDocName
                                            set targetFolderPath to my createFolder(mgShortName)
                                            set text item delimiters of AppleScript to ""
                                            set mgPackageFilePath to targetFolderPath & mgShortName as string
                                            set mgProofFilePath to mgPackageFilePath & ".pdf" as string
                                            set properties of PDF export preferences to properties of PDF export preset "[Smallest File Size]"
                                            tell the active document to export format PDF type to mgProofFilePath without showing options
                                            tell the active document to package to mgPackageFilePath with copying fonts, ignore preflight errors, copying profiles, updating graphics, including hidden layers, copying linked graphics and creating report
      close active document saving no
                                  on error e
      display dialog e
                                  end try
                        end tell
              end repeat
              display dialog "PDFs created and InDesign file packaged"
    end open
    on createFolder(nameString)
              set macFolderPath to baseFolder & nameString
              do shell script "mkdir -p " & quoted form of POSIX path of macFolderPath
              return macFolderPath & ":"
    end createFolder
    Thanks very much!

    ...anyone? :\

  • Unable to browse for multiple file upload

    SharePoint 2010, Windows 7 Enterprise 64bit, IE 11 32bit - on this PC i have 1 user who does not get the option to browse and select multiple files to upload to a library. I can log on to the same PC and do that function no problems.
    I have checked all the things in other posts like the  stsupld.dll version, trusted sites, active X, compatibility mode etc etc.
    The upload multiple documents is not greyed out and this user has been able to do this before on a different PC which is same desktop SOE. Appears to related to part of the users profile maybe in the appdata.
    Scratching the head now and not sure where to look next.
    Any help appreciated

    Hi,As you said is correct.It seems the issues is with the user profiles in the PC.I think no use of  removing the user from site collection and re-added back also because,As you said he can able to Do the same function in different PC.I would suggest
    to re-add the user in PC.
    Anil Avula[MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/

Maybe you are looking for

  • I want open the ports and allow the telnet port also

    Dear sir  dis is my router configurations router#show running-config Building configuration... Current configuration : 1588 bytes ! Last configuration change at 06:58:58 UTC Tue Apr 8 2014 version 15.2 service timestamps debug datetime msec service t

  • AR - Bill of Exchange Payment Request

    Hi Guys, I would like to know if there is any way for this situation. When I recieved the  bank return file some documents were rejected but the Bill of Exchange Payment Request continues fill up. Is there any way that we can configurate to delete th

  • Host lookup with full domain fails

    Hi, we have a couple of Macs that live in a Windows Active Directory domain. They are not part of the domain (i.e. joined), but they get their DHCP config from the Active Directory Controller (ADC). The active directory has the name "company.local" (

  • Off-cycle payroll rule

    Hi, The user of my project is asking for that when he executes an off-cycle payroll (and leaves the employess' number blanck), the payroll only be processed for the empleyess that have a valid register in infotype 267 (with valid I mean; same off-cyc

  • Urgent query about copying array of objects to html item

    I have an urgent query about how I can display an array of objects on a html form. The only suitable html item I can see for this is a drop down box. Ideally a combo box would be preferable but I cant find anything like this. Basically the display it