Aricie
Intégrateur de vos solutions d'avenir
DNN Community Forums

Physical resize option fails

Sort:
You are not authorized to post a reply.
Page 1 of 212 > >>
Author
Messages


robax











New Member



Posts:




New Member



    Hello.. me again,

    I've been trying to improve the appearance of the pages when they are not zoomed in. Ovviously, if the smaller images are sized to exactly the size of the pages, then they won't appear all pixelated.

    There is the option to physically resize the images and I have been testing that. This is what happens when I have the page size set to 450x600:

    1. A 6 page PDF is first converted into multiple 25Mb temporary files, one for each page.
       
    2. Then, those temp files are each converted into one 600x800 and one 750x1000 pixel jpg image named: vignette_prefixe_image-00.jpg and vignette_prefixe_image-00_Large.jpg
       
    3. Then I can see in the folder that an extra image file is created named: vignette_prefixe_image-00tmp.jpg
       
    4. When I check the image, it has the correct size after the physical resize: 450x600
       
    5. At this point the browser says 1 of 6 pages created... and it stays on that for quite a while.
       
    6. Then it pops up the alert "PDF Converted"
       
    7. I note that no additonal 450x600 images have been created
       
    8. When viewing the book, it either doesn't show anything, or it displays the 600x800 pixel images at full size in the 450x600 pages, which doesn't work either.
       

    So, the net result of the above is that the physical resize option is having trouble creating image files.

    The Windows Application log shows this:

    An unhandled exception occurred and the process was terminated.

    Application ID: /LM/W3SVC/14/ROOT

    Process ID: 4008

    Exception: System.NullReferenceException

    Message: Object reference not set to an instance of an object.

    StackTrace:    at Aricie.DNN.Services.FileHelper.ResizeImage(Int32 FileId, Int32 Height, Int32 Width, Int32 PortId)
       at ThreadParams.ImportFromFolder(Int32 FolderId, Boolean Overwrite)
       at ThreadParams.ExtractAndMakeIt()
       at ThreadParams.ExecuteThread()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.runTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

    What do you think.. is this fixable?
    I'm running this on DNN4.9.5 on IIS7 in 32 bit Classic mode in case it matters.

    Regards,
    Rob

     

     



    Deleted User











    New Member



    Posts:




    New Member



      Thanks for your valuable feedback on the module. We are currently looking at your issue with the resize option.

      Aricie Team



      robax











      New Member



      Posts:




      New Member



        Thanks for the update Tom.

        Just to follow this up...

        If the resizing issue is able to be fixed, I'm wondering if it is also possible to increase the maximum size of the zoomed image. It currently is 750px, which is not quite big enough to read our newsletter comfortably.  If the maximum could go as high as 1000px, that would solve it.

        I'm planning on going live in a couple of weeks and so, if I can help development of any of my suggestions from this and the other threads along by purchasing a couple of extra subscriptions, I can do so as I have a small budget set aside for a page flipping tool.

        Kind regards,
        Rob

         



        Deleted User











        New Member



        Posts:




        New Member



          Hello Rob,

          indeed, we would really appreciate your contributing to the module. For an extra $50, you will get a Gold membership which will give you access to the source code of Pageflip. From there, you can add value as you please.

          Would that suit you?

          CAn you give us a roadmap for the evolutions you plan to make?

          Regards

          Thomas



          robax











          New Member



          Posts:




          New Member



            Hi Thomas,

            Sorry, I'm afraid I'm not a developer and cannot code. I meant I could contribute some money if it would help development along a bit.

            I have to decide whether or not I can go live with this before the end of the month, and currently the main issue is the resizing bug, and perhaps the maximum width limit. If it's not going to be changed or developed for a while, then I need to find an alternative quickly. That's really what I need to know.

            Thanks for any further information,
            Regards
            Rob

             

            You are not authorized to post a reply.
            Page 1 of 212 > >>