Camera strangly rotated in HTML article file input

Hi guys,
I encountered strange behaviour of camera invoked from html input[type=file] element in html article.
When iPad is in portrait position, camera works as expected, but when iPad is rotated to horizontal position
camera interface and preview are rotated 90 degree clockwise. Even if i rotate iPad to match its orientation to Interface
preview stays rotated.
Is there a way to fix this issue?
Below screenshots to better ilustrate problem.
iPad handled in horizontal position - Camera interface and preview are rotated 90deg
iPad handled in portrait position - Camera interface is ok, but preview is rotated 90deg
Piotr

I have done a little more research on this...
As it turns out, my camera is a Pentax K100D Super - not a K100D. The K100D Super is not listed as one of the supported camera RAW formats in the aforementioned article. So I guess this means that my camera is as yet unsupported. Sigh...

Similar Messages

  • HTML Article put together dynamically, scroll only possible after orientation change

    Hi guys,
    i have encountered the following problem today:
    im having a HTML page put together dynamically from a JSON source file, handling the JSON information with jQuery. i am uploading said HTML page (html page is empty until the page is in the DPS stack, then it builds itself) as an HTML article with "Smooth Scrolling: Vertical". So far, so good.
    When i open the page inside the Adobe Viewer App on my iPad, i can see the "first" part of the page (the first 1024px in portrait-orientation) but i am not able to scroll further down the page.
    however, when i do a orientation change of the device (turn it landscape and then back), i can scroll perfectly fine and am able to see everything on the page (so im quite sure the conversion from json to jquery to html does work). even stranger, when i let the page tell me its height ( via $("body").height() and $(document).height() ) it shows me, that the height of the page is indeed (e.g.) 10.000px, but i am not able to scroll down until i do the orientation change.
    am i missing something? im pretty sure that my code is correct, because once i change the orientation of my device, everything does work flawless.
    i hope my problem is understandable, any help is much appreciated.
    thanks
    Max

    Nevermind... since the HTML is empty, when the magazin gets opened, i suspect the HTML tells DPS "hey, my height is 0px, dont bother scrolling!". but once i am on the page itself and the process of bulding the page starts (HTML elements are added on the fly), it doesnt tell DPS "hey, my height changed, check if i need to be scrollable please" since im not able to scroll. when im changing orientation, it forces DPS to rerender the page and thus getting the correct height of the page.
    my workaround: setting the body height to (e.g.) 20.000px and then, later on, reduce it to the actual height needed by the HTML elements.
    but still: can someone explain me the process of loading / rendering pages inside DPS? when do DPS render pages, does it render pages the first time i open the app and then again when im on the page itself (or rather a page before the actual page?) is there a command to force DPS to rerender the page?

  • Orientation error with HTML article

    Hello,
    I have a single orientation folio with 13 articles :
    - 12 InDesign articles
    - 1 HTML article
    Each file has an _h suffixe, but I can't publish the folio because one article has a wrong orientation.
    When I remove the HTML article from the folio, I can publish it. The problem comes from the HTML article.
    One strange thing is the thumbail of the HTML file (see screenshots).
    I'm using the latest tools available (1.11) and the latest folio panel (12.2.4) with Adobe CS5 on Mac OSX 10.7.4
    Any idea ?
    Thanks for your help

    Yes, the HTML filename ends by _h.html
    I can open the file in a browser and it works (tested in Safari, Chrome & Firefox). I can also edit it.
    The HTML file is in its own folder and is alone.
    On the same level of its parent folder, I have folder named HTMLResources that contains some images.
    The folder is then zipped and added to the folio with the folio panel.
    If I move the resources in the folder of the HTML file (and that I update the path to resources), the problem remains.

  • My daughter deleted camera shutter.caf and another wav file named camera

    when I open photobooth or any other app that used to use to built-in camera (i.e skype) I get msg saying no camera found. I looked in trash and found 2 files one called camera shutter.caf and another wav file names camera. I guess my daughter deleted these files by mistake:(
    I'm not sure how to restore the camera to work as before.
    i have a new imac

    nirush wrote:
    when I open photobooth or any other app that used to use to built-in camera (i.e skype) I get msg saying no camera found. I looked in trash and found 2 files one called camera shutter.caf and another wav file names camera. I guess my daughter deleted these files by mistake:(
    I'm not sure how to restore the camera to work as before.
    i have a new imac
    Welcome to Discussions, nirush
    (1) If you have made a backup of your Mac's hard drive, you can restore your Mac from the latest working backup. Time Machine is particularly simple to use for this sort of thing, but clones or other backup methods can work, too:
      http://docs.info.apple.com/article.html?path=Mac/10.6/en/9052.html
    (2) If your iMac is so new that you have not ever backed it up, now would be a good time to get an external drive so you can start a regular backup routine as soon as you get your Mac working again. Your retailer can help you select one that is good for your system and the way you use it.
    (3) Troubleshoot your iSight as suggested in http://support.apple.com/kb/HT2090
    If your Apple apps work when you troubleshoot and your only iSight problem in any user account is with Skype, you only need to reinstall the Skype app.
    However, if your iSight does not work with Apple apps either (examples: QuickTimeX and iMovie) in any user account you test, the easiest thing to do is to reinstalling the software that came with your iMac. After reinstalling your Apple software, iSight should work with the Apple apps. If you need help reinstalling your Apple software, see the User Guide manual that came with your iMac.
    If Skype still does not work after reinstalling the Apple software, you will need to reinstall Skype, too.
    Message was edited by: EZ Jim
    Mac Pro Quad Core (Early 2009) 2.93Ghz w/Mac OS X (10.6.4)  MacBook Pro (13 inch, Mid 2009) 2.26GHz (10.6.4)
    LED Cinema Display  G4 PowerBook  1.67GHz (10.4.11)  iBookSE 366MHz (10.3.9)  External iSight

  • Passing request of file input type to a jsp

    Hi i m using this script for file uploading the form is.... <html > <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <form action="uploadscript.jsp" name="filesForm" enctype="multipart/form-data" method="post">
    Please specify a file, or a set of files:
    <input type="file" name="userfile_parent" value="userfile_parent" >
    <input type="submit" value="submit" value="Send">
    </form> </body> </html> And i am tring to get the url on uploadscript.jsp by using String parentPath=request.getParameter("userfile_parent"); but i foud that its value is NULL it is not working what should i do to get the userfile_parent on uploadscript.jsp help me!!! Message was edited by: UDAY Message was edited by: UDAY
    avajain      
    Posts: 135
    From: Noida , India
    Registered: 5/10/06
    Read      Re: Passing response but getting NULL
    Posted: Sep 20, 2006 2:43 AM in response to: UDAY in response to: UDAY      
         Click to reply to this thread      Reply
    Use method="GET" in place of method="post" .
    Thanks
    UDAY      
    Posts: 26
    From: JAIPUR
    Registered: 8/14/06
    Read      Re: Passing response but getting NULL
    Posted: Sep 20, 2006 3:18 AM in response to: avajain in response to: avajain      
    Click to edit this message...           Click to reply to this thread      Reply
    now it is giving this error message by e.getMessage()
    [br]the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is null
    the uploadscript is this....
    http://www.one.esmartstudent.com
    can u please help me.

    Here is sample code which we have used in one of our projects with org.apache.commons.fileupload.*.
    You can find String fullName = (String) formValues.get("FULLNAMES"); at the end that gives name of file.
    <%@ page import="java.util.*"%>
    <%@ page import="java.util.List"%>
    <%@ page import="java.util.Iterator"%>
    <%@ page import="java.io.File"%>
    <%@ page import="java.io.*"%>
    <%@ page import="org.apache.commons.fileupload.*"%>
    <%@ page import="org.apache.commons.fileupload.disk.*"%>
    <%@ page import="org.apache.commons.fileupload.servlet.*"%>
    <%!     
         //method to return file extension
         String getFileExt(String xPath){ 
                   //Find extension
                   int dotindex = 0;     //extension character position
                   dotindex = xPath.lastIndexOf('.');
                   if (dotindex == -1){     // no extension      
                        return "";
                   int slashindex = 0;     //seperator character position
                   slashindex = Math.max(xPath.lastIndexOf('/'),xPath.lastIndexOf('\\'));
                   if (slashindex == -1){     // no seperator characters in string 
                        return xPath.substring(dotindex);
                   if (dotindex < slashindex){     //check last "." character is not before last seperator 
                        return "";
                   return xPath.substring(dotindex);
    %>
    <%           
    Map formValues = new HashMap();
    String fileName = "";
    boolean uploaded = false;
         // Check that we have a file upload request
         boolean isMultipart = FileUpload.isMultipartContent(request);
         //Create variables for path, filename and extension
         String newFilePath = CoeResourceBundle.getEmailProperties("FILE_UPLOAD_PATH");//application.getRealPath("/")+"temp";
         String newFileName ="";
         String FileExt = "";      
         //System.out.println(" newFilePath"+newFilePath+"/");
         //out.println(" newFilePath"+newFilePath+"<br>");
         // Create a factory for disk-based file items
         FileItemFactory factory = new DiskFileItemFactory();
         // Create a new file upload handler
         ServletFileUpload upload = new ServletFileUpload(factory);
         // Parse the request
         List /* FileItem */ items = upload.parseRequest(request);
         // System.out.println(" newFilePath"+newFilePath+"/");
         // Process the uploaded items
         Iterator iter = items.iterator();
         //Form fields
         while (iter.hasNext()) { 
         //System.out.println("in iterator");
              FileItem item = (FileItem) iter.next();
              if (item.isFormField()) { 
                   String name = item.getFieldName();
                   String value = item.getString();
                   if (name.equals("newFileName")) { 
                        newFileName = value;
                   //System.out.println("LOADING");
                   formValues.put(name,value);
              else { 
              //System.out.println("in iterator----");
                   String fieldName = item.getFieldName();
                   fileName = item.getName();
                   int index = fileName.lastIndexOf("\\");
              if(index != -1)
                        fileName = fileName.substring(index + 1);
              else
                        fileName = fileName;
                   FileExt = getFileExt(fileName);
                   String contentType = item.getContentType();
                   boolean isInMemory = item.isInMemory();
                   long sizeInBytes = item.getSize();
                   if (fileName.equals("") || sizeInBytes==0){ 
                        out.println("Not a valid file.<br>No upload attempted.<br><br>");
                   } else { 
                   // out.println("ACTUAL fileName= " newFilePath"\\"+fileName+ "<br>");
                        //File uploadedFile = new File(newFilePath+"\\", newFileName+FileExt);
                        File uploadedFile = new File(newFilePath+"/",fileName);
                        File oldFile = new File(CoeResourceBundle.getEmailProperties("FILE_UPLOAD_PATH")+"/"+fileName);
                        File oldFileApproved = new File(CoeResourceBundle.getEmailProperties("APPROVED_FILE_LOCATION")+"/"+fileName);
                        try{ 
                             if (!oldFile.exists()&&!oldFileApproved.exists())
                                  item.write(uploadedFile);
                                  uploaded = true;
                             //out.println(fileName+" was successfully uploaded as "+ newFileName+FileExt +".<br><br>");
                        catch (java.lang.Exception e) { 
                             out.println("Errors prevented the file upload.<br>"+fileName+ " was not uploaded.<br><br>");
         String userid = (String) formValues.get("USERID");
         String fullName = (String) formValues.get("FULLNAMES");
         String email = (String) formValues.get("EMAILID");
         String empno = (String) formValues.get("EMPNO");
         String docType = (String) formValues.get("DOCTYPE");
         String desc = (String) formValues.get("MYTEXT");
         String title = (String) formValues.get("TITLEBOX");
         String module = (String) formValues.get("MODULE");
         String techfunctype = (String) formValues.get("TECHFUNCTYPE");
    %>

  • How to get file input stream from the client machine by JSF Fileupload API?

    Dear Friends,
    How to get the file input stream from the client machine by JSF HtmlFileupload or fileupload API. At present, if i execute the file upload code in the client machine, it is able to get the local path of the file and looking for the file in server machine. So i am getting FileNotFoundException.
    E.g., If a file is located at client machine at following location means "C:\Test\Test.txt",
    uploadClass.getFileuploadComponent().getFilename().toString() returns "C:\Test\Test.txt". But it is looking for that file in server and throwing FileNotFoundException.
    Please post your replies soon.
    Thanks,
    JP

    Depends on which version of JSF you're using. If JSF 1.2, I wouldn't even bother trying to hack this into JSF itself unless you can use something like Seam 2 or richfaces.
    http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/rich_fileUpload.html
    http://docs.jboss.org/seam/2.2.1.CR3/reference/en-US/html/controls.html#d0e29259 (look for s:fileUpload)
    But if I were you, a simple non-jsf form with a servlet works best for taking file uploads.
    As for JSF 2.0, there are other ways of getting it done.
    http://balusc.blogspot.com/2009/12/uploading-files-with-jsf-20-and-servlet.html

  • How to get multiple html output file  from an xml document via xslt?

    Hi,
    the purpose is to generate multiple html output file from one xml file
    depending on special tag.
    exp: i have an xml file which contains sevreral articles so how to get each article section in an independant html file
    Thanks for help

    Not a standard feature of XSLT. But Michael Kay's XSLT implementation, SAXON, provides that as an extension. Get it here:
    http://saxon.sourceforge.net/

  • Scrubber Thumbnails for HTML Articles - How Do You Get them to Actually Appear?!?!?

    Hi Gang,
    My apologies if I asked this last month, but it's really driving me nuts.
    The cover of our magazine is an HTML article, and it appears as a blank screen in both the TOC and BROWSE modes. The former is easy to fix by simply creating a thumb image and inserting it via Indesign or the Folio Producer. It's the browse mode that is the conundrum. I've followed the following instructions provided by ADOBE and updated my HTML article but to no avail.
    Creating scrubber thumbnails for HTML articles
    For InDesign articles, the viewer automatically generates the thumbnails that appear when you drag the scrubber. However, generating thumbnails for HTML articles takes more time, sometimes resulting in poorly rendered thumbnails. To improve thumbnail performance in HTML articles, you can manually add image files to the HTML article folders.
    Create png files that are named "scrubberthumbnail_h.png" and "scrubberthumbnail_v.png" (you can also use _l and _p suffixes). Add these files to the HTML article folder. There is no size restriction for these images, but note that they are scaled down proportionally to a height of 166 pixels. As a point of reference, when thumbnails are generated, landscape thumbnails are 221x166 pixels, and portrait thumbnails are 125x166 pixels.
    What am I doing wrong? My folio is portrait (vertical)-only and I put my .png filed named "scrubberthumbnail_v.png" in the parent directory (same level as the "cover_v.html" file targetted) of the HTML article. Should it be put somehwere else in the article folder?
    I'm hoping there is a simply solution.
    Thanks in advance!

    Thanks guys, but that doesn't address my problem. It's an HTML article, not a web content overlay.
    Yes, I know I could redo the cover within InDesign using a web content overlay spanning the entire 'page' and use a MSO as pointed out, but the cover starts off empty and then items begin to appear (ie) image and then the magazine title followed by the article titles. The latter which are linked (navto:) to their respective article. The problem is that navto links do NOT work in web content overlays, which is why I resorted to creating an HTML article. But alas, the scrubber thumbnail problem...
    The instructions above do not work for me, unless I've done something wrong such as placing the thumb image in the wrong location within my HTML folder, which in this case is a published EDGE ANIMATE project.
    And yes I could still go the MSO/InDesign web content overlay route and insert invisible frames over my link text as delayed MSOs, but that seems unecessary since I should be able to create the scrubber thumbnail for an HTML article as explained above.
    Any advice regarding the creation of the scrubber thumbnail? Or does it simply not function as intended at this time? I'm using InDesign CS5.5 using v.26 tools.
    Thanks in advance!

  • Updating HTML articles

    I've got a couple HTML articles included in my app, and for the sake of testing/proofing purposes I have to import them then update the contents as I get changes. I've noticed that when I'm specifically changing CSS files, the updates tend not to always show up right away. Now, though, I've changed some image files that apparently are stuck in their cached state, which is definitely not correct.
    I've tried deleting the article from the Folio and re-importing it, even going as far to update it on the content viewer app on my iPad betwen deleting and reimporting, to no avail. Deleting the issue from the iPad and redownloading it does not work. The only thing that works is deleting the Content Viewer from the iPad entirely, reinstalling it, and redownloading the Folio.
    Is there a way to fix this? As a tech person I can figure this out, but I'm going to be tearing my head out trying to explain it to normal folk.

    One thing you can do, as kind of a workaround, is to add a query parameter to your URL.
    So, for example, if you have a reference to a CSS file like so:
    <link rel="stylesheet" href="main.css">
    just put a query parameter on it like so:
    <link rel="stylesheet" href="main.css?123">
    You can do the same thing with straight HTML or JavaScript file references as well.
    Using a time epoch would be the best strategy, I think, as it ensures uniqueness.
    And, by the way, don't thank me, thank Chris Coyier. That dude is a genius!
    Strack

  • Camera Raw - will not open raw files from a supported camera

    does anyone know a solution for camera raw to recognize my raw files, I just upgraded to cs6 and it is a supported camera. I've updated and it still won't work any solutions?

    I should have asked which OS version do you have on the Mac?  The current ACR plug-in requires 10.7 or newer and if you’re still on 10.6.x then the updater might not do anything because your OS is too old.
    The first thing to try is Help / Updates and see if there is a newer version.
    If that doesn’t work, then you can manually install ACR 8.3, the last version compatible with OS X 10.6.x, from here:
    https://helpx.adobe.com/x-productkb/multi/camera-raw-84-support-policy.html
    And if your OS is new enough, then you can install whatever the latest version (currently ACR 8.7.1) from here:
    https://helpx.adobe.com/x-productkb/multi/camera-raw-plug-in-installer.html

  • CS4 Camera Raw: Can't open multiple files ???

    This is a very strange problem. I recently installed CS4 and started using it with RAW files from a Canon 5D Mark II camera. When selecting File -> Open As ->Camera Raw, I can't seem to select more than one raw file from the file dialog. I can open a single raw file no problem, but no matter what I try, either ctrl-A, holding down shift or ctrl does not allow me to open more than one file. With CS3 this worked fine.
    Is there a setting in Preferences to control this (seems very odd even if there is)
    PS: I see that there are two Camera Raw selections available in the file types list: what's the difference between them?
    Thanks

    If they're raw files then just use File->Open, you only need to go the File->Open As route if you want to open JPEG files in Camera Raw without going through Bridge.
    There's no point in listing Camera Raw file formats because every camera produces it's own version anyway, a .CR2 file produced by one camera isn't the same as one produced by another camera which is why the Camera Raw plug-in has to be constantly updated.

  • HTML Article Management: Is there an easier way to perform batch updates?

    I have a folio with many html articles.
    After a batch of edits I need to update the folio via FolioBuilding panel.
    I've tried 2 ways both however both are time consuming;
    1) via Updates: updating is time consuming because i have to select each artcle, go to menu select update, wait till complete, repeat for each article.
    2) via reimport: select each article, go to menu & select delete, wait till complete, repeat for each article then re-import all articles
    Is there an easier way to accomplish batch updates?
    Thanks,
    John

    Just use "import" & the sw insts' will load and assign accordingly, automatically.
    But oddly, there are times when importing a SMF w/imbedded prgm changes, that LP8 loads a completely wrong instrument to a specific track(s).
    One reason that I've kept only one of my trustworthy external midi modules (Roland XV5080), specifically for just importing SMFs'. When the XV is in GM mode, any standard midi files I import to LP8... always load pgm changes correctly 100% of the time.

  • Firefox is not sending file inputs through iframe

    i know this ain't a programming forum, but i'm having problems with firefox while trying to send file inputs through iframes.
    this is my code
    <pre><nowiki><form id="popup_form_archivo" method="post" action="'subir_imagen.php" target="wk_iframe" enctype="multipart/form-data">
    <input name="accion" value="subirImagen" type="hidden" />
    <input name="wkimg" type="file" id="popup_prompt_archivo" />
    </form>
    <iframe name="wk_iframe" id="wk_iframe" src="about:blank"></iframe></nowiki></pre>
    i send the form inputs to the iframe called wk_iframe, i get the data from the hidden input but not the file input..
    I dont know why is this happening?, because it used to work.
    Works good in safarin, Opera, Chrome, But not with Firefox
    I must say i love firefox and that's what i'm here..
    Please help me..

    I notice a single quote in action="'subir_imagen.php". Is that quote necessary?
    *https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form
    *https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button
    This should still be working as the docs indicate.
    Any errors showing in the Web Console (Firefox/Tools > Web Developer;Ctrl+Shift+K) or Browser Console?
    A good place to ask advice about web development is at the mozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the mozillaZine forum site in order to post at that forum.

  • How can I use the "Correct camera distortion" filter and process multiple files in PSE 11?

    How can I use the "Correct camera distortion" filter and process multiple files in PSE 11?

    Did you check the help page for Correct Camera Distortion and Process multiple file
    Correct Camera Distortion: http://helpx.adobe.com/photoshop-elements/using/retouching-correcting.html#main-pars_headi ng_5
    Process multiple files: http://help.adobe.com/en_US/photoshopelements/using/WS287f927bd30d4b1f89cffc612e28adab65-7 fff.html#WS287f927bd30d4b1f89cffc612e28adab65-7ff6

  • Digital Publishing Suite Help | Creating HTML articles for DPS

    This question was posted in response to the following article: http://helpx.adobe.com/digital-publishing-suite/help/import-html-articles.html

    Hi
    I believe that the issue is that the HTML article will automatically start outside of your control, which is expected with HTML articles unless you code some kind of starting mechanism that responds to some reader action (tap a button, swipe somewhere, etc). To answer your other question, though, you can indeed use inDesign and control when the ad will start.
    In InDesign, you can set the delay to .125 for a Web Content overlay and it will then "fire" when it first comes into the reader's view. If you set it to zero (the default, by the way), then it will "fire" as soon as the article loads, which may not be when you expect, since DPS will preload adjacent articles in order to improve the reading experience. You can, therefore, put your HTML/jquery ad into a folder with an index.html file to drive it and then make a Web Content overlay in InDesign that points at the index.html file for your ad. Set the overlay to autoplay, and set the delay to .125 seconds. This way, your ad will always start when your reader swipes to view it. It also allows you to put the ad as an interstitial deeper in an article, and you can ensure it starts when the reader views it and not before.
    There is a cavet here, which is that the article will take some time to load, depending on the complexity of your HTML. As a result, your reader may see a spinning wheel on the screen instead of your ad while the ad begins to load. You should be sure to put a poster frame there that perhaps is a screen shot of the first frame of your animation. That way, when the ad loads, it will already have the first frame ready to go and will replace the first frame with the animation.

Maybe you are looking for

  • Sales order cost issue

    Hi All, I need help with the production issue.There are 2 sales orders which have cost recognized in one of the month but they are not posting to WIP.Can anyone explain me the reason for this problem. Thanks in advance. Edited by: Reema Sen on Jun 10

  • RE: Please Help Me

    Ananth, I'm guessing maybe the thread that you're debugging is a method on a service object. I believe that you can't debug a method on a environment visible service object when the tread is actually running on the server. If this is the case, then p

  • Clips not showing up when trying to import to iMovie

    I have a Panasonic HDC-SD90.  When attaching by USB or by taking out the SD card and inserting into the side of my iMac I can only import 4 of the 35 or so video clips on the SD card.  Any ideas?  I have already clicked on "Camera" in the import wind

  • Task TS16900003 - Create NB object Error

    Hi                                                                                We are using the Extended Requisition Request form - SRQ2, Notification.  The Hiring Manager sends the form successfully with a notification number. The approver approv

  • Updating OCLG.Duration in DI Server

    I'm trying to add/update an activity using the DI Server. The XML request is generated properly (no schema errors) and sent to the DI Server. In the XML, I have (among other things): <Recontact>20070802</Recontact> <StartTime>1800</StartTime> <EndDue