How to place the date in photos

How can you place the date in photos as they are taken?

Hi,
You can pass the image url as a href attribute=> file:///Users/me/Documents/my_pic.jpg directly within your xml. It just needs that you pass a local, static and valid url.
If you want to add image later once the xml is flowed and so target specific nodes and inject images, it's a bit more complex. If the node is not part of the layout, you may try to reach the XMLElement objet and such an attribute, then layout the element.
var x = some XMLElement
x.xmlAttributes.add("href","file:///Users/m/Documents/my_pic.jpg" );
If already placed, then you have to get the associated pageItem, then place your file into it.
pagItm.place ( File ( "/Users/m/Documents/my_pic.jpg" ) );
Hope that helps,
Loic
http://www.loicaigon.com

Similar Messages

  • How do I *REALLY* change the date on photos?

    I'm having trouble with this, and I'm sure there has to be a fix.
    Let's say I took a group of photos last week. But oops, I forgot to set the date and time on my camera. So when I import the photos, iPhoto places them under April 2004 instead of June 2007.
    No problem. I select all the photos, do a batch change on the date, and they now "appear" to be taken in June 2007.
    But they weren't really changed. If you view the info for the photos, you'll see that they are still marked as April 2004 for the original date.
    So basically iPhoto has set-up some type of filter to show the photos in 2007, even though the computer still believes they are from 2004.
    This became a big problem when I imported my library to my new Mac. Perhaps I did something incorrectly, but I had quite a few imported photos that reverted back to their Original date, instead of the fake one I had set up in iPhoto. So my Library was a mess and I had to re-organize my collection.
    This problem would be avoided if iPhoto really and truly changed the date timestamp on my pictures, as I asked.
    I've downloaded several programs that offer photo meta editing. None of them did the job. They just changed the photo "Date Modified" to be June 2007. But if you look at their properties, they still show 2004 as the Original Date.
    Mac OS X is a very smart system. Surely there is some way to truly force change the dates on photos. Afterall, they are just data in themselves. I can't imagine there isn't a way.
    Can you help? Is there a work-around in iPhoto or OSX, or a separate program I can download?
    Thanks!
    MacBook Pro Mac OS X (10.4.10) iPhoto 6.0.6
    MacBook Pro   Mac OS X (10.4.10)   iPhoto 6.0.6

    Jon:
    Dragging the thumbnails to the desktop and exporting are essentially the same process, producing copies of the full sized image file. Exporting gives you other options, however. Once you get the photos out of iPhoto you can run PhotoInfo on them and then import as new files. iPhoto will see those new files with the correct date. If you try running PhotoInfo on files already in iPhoto, you can change the EXIF Capture Date in the file but iPhoto won't recognize the changes.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • The dates my photos were taken are now incorrect.  Any suggestions on how to get the correct dates back?

    The dates my photos were taken are not incorrect.  Any suggestions on how to get the correct dates back?

    Thank you Winston.  This works and I can adjust several photos at the same time.

  • Does anyone know how to remove the date stamp from photos?

    I don't remember how I added the date ON the photos to begin with, and now I don't know how to remove them!

    Try the Retouch tool in iPhoto. Otherwise you would need to use a 3rd party image editor, like Photoshop Elements that has a clone or healing tool to remove the date from the image.
    This is what PSE can do but it might be a bit overkill for just doing dates.
    OT

  • How to hide the data in particular table in oracle 10g

    How to hide the data in particular table in oracle 10g
    i want steps

    If its on Report u can  always hide the column - Keyfigure or Selection - Display - Hide......y do u want to have it on the report if it is to be hided in the first place?

  • How to retrive the data from a sqlite file(.db3) in windows phone 8.1(runtime)

    hey guys
    i installed the sqlite and sqlite-net as requested in other answers i found, changed to x86, and add the .db3 file in my project.
    but the problem is how to retrive the data that already in the file( i am not creating any table or data in the app, just read)
    all the answer i found is to create a table first and then read the table, i tried to skip the step of creating a table, and read from the table directly, but failed with " no such table", by the way, i set the property of the .db3 file as "content",
    "copy if newer"
    can anyone please help? i appreciate that !

    Hello,
    From your description, you want to read data from available sqlite file. When you add the sqlite file into your project, you need to change the sqlite file build action to content. After deploying to device, the sqlite file is located in installation folder,
    you need to copy that file into storage folder before reading data. Please try the following code snippets.
    private async void Button_Click_9(object sender, RoutedEventArgs e)
    //check if file exists in storage folder, and then copy to local storage
    bool flag = await FileExistsAsync("Data.db3");
    if (!flag)
    var folder = await Package.Current.InstalledLocation.GetFileAsync("Data.db3");
    await folder.CopyAsync(Windows.Storage.ApplicationData.Current.LocalFolder);
    // open sqlite and read data
    public async Task<bool> FileExistsAsync(string fileName)
    try
    await Windows.Storage.ApplicationData.Current.LocalFolder.GetFileAsync(fileName);
    return true;
    catch (FileNotFoundException)
    return false;
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • How to find the data loaded from r/3 to bw

    hi
    how to find the data loaded from r/3 to bw is correct . i am not able to find which feild in the query is connected to which feild in the r/3 . where i am geting the data from r/3 . is there any process to find which feild  and table the data is comming from . plz help
    thanks in advance to u all

    Hi Veda ... the mapping between R/3 fields and BW InfoObjects should take place in Transfer Rules. Other transformation could take place in Update Rule.
    So you could proceed this way: look at InfoProvider Data Model and see if the Query does perform any calculation (even with Virtual keyfigures / chars). Than go back to Update Rules and search for other calculation / transformation. At least there are Tranfer Rule and eventually DataSource / Extraction Enhancements.
    As you can easily get there are many points where you have to look for ... it's a quite complex work but very usefull.
    Once you will have identified all mappings / transfromation see if BW data matchs R/3 (considering calculations ...)
    Good job
    GFV

  • How to place the "go" button at left size in dashboard prompt

    how to place the "go" button at left size in dashboard prompt

    Change your code to this and it should work:
    PARAMETERS : p_date LIKE sy-datum ,
                  p_uname LIKE sy-uname.
    DATA: field1(8) TYPE c .
    AT SELECTION-SCREEN .
       IF p_uname IS INITIAL.
         field1 = 'P_UNAME'.
         SET CURSOR FIELD field1 .
         MESSAGE e001.
       ENDIF .
    I think you need to have the MESSAGE statement (or something similar).  If you don't have a message class assigned to your program, instead of
    MESSAGE e001.
    you can use
    MESSAGE 'Please fill in all required fields' TYPE 'E'.
    - April
    Message was edited by:
            April King

  • How to edit the date in an event

    Help please, I uploaded some pictures into iphoto (I'm new to it). However they were uploaded and dated in an event automatically as 2004 and they are supposed to be 2009. Does anyone know how to change the date for events manually? I cannot figure it out. Thanks!!!

    Check your camera set up - the dates iPhoto use come from it
    to correct dates select the photo(s) you want to correct and adjust the time and date - iphoto menu ==> adjust date and time
    You may find the iPhoto tutorials worth watching - http://www.apple.com/findouthow/photos/ - as simple and intuitive as iPhoto is there is a learning curve and there are lots of features to learn
    LN

  • How to change the date format  YYYYMMDD to MM/DD/YYYY

    Hi ,
    How to change the date format  YYYYMMDD to MM/DD/YYYY .
    Ex :  20071008  to 10/08/2007
    Is there any function module for this ??
    Regards
    Rahul

    Hi Sharma,
    check the code:
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-031.
    PARAMETERS: date1 RADIOBUTTON GROUP rad1 DEFAULT 'X', "SAP date format YYYYDDMM
    date2 RADIOBUTTON GROUP rad1, "Date format like aprial31, 2006
    date3 RADIOBUTTON GROUP rad1, "Date format like 31 apr,2006
    date4 RADIOBUTTON GROUP rad1, "Date format like DD/MM/YYYY
    date5 RADIOBUTTON GROUP rad1. "Date format like DD.MM.YYYY
    SELECTION-SCREEN END OF BLOCK b2
    FORM getmonth .
    SELECT mnr
    ktx
    ltx
    INTO TABLE T_month
    FROM t247
    WHERE spras = 'EN'.
    IF sy-subrc NE '0'.
    MESSAGE I "Message - Not able to get month values from the table T247
    ENDIF.
    ENDFORM.
    DATA : temp_date(16) TYPE c,
    temp1_date(60) TYPE c,
    year(4) TYPE c,
    daymonth(11) TYPE c,
    daymonth1(11) TYPE c,
    month(9) TYPE c,
    day(2) TYPE c,
    mon LIKE t247-ktx,
    len TYPE i .
    MOVE date TO temp1_date .
    CONDENSE temp1_date NO-GAPS.
    MOVE temp1_date TO temp_date .
    IF date2 EQ 'X'. "The date format is like Aprial 31, 2007
    CONDENSE temp_date NO-GAPS.
    SPLIT date AT ',' INTO daymonth year.
    IF STRLEN( year ) NE '4'.
    error = 'X'.
    WRITE : 'Invalid date format.'.
    ELSE.
    daymonth1 = daymonth.
    CONDENSE daymonth1 NO-GAPS.
    _len = STRLEN( _daymonth1 ).
    l_len = 13 - len.
    SHIFT daymonth1 RIGHT BY len PLACES.
    CONDENSE daymonth1 NO-GAPS.
    month = daymonth1.
    CONDENSE month NO-GAPS.
    SORT t_month BY monthltx.
    READ TABLE t_month WITH KEY monthltx = month.
    IF sy-subrc <> 0.
    error = 'X'.
    WRITE : 'Invalid date format.' .
    ELSE.
    len = STRLEN( month ).
    CONDENSE daymonth NO-GAPS.
    SHIFT daymonth LEFT BY len PLACES.
    day = daymonth.
    CONDENSE day NO-GAPS.
    CONCATENATE year t_month-monthnumber day INTO o_date.
    ENDIF.
    ENDIF.
    ELSEIF p_date3 EQ 'X'. "The date format is like 31 apr, 2007
    CONDENSE temp_date NO-GAPS.
    SPLIT i_date AT ',' INTO daymonth year.
    IF STRLEN( year ) NE '4'.
    error = 'X'.
    WRITE : 'Invalid date format.'.
    ELSE.
    daymonth1 = daymonth.
    CONDENSE daymonth1 NO-GAPS.
    SHIFT daymonth1 LEFT BY 2 PLACES.
    CONDENSE daymonth1 NO-GAPS.
    month = daymonth1.
    CONDENSE month NO-GAPS.
    TRANSLATE month TO UPPER CASE.
    SORT t_month BY monthstx.
    MOVE month to mon.
    READ TABLE t_month WITH KEY monthstx = mon.
    IF sy-subrc <> 0.
    error = 'X'.
    WRITE : 'Invalid date format.' .
    ELSE.
    CONDENSE daymonth NO-GAPS.
    day = daymonth+0(2).
    CONDENSE day NO-GAPS.
    CONCATENATE year t_month-monthnumber day INTO o_date.
    ENDIF.
    ENDIF.
    ELSEIF p_date4 EQ 'X' OR p_date5 EQ 'X'. "Date format is like DD.MM.YYYY or DD/MM/YYYY
    CONDENSE temp_date NO-GAPS.
    IF STRLEN( temp_date ) EQ 10.
    o_date0(4) = temp_date6(4).
    o_date4(2) = temp_date3(2).
    o_date6(2) = temp_date0(2).
    ELSE.
    error = 'X'.
    WRITE : 'Invalid date format.' .
    ENDIF.
    ENDIF.
    IF STRLEN( o_date ) NE '8'.
    error = 'X'.
    WRITE : 'Invalid date format.'.
    ENDIf.
    ENDFORM. " f0100_conv_date
    Reward if helpful.
    Regards,
    Harini.S

  • How to display the data of CJ2C(T-CODE) using web dynpro abap

    Hi all:
        How to display the data of CJ2C(T-CODE) using web dynpro abap.
        CJ2C used to display a Gantt Chart.
        Thanks.

    Hi,
    Create a Value attribute (resource) of type Resource, bind it with the property of File Upload UI element.
    On action place the code and Deploy the application
    byte[] bytes = new byte[ 1024];
    FileOutputStream out = new FileOutputStream( new File( <path in server>));
    InputStream in = resource.read( true);
    int len;
    while( ( len = in.read( bytes)) > 0)
         out.write( bytes, 0, len);
    in.close();
    out.close();
    Regards
         Vinod V

  • How do you time/date stamp photos in iphoto 9, Version 8.1.2?

    How do you time/date stamp photos in Iphoto 9, Version 8.1.2?

    If the photos were taken with a digital camera they already dated and time stamped. Select a photo and click in the "i" button in the lower left hand corner of the window:
    There you will see the date and time the photo was taken.

  • HT4847 How i can download my backup data? And how to manage the data on i Cloud?

    How i can download my backup data? And how to manage the data on i Cloud?

    You can't download an iCloud backup, except to restore it to your device should you ever need to.
    iCloud data can be managed within the apps on your iPad.  Any changes to the data within the apps corresponding to the data you are syncing with iCloud will take place in iCloud.  You can also manage some of this data on icloud.com from your computer.
    This article explains ways to manage your iCloud storage space, should you need to reduce you iCloud storage: http://support.apple.com/kb/ht4847.

  • How can I change dates on photos in Elements so I can control order of photos in album in adoberevel

    I have some of my photos in adoberevel albums, and have learned the only way to change the order of those photos in those albums is to change the date or event in my Elements 9 library. I'd prefer to work with changing the photo date, but don't know how. Can anyone help me?
    Trish 

    Jon, Thanks for responding. I have only the "free" cloud uploads allowed on Revel, so they were uploaded automatically some time ago. When I first looked at them, they appeared to be a total disaster and I decided not to look again, and was happy to keep my images on my computer in Elements 9. But looking yesterday (someone had contacted me about images of my art), I found things looked better. The only problem is the sequencing of the images, and from what I read on a Community thread is that I have to change either the dates or the events. Well, today I saw how to change the dates on Adobe (only did it with one photo as a test), but that ____ so far___ has not changed the sequence in Revel. So, I will close and re-boot my computer to see if that makes a difference, and get righy back to you. Thanks again for responding!
    Trish

  • How to check the data of an archived table.

    I have archived a table created by me. I have executed the write program for the archiving object in SARA. Now how can check the data of my archived table.

    Hello Vinod,
    One thing to check in the customizing settings is your "Place File in Storage System" option.  If you have selected the option to Store before deleting, the archive file will not be available for selection within the delete job until the store job has completed successfully.
    As for where your archive file will be stored - there are a number of things to check.  The archive write job will place the archive file in whatever filesystem you have set up within the /nFILE transaction.  There is a logical file path (for example ARCHIVE_GLOBAL_PATH)where you "assign" the physical path (for example UNIX: /sapmnt/<SYSID>/archivefiles).  The logical path is associated with a logical file name (for example ARCHIVE_DATA_FILE_WITH_ARCHIVE_LINK).  This is the file name that is used within the customizing settings of the archive object.
    Then, the file will be stored using the content repository you defined within the customizing settings as well.  Depending on what you are using to store your files (IXOS, IBM Commonstore, SAP Content Server, that is where the file will be stored. 
    Hope this helps.
    Regards,
    Karin Tillotson

Maybe you are looking for

  • Creating a webservice from PL/SQL Package in JDev 11g

    Hi All... I have a PL/SQl package and I am using JDEv 11g. I want to create it as a webservice. I want to deploy it in a remote server. Can I deploy it from my client machine. In server Weblogic already started. What are the prerequisites, that we ne

  • Fixed Asset failed to do a capitalization credit memo

    Hi All financial period April - Mar I have this fixed asset capitalized on 1 May 2014, from A/P invoice at the price of 14,649.37. I have done the depreciation run for May-Jul (period 2 - 4). Now I want to do a capitalization credit memo on 1 Aug 201

  • Mapping to database views, S1S4u1 and Sun ONE AppServer7

    Does anyone know how to use S1S4u1 to map a CMP to a database view? I'm currently using Sun ONE AppServer 7 linked to a SQL Server. I have some views on the database that I want to create CMPs to map to. Is this a wrong idea? 'Cause I cannot find a w

  • Project v Song Workflow Question

    Does this sound right? I'm recording an album. Should each song be saved as its own project? Seems logical to save one song as a project to create the folder structure, then save the rest of the songs as songs in that project. Also, I noticed that th

  • Assertion file: causes drop in MDM connection?

    Hi, We are seeing some intermittment problems in MDM and the only thing that really correlates are these entries in the Assertions log file.  The following log entry will show up multiple times at a given time: <Assert ts="2009/05/12 16:43:05.497 GMT