yash wrote: >Hi all > I have a programme to generate pdf consisting of some images with one >image per page. These images are appearing correctly for the first time >but when i use back button, all the images from the (current page - >2)th page are disappearing. > > (Of course) they are appearing the next time i open the PDF file. They >appear and once I go forward, the previous images are dissappeared. > > I am seeking help from someone in iText community . > > I assume you realize that this isn't an iText related problem. iText creates the PDF correctly; otherwise the images would have been blank to start with. The problem is browser/plug-in related.
>If I am using another version of add that is > >document.add(Image.getInstance(2000, 1500, 3, 4, >Image.getInstance(byteArray))); > > If a problem isn't iText related, changing the code won't help. Except maybe if you add the images 'inline' instead of as 'Image XObjects', but I can't guarantee this will give you a better result. >Please help > > You should disable the back button, or, as I suggested a few days ago in answer to another question, serve the PDF as 'attachment' instead of 'inline'. When you serve the PDF as attachment, the PDF isn't shown in the Adobe Reader browser plug-in, but in a separate Adobe Reader window (not a browser window). The keywords to search for are: "Content-Disposition" and "attachment" (versus "inline") best regards, Bruno ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
