Relative to the image of contentfolder path

Hello

In the Configurator 1.0, I was able to put a logo/image in the content folder and use the loader SWF/Image to show that image just by typing the name of images in the URL field.

I can't get that to work with Configurator 2.0!

Do I have to type a special path to the image?

Kind regards Brian

Hello

The image must be in your YourPanelName.assets

Check if your image is in this path:

Photoshop / plugins / panels / yourPanelNameFolder / content / YourPanelName.assets

In the 'location (URL)' configurator, set the name of your image (e.g. image.png)

Tags: Adobe

Similar Questions

  • Relative to the image path?

    Recently, I've migrated to Win XP for a new PC Win 8. Installs all of the files and associated D.W. apps... everything went relatively homogeneous. But I noticed that the relative to any Image created in Photoshop path retains the old path

    i.e.

    (Old) original file:///C|/Documents and Settings / My Documents/SGP Web Design stuff/Menu_Button_Home_2013.psd

    New file: ///C|/Documents/PMF Web Design stuff/Menu_Button_Home_2013.psd

    Is a file in my site D.W. with these paths? If I could do a global update...  I have dozens of these type entries... wouldn't do all the 1 by one.

    THANKS in advance

    Guess I didn't explain my dilemma properly.  My site worked very well after I migrated to the new PC... all the SOURCE Images were in my root folder... What I couldn't find (so far) was where the ORIGINAL. PSD files have been referenced. D.W. Dungeon synchronize information with Photoshop, if/when the Original is updated... D.W. notifys you. Please see scrnshot GREEN arrow below.

    After several hours of P.D. I figured it out for future reference... the ORIGINAL file is referenced in a subfolder of your images folder called _NOTES each & every image has an associated. JPG. MNO file.

    Simple example Home_Button.JPG resides in the folder of images... Home_Button.jpg.MNO lives in _notes.

    Down near the bottom of Home_Button.JPG.MNO is a record that points to the ORIGINAL of Parent file.

    Looks like:

    I had hundreds of them that need updating... I used the search function of D.W. & replacement... took a few tries to get all the options set correctly. But it saved me several hours.

    Hope this helps someone in the future migrate to/from PC.

  • JS CS3 republish the image again link path

    I put a whole script that resizes images in a doc. What I've been able to do is rename the resized image and then link to the renamed images. I wish I could have all the resized images saved in the folder by using the name of doc is not difficult. What I find difficult is the path to this folder to reedit.

    for example:

    myLinks var = app.activeDocument.allGraphics;
    var myFpath =. itemLink.filePath myLinks [0]
    var myFname =. itemLink.name myLinks [0]

    (($.write(myFpath.replace(myFname,app.activeDocument.name+"/"+myFname) + '\r');

    Returns C:\hold\Untitled-1/file_24791_Scaled.tif

    If I try to change + ' / ' + to + "-" + the remaining code is commented I also tried "/------/ ' who returned.

    should I try using replace to return /C/hold/Untitled-1/file_24791_Scaled.tif that should work on PC and Mac?

    Any suggestion would be appreciated.

    Cheers, John.

    It is not fully tested - is not a Mac right now, but I would like to use the following approach:

    myGraphics = app.activeDocument.allGraphics var;
    aLink myGraphics = var [0] .itemLink;
    var myFname = aLink.name
    var myFpath = aLink.filePath;
    aFile var = new File (myFpath);
    var aFolder = aFile.parent;
    var aFolderPath = aFolder.absoluteURI;
    If (File.fs == "Windows") {}
    var aNewFolder = aFolderPath + "/" + app.activeDocument.name.match (/(.*)-.) [ ^\.] + $/) [1] + "/" + myFname;
    }
    Else if (File.fs == "Macintosh") {}
    var aNewFolder = aFolderPath + ":" + app.activeDocument.name.match (/(.*)-.) [ ^\.] + $/) [1] + ":" + myFname;
    }
    Alert (aNewFolder);

    I hope this helps.

    Kasyan

  • How to display an image in relation to the path?

    Hi all
    IAM using a trigger to insert after a form to store the path of the image file to a database field.
    This image is not stored in the DB but is present in the path stored
    I want to show this picture in the report of this form.

    Then I did the following:

    I created a column of formulas and put the path of the image to the record returned as a return value for it.
    Then, I created a placeholder column and put this formula column as return value.
    then I created a field with the source of this placeholder column and (Expand) to the vertical and the horizontal elasticity

    But when I run the report of the image does not appear!
    How to solve the problem please?

    Thank you

    Hello

    Use the property 'reading a file:

    http://www.Oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwcontxt/props/pi_col_read_from_file.htm

    Example 1: Image
    Suppose that for each of your employees, you have a .bmp file that contains a picture of the employee. In your employee table, you have a column called PHOTO that contains the name of the .bmp with the employee photo file.

    To generate a report that shows photos of employees, you select the PHOTO column in your query. In the properties of column for the PHOTO column, read you the value of the file Yes and specify the Image as a File Format. Generator of reports displays the files pointed to by the PHOTO column every time you have referenced the PHOTO column in your layout.

    Note: If the playback of the file is set to no, the file names will be printed instead of the photos.

    Of course, the image must be in a Format supported by reports

    Concerning

  • path of the image file that links do not correctly in the executable file

    I have a jpeg file in a project that I'm building which is not loading when run as an executable file.  The executable seems to be looking in the same directory that the image file was originally instead of the support folder where the image is deployed.  On another machine, the exe will look for the image in the directory, that were found on my machine.  When I drag the image file of the project on the block diagram Explorer, it creates a constant path of file indicates where the file is located on my machine.  This does not seem to update when I build the exe.  The image file is included in the source files.  Any help is appreciated!

    A constant path is... Yes indeed constant! It's not automatically change whenever someone might move the file too, whatever his imagination made her do. He does not maintain a link to the actual file it could use later to detect that the file has been moved elsewhere. In fact Windows has quite such a mechanism.

    So if you want to access an external file to your executable application to first do a correct path when running. My approach is to put in a directory from a VI file that I put in my application. Then in this VI use the way of getting current VI, band name the VI of it and add the location relative to the other file to it.

    If you do something like this:

    The project directory

    Directory of the utility

    My Location.vi

    Data directory

    MyResource.jpg

    in system development, then:

    The application directory

    MyApplication.exe

    Data directory

    MyResource.jpg

    in the application of the construction.

    With this provision, it doesn't matter even if you use the old format of executable LabVIEW 8.x or the new default format since LabVIEW 2009.

    My Location.vi is just a VI that takes a relative path in the entry (in this case "... / directory/MyResource.jpg data" called the "Current path to VI" node, use 'Band path' to remove the name of VI, then build to add this entry path, and this is!.)

  • Path of the image field

    Hello

    My version of jdev is 12.1.3.

    I created a class file NewMail in view viewcontroller package.

    During the validation operation, I'm lance an email of the display according to the code below.

    MSDS of DataSource = new FileDataSource)

    "Picture.png");

    If I give the full path for picture.png, I am able to get the mail with image.

    ADF survey null pointer exception if I don't give the full path, how generalize as by ADF incase if I decide to put this picture.png inside the contenuWeb folder.

    package view;
    import java.io.File;
    
    
    import java.io.InputStream;
    
    
    import java.util.Properties;
    import javax.activation.DataHandler;
    import javax.activation.DataSource;
    import javax.activation.FileDataSource;
    import javax.mail.BodyPart;
    import javax.mail.Message;
    import javax.mail.MessagingException;
    import javax.mail.PasswordAuthentication;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeBodyPart;
    import javax.mail.internet.MimeMessage;
    import javax.mail.internet.MimeMultipart;
    
    
    import javax.servlet.ServletRequest;
    import javax.servlet.http.HttpServletRequest;
    
    
    import oracle.jbo.domain.ClobDomain;
    
    
    
    
    public class NewMail {
    
    
        public static void sendenhancement_mail(final String user ) {
           Runnable r = new Runnable() {
                   public void run() {
                          
                              try{
          String to = "[email protected]";
    
    
          String from = "[email protected]";
          final String username = "[email protected]";
          final String password = "rrrr";
    
    
          Properties props = new Properties();
           props.put("mail.smtp.host", "rrrrr");
           props.put("mail.smtp.socketFactory.port", "333");
           props.put("mail.smtp.socketFactory.class",
                           "javax.net.ssl.SSLSocketFactory");
           props.put("mail.smtp.auth", "true");
           props.put("mail.smtp.port", "333");
          Session session = Session.getInstance(props,
             new javax.mail.Authenticator() {
                protected PasswordAuthentication getPasswordAuthentication() {
                   return new PasswordAuthentication(username, password);
                }
             });
    
    
          try {
    
    
             Message message = new MimeMessage(session);
    
    
             message.setFrom(new InternetAddress(from));
    
    
             message.setRecipients(Message.RecipientType.TO,
                InternetAddress.parse(to));
    
    
             message.setSubject("Hi");
    
    
             MimeMultipart multipart = new MimeMultipart("related");
    
    
             BodyPart messageBodyPart = new MimeBodyPart();
             String htmlText ="Hello"+"<img src=\"cid:image\">"+"<BR><B>Note: This is an automated E-mail.</B>";
             messageBodyPart.setContent(htmlText, "text/html");
             multipart.addBodyPart(messageBodyPart);
    
    
             messageBodyPart = new MimeBodyPart();
              System.out.println("Working Directory = " +
                            System.getProperty("user.dir"));
             DataSource fds = new FileDataSource(
                "Picture.png");
    
    
             messageBodyPart.setDataHandler(new DataHandler(fds));
             messageBodyPart.setHeader("Content-ID", "<image>");
    
    
             multipart.addBodyPart(messageBodyPart);
    
    
             message.setContent(multipart);
             Transport.send(message);
    
    
             System.out.println("Sent message successfully....");
    
    
          } catch (MessagingException e) {
             throw new RuntimeException(e);
          }
           }
           catch (Exception e) {
                                              System.out.println("Exception occured "+e);
           
                                          }
           
           }
           };
           
           Thread t = new Thread(r);
           t.start(); 
       }
    }
    

    If the files that are part of your web application, you can retrieve it with something like:

    InputStream is = this.getClass().getClassLoader().getResourceAsStream("/RELATIVE-PATH/yourFile");

    or

    FacesContext fc = FacesContext.getCurrentInstance ();

    ServletContext sc = (ServletContext) fc.getExternalContext () .getContext ();

    Path String = sc.getRealPath("/RELATIVE-PATH/yourFile")

    (you must enable "Enable getRealPath() results for archived web applications")

    ACCESS RELATIVE path is relative to the root of the context (something like "/ images")

    Dario

  • Retrieving error - could not find the path of the image... M:/RecoveryImage/install.wim

    So, I went out and bought the USB on the gateway site to restore this laptop again and when I tried to do, he says recovery failed - could not find the path of the image M:/RecoveryImage/install.wim.

    I contacted support and they issued me a replacement USB drive, I get the same failure.

    I diagnosed the HARD drive and it passes.  I used diskpart to 'clean up' the disk drive HARD all nothing doesn't.

    [Under the direction of privacy] order number

    What gives?

    Acupro1,

    I you sent a PM with respect to research purposes.

  • STOP: c0000221 {Bad Image Checksum}. The image rpcrt.dll is possibly corrupt and recovery XP says error during the extraction process. Details of error: path not found___

    My friend turned on their laptop packard Bell recently and had the following problem. Windows XP screen loads but is then followed by a blue screen that says STOP: c0000221 {Bad Image Checksum}. The image rpcrt.dll is possibly corrupt. The header checksum does not match the checksum calculated.

    I can't the laptop to go further. I have accessed the Microsoft recovery Panel and try a non-destructive recovery as there are some precious photos that need backup. However, when you select 'no profile' to begin the recovery, I get the message:

    Error during the extraction process. Details of error: path not found

    I'm a bit of a novice when it comes to this sort of thing, but if someone can provide step by step help giving rise to lose photos, I'd be willing to give it a try. I also have XP Home Edition disk that came with the laptop but has never been opened. Any help would be appreciated. Thank you

    You hear your message said something about rpcrt4.dll?  It is important to relay the exact message you see.

    Please provide additional information on your system:

    What is your system brand and model?

    What is your Version of XP and the Service Pack?

    Describe your current antivirus and software anti malware situation: McAfee, Norton, Spybot, AVG, Avira!, Defender, ZoneAlarm, PC Tools, MSE, Comodo, etc..

    The question was preceded by a loss of power, aborted reboot or abnormal termination?  (this includes the plug pulling, buttons power, remove the battery, etc.)

    The afflicted system has a CD/DVD drive work?

    You have a true bootable XP installation CD (it is not the same as any recovery CD provided with your system)?

    You use some CD to access this Panel of Microsoft recovery where this "no profile" option is?  I don't know what all this means if it isn't some CD shipped with your system, in which case, I would use it for a coaster instead of something to fix your system.

    If the c:\windows\system32\rpcrt4.dll file is missing or afflicted, you do not start in the last good known Configuration.

    You also will not start in any kind of Mode safe no more.

    Even if you could boot mode safe, you would find that sfc/scannow does not work in Mode without failure in all cases (never).  If you try it, you'll see a message like this:

    Windows file protection could not initiate a scan of protected system files.

    The specific error code is 0x000006ba [the RPC server is unavailable.].

    Failed to start the RPC mode server safe either.

    I can't recreate your error exactly, but it is easy to replace the rpcrt4.dll file.  Looks like you have a working CD drive, so put yourself a Hiren boot CD and when you started on this, you can copy your precious files to a USB device for safety.

    There should be a backup copy of rpcrt4.dll already on your system, here or here:

    c:\Windows\System32\dllcache

    c:\windows\ServicePackFiles\i386

    You need to rename or replace the rpcrt4.dll file which is in c:\windows\system32 and replace it with one you will find the backup copies.

    There should be a backup copy of rpcrt4.dll already on your system, here or here:

    c:\Windows\System32\dllcache

    c:\windows\ServicePackFiles\i386

    When you get the Hiren's CD's, you can use to replace the missing or suspicious file.  If you need help with that, first get the Hiren's boot CD made and start over, then we can continue.

    Do you have a Hiren BootCD you can download here:

    http://www.hirensbootcd.NET/

    On the left, click on download, scroll down, choose the latest version, the download link is a little hard to see.  It is at the bottom of the page, above the drop for older versions and looks like this (click this component to download the ZIP file):

    Direct HTTP mirror + Torrent, Torrent Magnet

    Click the "Live HTTP Mirror" link to start the download and save the ZIP file on your desktop of somewhere that you can remember.

    The ZIP file is large, so the download will take probably some time to complete.  Then unzip the download to extract the Hirens.BootCD.ISO file that will be used to create your new bootable CD.

    Create a bootable CD. ISO file is not the same as simply copying the. File ISO onto a blank CD.  You must use software that includes how to burn a. ISO to a CD to create a bootable CD.

    File ZIP the Hiren is the file BurnToCD.cmd that you can double-click to launch it.  The BurnToCD.cmd will use the file BurnCDCC.exe to burn the. ISO file onto a blank CD using your existing CD burner.  You can also use your own burning software as long as your software is able to create a bootable CD. ISO file.  More modern burning programs can create a bootable CD. ISO image.  Create a CD from an ISO image bootable is not the same as just the file on a CD burning.

    If you need a simple and CD burning, this is a free software popular software:

    http://www.ImgBurn.com/

    Here are some instructions for ImgBurn:

    http://Forum.ImgBurn.com/index.php?showtopic=61

    It would be a good idea to test your new bootable CD on a computer running.

    You may need to adjust the computer BIOS settings to use the CD-ROM drive as the first device to boot instead of the hard drive.

    These adjustments are made before Windows tries to load.  If you miss it, you will need to restart the system again.

    When starting on the Hiren's CD, you will see a menu of options.  Choose Mini XP.  It will appear while Windows is loading and you will be presented with a desktop computer that has the look and feel of the interface of Windows Explorer, you are already accustomed to using.

    Using the Mini XP, you can access Internet, maneuvering around your system, search for files, copy files, replace the files and run the scans for malware, edit the text files (like the c:\boot.ini) etc.

    There are dozens of free and useful tools included in the CD that can be used to repair your system or copy your important personal files on another device (like a USB device or an external drive) in the case where you just give up and decide to reinstall your XP (I hope that you will not make this decision)

    Do, or do not. There is no test.

    I need YOUR voice and the points for helpful answers and propose responses. I'm saving for a pony!

  • Get the path of the image of the contact for smartphone webworks

    Hi all
    I'm trying to get the path of the picture of the contact in the address book.
    I get the title, first name etc with success.
    But I can't find such a code I can get the path of the image of the particular contact.

    Please help me if anyone knows the code or have any solution as soon as Possible.

    Thank you best regards &,.
    Castillo

    You can retrieve the image encoded base64 string object, but will not receive the path of the file (The API Reference). To display the image, you can use a URI of the data with a tag.

    Example on how to use the data URI: http://css-tricks.com/data-uris/

  • CameraRoll added the path and the name of the image

    How can I get the name and the path of the image stored in cameraroll?

    Or y at - it a way to display the image in the photo card?

    var cameraRoll:CameraRoll = new CameraRoll();
    cameraRoll.addEventListener(Event.COMPLETE, saveComplete);
    cameraRoll.addBitmapData(bmpData);
    

    Solved by selecting the last image in the folder of the camera.

    var strDir:String = File.userDirectory.resolvePath('shared/camera').nativePath;
    var fileCam:File = new File(strDir);
    var files:Array = fileCam.getDirectoryListing();
    files.sortOn("creationDate", Array.NUMERIC);
    var lastFile:File = new File();
    lastFile = files[files.length-1];
    
  • Unable to get the path of the image

    Hello

    I get a picture from the pictures folder. Set it on my screen - so I have the byte []. I want to store the image on the phone and I find it difficult. I surfed for this problem and found a lot but this code is not working. I guess, I made a mistake somewher, can someone point me to where and what error.  The code is:

        // Save the selected photo to a specified loaction on mobile
        public static String SavePhotoToPhone(byte[] photo) {
            String path = "";
            String p = "fileconn.dir.memorycard.photos"+"picture2.png";
            try {
                FileConnection fc = (FileConnection) Connector.open(System.getProperty(p), Connector.READ_WRITE);
                if (! fc.exists())
                    fc.create();
                OutputStream oStream = fc.openOutputStream();
                oStream.write(photo);
                oStream.flush();
                oStream.close();
    
                path = fc.getURL();
    
                System.out.println("PHOTO PATH SET = " + path);
    
                fc.close();
                fc = null;
                oStream = null;
            }catch(ConnectionNotFoundException ce) {
                System.out.println("SavePhotoToPhone-Connection to the File cannot be achieved: " + ce.getMessage());
            } catch(IllegalArgumentException ile) {
                System.out.println("SavePhotoToPhone-Invalid Path or So | Key is Empty: " + ile.toString());
            } catch(IOException ie) {
                System.out.println("SavePhotoToPhone-Firewall Problem | File does not exists | Taget not accessible: " + ie.getMessage());
            } catch(IllegalModeException le) {
                System.out.println("SavePhotoToPhone- Cannot Write : " + le.getMessage());
            } catch(SecurityException se) {
                System.out.println("SavePhotoToPhone- Permission not Granted to Write: " + se.getMessage());
            } catch(NullPointerException ne) {
                System.out.println("SavePhotoToPhone- System key is null: " + ne.getMessage());
            }catch(Exception e) {
                System.out.println("SavePhotoToPhone- Exception : " + e.getMessage());
            }
            return path;
        }
    

    It is throwing exception IllegalArgumentException. I used the same code, as provided for by mantaker on http://supportforums.blackberry.com/t5/Java-Development/how-to-save-encodedImage-on-disc/m-p/215531#...

    I want to record on the phone. I guess that my property is false. The Simulator will not have any memory card, then how do I save it? With the code above, I should also get the path of the file proeprly or not?

    Thank you

    You can create your own file in the blackberry's internal file system.

    Use the url file:///store/home/user

    Under user folder, you can create your own little ones, for ex:

    file:///store/home/user/myFolderOne

    file:///store/home/user/mydata/myDataOne

    etc.

  • Retrieve the bytes of the image of the path of the image file

    Hello

    I was unable to find a post that details how to retrieve the bytes of the image of an image (given the path to the file of the image on the device).  Basically, using the FilePicker, I'm able to get the path of an image chosen by the user:

    There you go:

    Pass just your file as method parameter name.

     public static byte[] getBytesFromFile(String filename) throws IOException {
            FileConnection fconn = null;
            InputStream is = null;
            try {
                fconn = (FileConnection) Connector.open(filename, Connector.READ);
                is = fconn.openInputStream();
    
                return IOUtilities.streamToBytes(is);
            } finally {
                if (is != null) {
                    is.close();
                }
                if (fconn != null) {
                    fconn.close();
                }
            }
        }
    
  • How to fill the open paths to Trace the Image (automatically)?

    I drew this picture with a pencil and parsed it as a png image:

    [Dragon.png]Dragon.png

    I want to have closed roads, so that I may fulfill different

    areas with different colors easily with the live paint bucket

    (for example blue eyes, the rest in brown color).

    I've vectorized it my png Image trace (trace first, and then expand the button).

    You can see the settings I used to trace right picture of the image.

    AfterExpand.PNG

    [AfterExpand.png]

    1)

    These settings are good to vectorize a pencil drawing or

    are there settings better?

    2)

    I think that the blue lines are the paths.

    Is there a possibility to mix and to?

    3)

    You can see there are open paths where they need to be closed:

    Open_Paths.PNG

    [Open_Paths.png]

    Is it possible to close automatically with

    a function of artificial intelligence in Illustrator with fitting curved paths?

    How can it be done?

    4)

    If 3) is not possible, what is the best practice to do it manually?

    You can see that the shilouette has a large diameter, so I can not only

    create new ways of binding because they have zero diameter.

    5)

    First I drew the image with a pencil,

    So it was not possible to have all the lines of equal diameter.

    But that's what I want.

    Even there is a possibilitiy to set all the paths of a vector image

    to a certain diameter in one click?

    (1) totally depends on your drawing. Try to find the best for you.

    (2) view > hide edges

    (3) the live paint function has a detection of space you see in the menu object

    (5) you would nee to draw it differently: create: features

    But for this simple drawing: just it draw manually.

  • Add the folder names in the path of the image as keywords separated from image metadata

    Hi all, I tried to find a solution online and customize the amazing Paul Riggott script, but I'm not able to make it work the way I need.

    I have my customer images organized in the structure of folders and subfolders. For all images (thousands of files in the subfolders a lot) I need a script for Adobe Bridge to take all the way from the image, separated from individual files paths file and store these records in the form of keywords separated in the metadata of the image.

    For example, I have the image.jpg/Work/Job01/share/Photos and image B.jpg file in the folder/Work/Job02/PartB/Photos. After I run the script from Adobe Bridge on file/work, I want to have for the two added images keywords

    Size: Work; Job01; Share; Photos

    Notice: Work; Job02; PartB; Photos

    As 'Work' and 'Pictures' folders are usually present, it would be nice to have the opportunity to put these two exact strings in script and exclude keywords added, but it is not necessary :-)

    The bellows of script adds one keyword ~photos/Work/Job01/share/Photos, for what is necessary is to divide and make key words separated substrings. This would allow me to move pictures anywhere and still be able to filter as a group structure (as number of employment, or part name).

    Please, could someone show me how to update this script? Or is there another solution that I just haven't found yet?

    Thank you, Petr

    // ADOBE BRIDGE SCRIPT // PUT FOLDER NAMES TO IPTC KEYWORDS
    // from Paul Riggott Script, May 12, 2011 12:23 PM (in response to JSG_Alex_B)
    // https://forums.adobe.com/thread/656144
    #target bridge   
      if( BridgeTalk.appName == "bridge" ) {   
    AddFolderNameToMeta = MenuElement.create("command", "Add folder names as keywords", "at the end of Tools"); 
    } 
    AddFolderNameToMeta.onSelect = function () { 
      addFolderName(); 
      } 
    function addFolderName(){ 
    var folders =[]; 
    var Pics=0; 
    folders = FindAllFolders(Folder(app.document.presentationPath), folders); 
    folders.unshift(Folder(app.document.presentationPath)); 
    for(var a in folders){ 
      var PictureFiles = folders[a].getFiles(/\.(jpg|jpe|jpeg|gif|eps|dng|bmp|tif|tiff|psd|rle|dib|cin|dpx|sct|pbm|flm|psb|exr|pcx|pdp|nef|dcr|dc2|erf|raf|orf|tga|mrw|mos|srf|pic|pct|pxr|pdd|pef|png|x3f|raw)$/i); 
    for(var p in PictureFiles){ 
        addKeyword(PictureFiles[p]) 
        Pics++; 
        } 
    } 
    alert("Number of Folders Processed = "+folders.length+ " Documents Processed = "+Pics); 
    function addKeyword(fileName){ 
    if (ExternalObject.AdobeXMPScript == undefined)  ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript"); 
    var thumb = new Thumbnail(fileName); 
    // I need somehow to make substrings from path to separate individual folder subfolder names and add these as separate keywords
    var folderName = decodeURI(fileName.path).replace(new RegExp(/\\/g),';'); 
      if(thumb.hasMetadata){ 
          var selectedFile = thumb.spec;   
          try{ 
          var myXmpFile = new XMPFile( selectedFile.fsName, XMPConst.UNKNOWN, XMPConst.OPEN_FOR_UPDATE); 
      var myXmp = myXmpFile.getXMP(); 
            var keys = getArrayItems(XMPConst.NS_DC,'subject'); 
            keys.unshift(folderName); 
            keys= ReturnUniqueSortedList(keys); 
            myXmp.deleteProperty(XMPConst.NS_DC,'subject'); 
            for(var z in keys){ 
            myXmp.appendArrayItem(XMPConst.NS_DC, "subject", keys[z], 0,XMPConst.PROP_IS_ARRAY); 
            } 
            }catch(e){} 
    if (myXmpFile.canPutXMP(myXmp)) { 
            myXmpFile.putXMP(myXmp); 
            myXmpFile.closeFile(XMPConst.CLOSE_UPDATE_SAFELY); 
            } 
    } 
    function getArrayItems(ns, prop){ 
    var arrItem=[]; 
    var items = myXmp.countArrayItems(ns, prop); 
      for(var i = 1;i <= items;i++){ 
        arrItem.push(myXmp.getArrayItem(ns, prop, i)); 
                    } 
    return arrItem; 
    } 
    }; 
    function FindAllFolders( srcFolderStr, destArray) { 
    var fileFolderArray = Folder( srcFolderStr ).getFiles(); 
    for ( var i = 0; i < fileFolderArray.length; i++ ) { 
      var fileFoldObj = fileFolderArray[i]; 
      if ( fileFoldObj instanceof File ) {   
      } else { 
            destArray.push( Folder(fileFoldObj) ); 
      FindAllFolders( fileFoldObj.toString(), destArray ); 
      } 
    } 
    return destArray; 
    } 
    function ReturnUniqueSortedList(ArrayName){ 
    var unduped = new Object; 
    for (var i = 0; i < ArrayName.length; i++) {   
    unduped[ArrayName[i]] = ArrayName[i]; 
    } 
    var uniques = new Array;for (var k in unduped) { 
      uniques.push(unduped[k]); 
      } 
    uniques.sort(); 
    return uniques; 
    } 
    }; 
    
    

    The only other option that I know uses ExifTool:

    Help by adding information of path as keywords

  • The Images path required at the database level.

    Hi all

    Merry Christmas :-)  Well, I'm just here for the updated knowledge to find the path of the images in my database. Since I could find by Google so I felt take help here.

    Please find below the details of my version of the database and at the apex.

    BANNER

    --------------------------------------------------------------------------------

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    PL/SQL Release 11.2.0.3.0 - Production

    CORE Production 11.2.0.3.0

    AMT for Linux: Version 11.2.0.3.0 - Production

    NLSRTL Version 11.2.0.3.0 - Production

    Apex Version: 4.2.3.00.08

    I can find my path set by me in the Dads.conf file, but I wanted to know as - is it possible to look for the path of the image in a table or view in DB level?

    Opinions are highly appreciated.

    Thank you

    Nitesh Perron.

    in DADS configuration you mentioned is the path to the image? Then you can see the files in the folder of images!

    Please find my G drive attachment! DADS.config

Maybe you are looking for

  • How can I disable the lock on my HPw1858 monitor switch?

    How can I turn off the Power button on my monitor HPw1858 locking?

  • flashlight

    Why my bike E lte 2nd generation is not a flashlight. Are there available downloads that would be not compatible.

  • Endpoints online and video WebEx

    Hello community, is it possible to connect a video endpoint on the vcs registerd a webex online meeting? At the momemt, we have some Jabber and SIP/H323 registerd endpoints on the vcs. On the other side we have webex online accounts. Are we not able

  • Mobile broadband problem Ericson

    I just bought a lenovo Ericson F5521gw WAN card for my 3045CTO x121e and install it with the 6.5.1.5 pilot... When I press Fn + F5 I see a WWAN icon and it says that it is activated! In the dial-up connections (v. 5.97) Tools / Internet Connection ta

  • LR 6 to CC2015?

    Can I switch from stand-alone LR6 to CC2015 without losing all my settings, etc.?