Media selector creates video widget instead of photo

Hello!
When I select and drag into my book a single photo from iPhoto in the Media Selector, Author creates a video widget instead.
When I drag two photos, Author creates a video widget and a photo.
I have searched this forum and did a Google search but did not find other people complaining about the same problem. What is wrong and how can I correct it?
I have the latest versions of Author and Mountain Lion installed on my iMac computer.
Thanks for your help!

If you just want an image, drag it to the page. If you want to incorporate image_s into a Widget, use the Gallery or Interactive or Keynote (slideshow) widgets.
Otherwise, for a single image, I believe that is how the media widget works.

Similar Messages

  • I have forgotten my restrictions passcode and i dont want to lose any media on my iphone, or any apps, i am scared to back up my media for restore in future as these photos and videos mean a great deal to me, is there any way i could get around it? Thanks

    I have forgotten my restrictions passcode and i dont want to lose any media on my iphone, or any apps, i am scared to back up my media for restore in future as these photos and videos mean a great deal to me, is there any way i could get around it? Thankyou if you can help; oh and last time i restored my iphone it didnt restore ALL the media only some and very improtant photos went missing :(

    All media and apps on the device should already be in iTunes on the computer.
    If you have forgotten the restrictions passcode, the ONLY option is to restore as new.
    Then sync back any media, apps, contacts, etc back to the device.
    You can not restore from backup as the restrictions passcode is included in the backup.

  • I want to create an external video widget with iAd. I followed the steps and copied the Url and paste it in the Video pop-up menu in the Properties section of the inspector. When i select 'preview' the video doesn't play and the Url that i pasted is gone.

    i want to create an external video widget with iAd to use in an iBook. I followed the steps and copied the Url and paste it in the Video pop-up menu in the Properties section of the inspector. When i select 'preview' the video doesn't play and the Url that i pasted is gone.
    hope someone can help!

    May have something to do with whether or not the URL can be reached while building your widget.  I've got a video on the web. When I enter the URL into the field for the video object and click to another field,  the URL is replaced with some text indicating that it is accessing the video then updates itself to displaying just the name of the video file.
    It shows just fine in preview and I can see the full path to the video when I export the widget so it should work for you. 
    Is the video accessible from your Mac while you're laying out your widget?
    -Mark

  • Some photos not showing up in media selector

    A little puzzle.......
    I recently purchased an iPad with photo display in mind. The easiest way to get pictures from my iMac to the iPad is through iTunes. Works fine. I use a couple of smart albums to select only the highest ranked photos, and those albums I select in iTunes to sync.
    But then I found out some photos are missing. Looking at the numbers in the iTunes album browser this became obvious. For instance, a smart gallery containg 45 items would show up in iTunes with only 27 items. This problem is not limited to iTunes, as the media selector in Pages shows the same number.
    I first repaired the database and the permissions, to no avail. I then found out that changing the edited pictures in Aperture seemed to help. Now all my favorite pictures are .tiffs produced by NIK's plugins. Some of those I worked on a little in Aperture, f.i. cropping or altering the white balance somewhat. Those images are the ones missing in iTunes. I was able to add a missing picture to 'iTunes' by removing the adjustments (which off course I do not want to do).
    Unfortunately, this rule has an exception (like any rule in life, expect in computing) with a smart gallery full of cropped NIK files. So I am still a little lost as to exactly where the problem lies. Anyone have similar experiences?

    One thing you may want to check:
    iTunes can only sync images that have previews. Do your NIK-edited images have previews? If not, you may want force the creation of new previews for these images. Select the image versions in question and ctrl-click, hold down the ⌥-key, and select "Generate Preview(s).
    Then relaunch iTunes and try to sync again.
    Regards
    Léonie

  • Album photo/video widget not supported by Other launchers?

    Hi,
    I seemed to notice that the album photo/video widget is not supported by other launchers(e.g. I use Nova Launcher). Walkman widget recently was supported and I can add the widget even I use other launcher(this was not possible before in JB 4.1.2). Does anyone have any idea on this issue or is this a valid concern or not?
    Thank you!

    It's currently not possible to use our photos and videos widget on a 3:rd party launcher. We added this for Walkman with the latest update for the Walkman app but i don't know when/if it will be supported by Album.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • Webapp to create html widgets (videos, maps, ...)

    Hi,
    I have started a little project, iBook Generator, to easily create all sorts of html widgets, ready to use in iBooks Author.
    Currently, you can create a widget to embed Youtube or Vimeo videos in one click, but I'm working on a lot more generator.
    I'd love to hear from you, if you're interested.
    You can try it here : http://ibooksgenerator.com

    Not sure if I can do this but I would like to see a widget to jump from one section or chapter to another section or chapter in the book. The widge would be a button or image button.

  • Hidden items get displayed on photo and video widget

    Why hidden items are displayed in photo and video widget on home screen it should not be displayed their???plz suggest me how to hide from their..

    To change between Video, Photo and Square you slide those options up/down so that the one that you want lines up with the yellow dot to their left - or you can drag the screen up/down to switch between them

  • Best Setting to Create Video in LR

    First I am talking about creating a video from still Raw photos in LR.   Actually two different topics;
    (1) Issue with MP4 - I an new to all the settings, formats to do this.  I created an MP4 1080p with music and it worked well on Win7 OS but not on XP or Vista... The audio did not play correctly.      I might be able to live with this but I would like to know if creating 1080p or 720p would resolve the audio issue? at a trade off in quality? ... I a real newbie in this area...     The videos from stills that I have seen were not good quality but this created great quality.
    (2) A different question --- What format/setting in LR to create a DVD with audio that could be played in a non Blu Ray unit... I want to be able to use a large TV with a DVD player.....    Do I use the create Video or do I create a Slide Show with audio and what setting...   I know I need to do some reading...    I am a bit under the gun to get processing results and since I have so many photos, they will be good for this type of thing vs. delivering just normal JPEG images.
    Thank you.

    As far as playing video files on different OS's this is more dependent on the player you are using and the video card, than the OS you are using. On windows systems windows media player should handle HD formats as long as your video card is up to it, if you have problems download VLC media player (just google it) as this will play anything you throw at it.
    LR's video output is very limited (and in my view a waste of time), if you really want to incorporate still images into a video format you would be better using a video editing application rather than LR's output. For the best quality slideshow from still images you would also be better either showing slideshows directly using LR itself or using PDF's as even HD video will comes nowhere near matching the quality of a still photographic image. If you wish to mix still and moving images then I would crop and export the images as 8 bit tiffs and import them into the video editing application where you can have much more control. On Macs i-movie is pretty good for basic video editing. Unfortunately on windows you will really have to buy an application as the free windows application is useless. Premier Elements is a pretty good choice.
    If you do wish to use video exported directly from LR the HD setting are 1080p or 720p and this would require a Blue Ray disk to play correctly. The HD 1080p gives a 16:9 format with a max width of 1920pxs, 720p is 1280 x 720pxs . To make a standard DVD you use the 720 x 440 output (rather than the two HD formats) and then you would require a DVD creation application to actually burn the DVD.
    By the way, I have an a couple of tests on the HD output as a slideshow from LR compared with using Premier Elements. I will post these to Vimeo and put links once they are showing. One point emerges straight away, even without sound the same slideshow is 20% larger from LR than outputted from Elements using Vimeo's recommended compression settings in both cases. Played on my machine directly the Elements version also looks better, whether this will also show on line I don't know until they have uploaded and rendered.
    Here is the version from LR...play at full screen and you will see the problems.
    Here is the version made in Premier Elements, which is far better (and a smaller file).

  • Adobe Muse using HTML 5 Video Widget

    I need to create a private page for my Distributor... and I need to create videos that will play from my server... not from YouTube or DailyMotion... just need to embed a video from assets manager... don't know why it's not working.  I bought the MuseTheme video Widget... I add assets/The Centurion.mp4 to the the html5 widgets but the video still doesn't show up on the browser when I preview it.  Is there something that I am doing wrong? 
    Don't get it why it's not working... I followed as many turtorials as possible...
    Could use some wisdom from someone on this...
    Peace

    Could you please try publishing the Muse project to a test BC site and check how it works?

  • Is there a way to link or create a widget that links back to the iTunes U app on your iPad from your iBook?

    Is there a way to link or create a widget that links back to the iTunes U app on your iPad from your iBook?
    I have already found the Apple Widget Builder (http://widgets.itunes.apple.com/builder/) and that works fine if you want to link to the "App Store", but I want to know if there is a way to "open an app" that is already installed on the iPad instead of double tapping the home button to switch between apps. (I know using the home button is very simple, but I am trying to find an even easier way to just "tap a widget" or "link" that will open iTunes U right up) I am only asking if this is possible for people who may have a hard time running an iPad at the beginning.
    I appreciate any help, thanks!

    I appreciate your help, but I had already looked at LinkMaker and I thought that was my answer, but as far as I could tell that still only links to an app in the app store. Yes it will link to iTunes U in the app store and you can then hit Open, but that is too drawn out of a process. We would like to know a way to just open the app directly.
    Thank you!

  • Can I print book with text blocks instead of photos?

    I have spent all day creating a book to print which included a photo on front, poems in place of photos on all pages (which I'd previously made into jpgs by creating layers in photoshop). I get to the ordering stage and I get an error window saying:
    DEFAULT TEXT: your book appears to have default text that has not yet been edited. Printed books will not include this text. Do you want to continue with your order?
    SO what does the above mean exactly?
    And is it not possible to print text pages instead of photos?
    Iphoto doesn't appear to give an open to type text on each page, but maybe iphoto 6 (iLife) does???
    And how come it's not possible to ship my order internationally?
    Thank you in advance for your help in answering my questions

    I haven't printed out an iPhoto book myself, but the message you are getting seems to indicate that you did not fill in some parts of page templates. If so, then those parts will print blank even though iPhoto shows them containing default text. You probably wanted them blank anyway, though.
    As for using iPhoto to print out a book with only one picture, that is probably doing things the hard way. If you want to print a book of text, there are now web options to do so costing about the same as an iPhono book. I don't think iPhoto is going to add templates sson for non-photo books.
    As for overseas shipping, that is probably an issue of duties and shipping costs. Many US sellers on the Web will ship only to the US or perhaps Canada.

  • I can't export my video which contains only photos, sound tracks nor play it in fullscreen iMovie it shuts down. And now my whole file won't open at all it'll open with nothing inside ??

    I can't export my video which contains only photos, sound tracks nor play it in fullscreen iMovie it shuts down. And now my whole file won't open at all it'll open with nothing inside ??

    I also have Jolly's problem. I found the iMovie 9.0.9 folder and tried to launch the older version of iMove. It would not launch. I removed all of the iMovie preferences from the Preferences folder, removed iMove 10 from the applications folder, and restarted my Mac. iMove 9.0.9 still won't launch and I can't access my videos created with the older version of iMovie. Is there a way to uninstall iMovie 10 and reinstall iMovie 9.0.9?
    I am running Yosemitie on a  iMac.
    Paul

  • Exclamation mark appears instead of photo. Recently upgraded from i mac to Macbook air and all was transferred over. I have run all the repair and rebuild functions in iphoto. Any other solution?

    Exclamation mark appears instead of photo. Recently upgraded from i mac to Macbook air and all was transferred over. I have run all the repair and rebuild functions in iphoto. Any other solution?

    Since iPLM failed to help try the following:
    Starting over from scratch with new library
    Start over with a new library and import the Originals (iPhoto 09 and earlier) or the Masters (iPhoto 11) folder from your original library as follows:
    1. Open the library package like this.
    2. Launch iPhoto with the Option key held down and, when asked, select the option to create a new library.
    3. Drag the subfolders of the Originals (iPhoto 09 and earlier) or the Masters (iPhoto 11) folder from the open iPhoto Library package into the open iPhoto window a few at a time.
    This will create a new library with the same Events (but not necessarily the same Event names) as the original library but will not keep the metadata, albums, books slideshows and other projects.
    Note:  your current library will be left untouched for further attempts at a fix if so desired.
    OT

  • Getting junk letters instead of photo in an email.

    hi all
    i am trying to send an email via gmail.com i am able to send an email but when i try to
    send attachment so i am getting strange texts instead of photo
    its not displaying photo but there is different format text is displaying in my box.
    here is the result.
    also getting this error but i am able to send email.
    ERROR at line 1:
    ORA-20000: Failed to send mail due to the
    following error: ORA-29277: invalid SMTP operation
    ORA-06512: at "MAIL.MAHI", line 159
    ORA-06512: at line 2===============================================
    --BACKUP.SECBOUNDContent-
    Type: application/octet-streamContent-Disposition:
    attachment; filename="g.gif"Content-Transfer-Encoding: base64
    Qk2O5QgAAAAAADYAAAAoAAAAwgIAABMBAAABABgAAAAA
    AFjlCAAAAAAAAAAAAAAAAAAAAAAAhNWuhNWuhNWuhNWu
    hNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuh
    NWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNW
    uhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhN
    WuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuh
    NWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWu
    hNWuhNWuhNWuhNWuhNWuhNWuhNWuhN
    WuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuh
    NWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNW
    uhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhN
    WuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNand here the link which is i followed to use with my codes....
    Re: Sending UTL_SMTP mail with single jpg attachment issue
    create or replace package body Mahi
           is
              -- Write a MIME header
              procedure write_mime_header (
                  p_conn in out nocopy utl_smtp.connection
               , p_name in varchar2
                , p_value in varchar2
               is
              begin
                utl_smtp.write_data ( p_conn
                                     , p_name || ': ' || p_value || utl_tcp.crlf
             end;
             procedure mail (
                p_sender in varchar2
              , p_recipient in varchar2
               , p_subject in varchar2
               , p_message in varchar2
              is
                l_conn           utl_smtp.connection;
                nls_charset    varchar2(255);
               v_src_loc  BFILE := BFILENAME('BACKUP', 'Logon.jpg');
               --v_src_loc BLOB;
          l_buffer   RAW(54);
          l_amount   BINARY_INTEGER := 54;
          l_pos      INTEGER := 1;
          l_blob     BLOB := EMPTY_BLOB;
          l_blob_len INTEGER;
         v_amount   INTEGER;
                  v_fname VARCHAR2(50);
         CURSOR img_cur IS SELECT photo_name,photo
      FROM temp_photo;
        --crlf  varchar2(2) := chr(10)||chr(13);
    PROCEDURE send_header(pi_name IN VARCHAR2, pi_header IN VARCHAR2) AS
       BEGIN
          UTL_SMTP.WRITE_DATA(l_conn,
                              pi_name || ': ' || pi_header || UTL_TCP.CRLF);
       END;
             begin
                -- get characterset
                select value
                into   nls_charset
                from   nls_database_parameters
                where  parameter = 'NLS_CHARACTERSET';
                select
                photo into v_src_loc from
                temp_photo
                where id=1;
                DBMS_LOB.OPEN(v_src_loc, DBMS_LOB.LOB_READONLY); --Read the file
         DBMS_LOB.CREATETEMPORARY(l_blob, TRUE); --Create temporary LOB to store the file.
         v_amount := DBMS_LOB.GETLENGTH(v_src_loc); --Amount to store.
         DBMS_LOB.LOADFROMFILE(l_blob, v_src_loc, v_amount); -- Loading from file into temporary LOB
         --DBMS_LOB.COPY(l_blob, v_src_loc, v_amount);
         l_blob_len := DBMS_LOB.getlength(l_blob);
               -- establish connection and autheticate
               l_conn   := utl_smtp.open_connection (g_smtp_host, g_smtp_port);
                utl_smtp.ehlo(l_conn, g_smtp_domain);
                 utl_smtp.command(l_conn, 'auth login');
                 utl_smtp.command(l_conn,utl_encode.text_encode('[email protected]', nls_charset, 1));
                utl_smtp.command(l_conn, utl_encode.text_encode('xxxxx', nls_charset, 1));
                 -- set from/recipient
                  utl_smtp.command(l_conn, 'MAIL FROM: <'||p_sender||'>');
                 utl_smtp.command(l_conn, 'RCPT TO: <'||p_recipient||'>');
                -- write mime headers
                 utl_smtp.open_data (l_conn);
                 write_mime_header (l_conn, 'From', p_sender);
                write_mime_header (l_conn, 'To', p_recipient);
                write_mime_header (l_conn, 'Subject', p_subject);
                 write_mime_header (l_conn, 'Content-Type', 'text/plain; charset=us-ascii');
                 write_mime_header (l_conn, 'X-Mailer', g_mailer_id);
                 utl_smtp.write_data (l_conn, UTL_TCP.CRLF);
                 UTL_SMTP.WRITE_DATA(l_conn,
                             'MIME-Version: 1.0' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             'Content-Type: multipart/mixed; ' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             ' boundary= "' || 'BACKUP.SECBOUND' || '"' ||
                             UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn, UTL_TCP.CRLF);
                 -- write message body
                utl_smtp.write_data (l_conn, p_message);
                OPEN img_cur;
      LOOP
      FETCH img_cur INTO v_fname,l_blob;
    end loop;
    close img_cur;
                UTL_SMTP.WRITE_DATA(l_conn,
                             '--' || 'BACKUP.SECBOUND' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             'Content-Type: text/plain;' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             ' charset=US-ASCII' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn, UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,  p_message || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn, UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             '--' || 'BACKUP.SECBOUND' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             'Content-Type: application/octet-stream' ||
                             UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             'Content-Disposition: attachment; ' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             ' filename="' || 'gpg.jpg' || '"' || --My filename
                             UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             'Content-Transfer-Encoding: base64' || UTL_TCP.CRLF);
        UTL_SMTP.WRITE_DATA(l_conn, UTL_TCP.CRLF);
      /* Writing the BLOL in chunks */
        WHILE l_pos < l_blob_len LOOP
          DBMS_LOB.READ(l_blob, l_amount, l_pos, l_buffer);
          UTL_SMTP.write_raw_data(l_conn,
                                  UTL_ENCODE.BASE64_ENCODE(l_buffer));
          UTL_SMTP.WRITE_DATA(l_conn, UTL_TCP.CRLF);
           l_buffer := NULL;
           l_pos    := l_pos + l_amount;
         END LOOP;
         UTL_SMTP.WRITE_DATA(l_conn, UTL_TCP.CRLF);
        -- Close Email
        UTL_SMTP.WRITE_DATA(l_conn,
                             '--' || 'BACKUP.SECBOUND' || '--' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             UTL_TCP.CRLF || '.' || UTL_TCP.CRLF);
                             UTL_SMTP.CLOSE_DATA(l_conn);
                             utl_smtp.close_data (l_conn);
         UTL_SMTP.QUIT(l_conn);
         DBMS_LOB.FREETEMPORARY(l_blob);
         DBMS_LOB.FREETEMPORARY(l_blob);
         DBMS_LOB.FILECLOSE(v_src_loc);
                    -- end connection
                utl_smtp.quit (l_conn);
                        exception
                 when others
                 then
                   begin
                      utl_smtp.quit(l_conn);
                    exception
                      when others then
                       null;
                   end;
                   raise_application_error(-20000,'Failed to send mail due to the
    following error: ' || sqlerrm);
    DBMS_LOB.FREETEMPORARY(l_blob);
    DBMS_LOB.FREETEMPORARY(l_blob);
          DBMS_LOB.FILECLOSE(v_src_loc);
         raise;
             end;
          end;
          commit;Note:- i am using Stunnel,Oracle Database 11g R2 and OS is Linux...
    I installed Linux on virtualBox.
    please suggest me why i am getting strange text instead of photo?
    if my code is wrong plz correct for me..
    thanks in advance...
    Mehwish
    Student.
    Edited by: Mehwish on Apr 15, 2011 10:57 PM

    Your codes are very nice and easy to use but i am unlucky and i am not able to send  attachment
    before i was not able to send even junk  text of photo but after using u r code
    i am able to send that and i am near to solve my problem because of your nice guide and codes...
    create directory backup as  '/u01/dump';
    grant read,write on directory backup to mail,scott;
    and goes this instead of picture.
    Hi Meh --BACKUP.SECBOUNDContent-Type: application/octet-streamContent-Disposition:
    attachment; filename="gpg.jpg"Content-Transfer-Encoding: base64 /9j/4AAQ
    SkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAPgAA/+
    4ADkFkb2JlAGTAAAAAAf/bAIQABgQEBAQEBgQEBgkGBQYJCgcGBgcKCwkJCg
    kJCw8LDAwMDAsPDA0ODg4NDBERExMRERoZGRkaHR0dHR0dHR0dHQEGBwcMCw
    wWDw8WGRQQFBkdHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dH
    R0dHR0dHR0dHR0dHR0d/8AAEQgA+wG0AwERAAIRAQMRAf/EAKQAAAICAwEBAQ
    AAAAAAAAAAAAECAAMFBgcECAkBAQEAAwEBAQAAAAAAAAAAAAABAgMEBQYHE
    AABAwIEAwQGCAMFBgYDAAABAAIDEQQhMRIFQRMGUWEiB3GBoTJCFJGxwVJiI
    xUIkjMk0XKCokPh8cJT
    and i tried to use this code now.
    create or replace package body mahi
           is
              -- Write a MIME header
              procedure write_mime_header (
                  p_conn in out nocopy utl_smtp.connection
               , p_name in varchar2
                , p_value in varchar2
               is
              begin
                utl_smtp.write_data ( p_conn
                                     , p_name || ': ' || p_value || utl_tcp.crlf
             end;
             procedure mail (
                p_sender in varchar2
              , p_recipient in varchar2
               , p_subject in varchar2
               , p_message in varchar2
              is
                l_conn           utl_smtp.connection;
                nls_charset    varchar2(255);
               v_src_loc  BFILE := BFILENAME('BACKUP', 'Logon.jpg');
               --v_src_loc BLOB;
          l_buffer   RAW(54);
          l_amount   BINARY_INTEGER := 54;
          l_pos      INTEGER := 1;
          l_blob     BLOB := EMPTY_BLOB;
          l_blob_len INTEGER;
         v_amount   INTEGER;
                  v_fname VARCHAR2(50);
        --crlf  varchar2(2) := chr(10)||chr(13);
    PROCEDURE send_header(pi_name IN VARCHAR2, pi_header IN VARCHAR2) AS
       BEGIN
          UTL_SMTP.WRITE_DATA(l_conn,
                              pi_name || ': ' || pi_header || UTL_TCP.CRLF);
       END;
             begin
                -- get characterset
                select value
                into   nls_charset
                from   nls_database_parameters
                where  parameter = 'NLS_CHARACTERSET';
                select
                photo into v_src_loc from
                temp_photo
                where id=1;
                DBMS_LOB.OPEN(v_src_loc, DBMS_LOB.LOB_READONLY); --Read the file
         DBMS_LOB.CREATETEMPORARY(l_blob, TRUE); --Create temporary LOB to store the file.
         v_amount := DBMS_LOB.GETLENGTH(v_src_loc); --Amount to store.
         DBMS_LOB.LOADFROMFILE(l_blob, v_src_loc, v_amount); -- Loading from file into temporary LOB
         --DBMS_LOB.COPY(l_blob, v_src_loc, v_amount);
         l_blob_len := DBMS_LOB.getlength(l_blob);
               -- establish connection and autheticate
               l_conn   := utl_smtp.open_connection (g_smtp_host, g_smtp_port);
                utl_smtp.ehlo(l_conn, g_smtp_domain);
                 utl_smtp.command(l_conn, 'auth login');
                 utl_smtp.command(l_conn,utl_encode.text_encode('[email protected]', nls_charset, 1));
                utl_smtp.command(l_conn, utl_encode.text_encode('xxxxx', nls_charset, 1));
                 -- set from/recipient
                  utl_smtp.command(l_conn, 'MAIL FROM: <'||p_sender||'>');
                 utl_smtp.command(l_conn, 'RCPT TO: <'||p_recipient||'>');
                -- write mime headers
                 utl_smtp.open_data (l_conn);
                 write_mime_header (l_conn, 'From', p_sender);
                write_mime_header (l_conn, 'To', p_recipient);
                write_mime_header (l_conn, 'Subject', p_subject);
                 write_mime_header (l_conn, 'Content-Type', 'text/plain; charset=us-ascii');
                 write_mime_header (l_conn, 'X-Mailer', g_mailer_id);
                 utl_smtp.write_data (l_conn, UTL_TCP.CRLF);
                 UTL_SMTP.WRITE_DATA(l_conn,
                             'MIME-Version: 1.0' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             'Content-Type: multipart/mixed; ' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             ' boundary= "' || 'BACKUP.SECBOUND' || '"' ||
                             UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn, UTL_TCP.CRLF);
                 -- write message body
                utl_smtp.write_data (l_conn, p_message);
                UTL_SMTP.WRITE_DATA(l_conn,
                             '--' || 'BACKUP.SECBOUND' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             'Content-Type: text/plain;' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             ' charset=US-ASCII' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn, UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,  p_message || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn, UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             '--' || 'BACKUP.SECBOUND' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             'Content-Type: application/octet-stream' ||
                             UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             'Content-Disposition: attachment; ' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             ' filename="' || 'gpg.jpg' || '"' || --My filename
                             UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             'Content-Transfer-Encoding: base64' || UTL_TCP.CRLF);
        UTL_SMTP.WRITE_DATA(l_conn, UTL_TCP.CRLF);
      /* Writing the BLOL in chunks */
        WHILE l_pos < l_blob_len LOOP
          DBMS_LOB.READ(l_blob, l_amount, l_pos, l_buffer);
          UTL_SMTP.write_raw_data(l_conn,
                                  UTL_ENCODE.BASE64_ENCODE(l_buffer));
          UTL_SMTP.WRITE_DATA(l_conn, UTL_TCP.CRLF);
           l_buffer := NULL;
           l_pos    := l_pos + l_amount;
         END LOOP;
         UTL_SMTP.WRITE_DATA(l_conn, UTL_TCP.CRLF);
        -- Close Email
        UTL_SMTP.WRITE_DATA(l_conn,
                             '--' || 'BACKUP.SECBOUND' || '--' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             UTL_TCP.CRLF || '.' || UTL_TCP.CRLF);
                             UTL_SMTP.CLOSE_DATA(l_conn);
                             utl_smtp.close_data (l_conn);
         UTL_SMTP.QUIT(l_conn);
         DBMS_LOB.FREETEMPORARY(l_blob);
         DBMS_LOB.FREETEMPORARY(l_blob);
         DBMS_LOB.FILECLOSE(v_src_loc);
                    -- end connection
                utl_smtp.quit (l_conn);
                        exception
                 when others
                 then
                   begin
                      utl_smtp.quit(l_conn);
                    exception
                      when others then
                       null;
                   end;
                   raise_application_error(-20000,'Failed to send mail due to the
    following error: ' || sqlerrm);
    DBMS_LOB.FREETEMPORARY(l_blob);
    DBMS_LOB.FREETEMPORARY(l_blob);
          DBMS_LOB.FILECLOSE(v_src_loc);
         raise;
             end;
          end;
          Note:- i m using stunnel and sending email via gmail and my OS is linux and oracle database 11g R2.
    i posted already in my previous post.
    is tthere any format problem?
    and also i am getting this error but i am able to send email which is getting properly in inbox.
    ERROR at line 1:
    ORA-20000: Failed to send mail due to the
    following error: ORA-29277: invalid SMTP operation
    ORA-06512: at "MAIL.Mahi", line 151
    ORA-06512: at line 2

  • Timestamp of videos not consistent with photos - appear out of order - bug or user error?

    We just returned from Hawaii and, of course, we have a mix of photos and videos.  However, subsequent photos and videos taken about the same time, which should have timestamps minutes apart, have timestamps that differ by 4 hours.  As I dig into this deeper, it seems all the videos have timestamps 4 hours from what they should be(my view).  At a minimum, I believe the photo and video timestamp should be set per a consistent definition.
    I am determining this after I imported the pictures into iPhoto.  I have done the import several times and the results are consisent.
    Example:
    IMG_0233.JPG - April 6, 2013 6:14:46 PM
    IMG_0234.MOV - April 6, 2013 11:15:08 PM <----This should be 6:15:46 PM
    Tried to verify the timestamp of the video and photo while the picture is on the iPhone…had to buy iPhoto for IOS for $5. The photo timestamp is the same as stated in iPhoto(IOW, IMG_0233.JPG is 6:14), but the video timestamp is just April 6, 2013…no exact time. Guess I wasted $5.
    Computer Data:Mac Mini 2.3Ghz Intel Core i5 - 8GB Memory - OS X 10.8.3
    Iphoto 11 9.4.3
    Phone Data:
    iPhone 5
    iOS 6.1.3
    Date & Time preference:  'Set Automatically'=ON
    Travel Timezone where pics taken: Hawaii - GMT-10
    Home Timezone: Chicago - normally GMT-6(4 hour difference from Hawaii), but right now Chicago is GMT-5 due to daylight savings.
    My theory is that there is a bug that sets the video timestamp to the 'home timezone', potentially only when 'automatic timezone is set.
    This seems easily fixed by doing a batch change to adjust the timestamp on all videos
    Any other explanations?  I am hoping I am doing something wrong.

    2 things...
    1) my opening paragraph says 4 hours, but it should be 5. DOH
    2) i just imported a bunch of pictures and videos from an android phone.  Same issues.  The Android photos seem to be perfectly aligned with the photos from the iphone 5, but the videos are 5 hours off the mark(later).  Of course, I want to view the pictures with the time in Hawaii, not Central Time, so the videos are definitely in the wrong from an intuitive standpoint...as I see it.
    2013-04-09 11.14.25.jpg - Taken at 11:14am in Hawaii.  This data is per the file as it sits in dropbox and viewed by my mac mini Finder.  Android puts the file on drop box from the phone, and I imported to iphoto from dropbox.  Despite the filename indicating 11:14am, finder says the file was created at 4:14pm.  However, iPhoto, correctly puts a timestamp of 11:14am and picture is where I expect it from a time standpoint at 11:14am.
    2013-04-09 11.15.05.mp4 - Taken at 11:15am in Hawaii.  This was imported into iPhoto via dropbox at the same time, but it is showing up in iPhoto at 4:15pm, throwing off the sorting.
    So, now I believe I have an iPhoto issue and probably brought this question to the wrong forum?
    I have fixed the problem by doing a 'adjust time and date' to all videos, both from iphone and android, to be 5 hours earlier in time.  Now everything lines up, but I am scratching my head why this isn't done consisently between photo and video in iPhoto, and why I have not run into this before.....

Maybe you are looking for

  • Iphone 4 is no longer recognized by my computer

    My iphone 4 isn't recognized by my computer.  When plugging it in, a message on PC states that my phone can't be used due to software not being installed.  It then prompts for a reinstallation of itunes to correct.  However, this doesn't resolve the

  • Not able toView Data in Answers

    Hi, I created small Repository sai.rpd but when i logon to the answers i am un able to see the data. i am getting the below error Odbc driver returned an error (SQLExecDirectW). Error Details Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P State: HY000. Code

  • Automatic GR/IR Account Clearing using F.13

    Hi, I want to clear the GR/IR Clearing account using automatic functionality(T.Code-F.13). If the Dr and Cr amounts are ZERO and matches with reference to purchase order in GR/IR clearing account those items i want to clear using F.13(Automatic Clear

  • Where is pixel bender directory used by Photoshop CS5.1 (from Creative Suite 5.5 Web Premium)?

    CS5.1 does not appear to use the Pixel Bender Files directory in the Adobe Directory.  If I add a new pixel bender filter (.pbx) to the other filters in that directory, it does not show up in the Pixel Bender Filters Gallery from within Photoshop.  A

  • "Alert : Text contains formatting (see detail screen) "

    Hi everyone! In my service desk transaction monitor, when i click on one particular transaction (this problem doesnt exist with other transactions), it opens up flagging a message "Text contains formatting (see detail screen)". [Message no. COM_TEXT2