Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • sun 403 posts 395 karma points
    Oct 09, 2013 @ 13:23
    sun
    0

    Can Imagegen run with Umbraco 7?

    Just as title.

  • Rich Green 2246 posts 3956 karma points
    Oct 09, 2013 @ 13:26
    Rich Green
    0

    Yes.

  • Douglas Robar 3570 posts 4670 karma points MVP 6x admin c-trib
    Nov 22, 2013 @ 12:00
    Douglas Robar
    0

    tl;dr
    ImageGen 2.x works great with Umbraco 7. The only thing you'll notice is that you'll get "Binary file errors detected" warning during the installation process. It is safe to ignore the warning and install the package as normal.

    enter image description here

    The warning is for the Interop.DexterLib dll, which is not currently included in the ImageGen package. ImageGen runs perfectly without that dll but because it's referenced the new Umbraco 7 installer's reflection code notices and gives the warning.

    You might asking, what's the purpose of the dll if it isn't needed? Why is it referenced if it isn't used? Well, because we're playing with adding the ability to generate images from video files but it's not official yet and I didn't think anyone would notice. Oops. #h5is

    We'll release a package shortly that doesn't show this error during the installation process. Until then, just install the package and everything will be fine.

    cheers, doug.

  • Douglas Robar 3570 posts 4670 karma points MVP 6x admin c-trib
    Dec 04, 2013 @ 21:54
    Douglas Robar
    1

    ImageGen 2.9.1 has now been released. You will no longer see this error.

    cheers,
    doug.

  • Jamie 35 posts 87 karma points
    Jan 21, 2014 @ 02:36
    Jamie
    0

    I installed image gen into a 7.01 install and I can't seem to find it .. I can see files in the confing in /config and the dll in /bin and ImageGeninstaller in the UserControls folder.
    Previously I have just used /imagen.ascx?...  I have tried the use /bin/imagegen.ascx? with a 404 as the result. So is this a failed install or has imagegen moved somewhere else I'm not aware of?

    EDIT: I uninstalled imagen and tried again and this time just giving the whole umbraco install read write permissions and - recieve this installation error. BUT now also have a //ImageGen.ashx file and it is working for my needs.

    Failed to retreive data for child nodes undefined


    Value cannot be null. Parameter name: The treeType query string parameter was not found but is required

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.ArgumentNullException: Value cannot be null. Parameter name: The treeType query string parameter was not found but is required 

    Stack Trace: 

    at Umbraco.Web.FormDataCollectionExtensions.GetRequiredString(FormDataCollection items, String key)
       at Umbraco.Web.Trees.LegacyTreeController.GetTreeNodes(String id, FormDataCollection queryStrings)
       at Umbraco.Web.Trees.TreeControllerBase.GetNodes(String id, FormDataCollection queryStrings)
       at lambda_method(Closure , Object , Object[] )
       at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.b__c(Object instance, Object[] methodParameters)
       at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
       at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)

     

  • Rich Green 2246 posts 3956 karma points
    Jan 21, 2014 @ 10:06
    Rich Green
    0

    It's just  /imagegen.ashx?image=nameofImage

  • Douglas Robar 3570 posts 4670 karma points MVP 6x admin c-trib
    Jan 23, 2014 @ 16:18
    Douglas Robar
    0

    Hi, Jamie,

    Glad you've got it all working properly now. The original issue was that you were calling imagegen.ascx rather than imagegen.ashx. There was once (many many versions ago, an imagegen.aspx but that was replaced by the quicker .ashx. There has never been a .ascx file for ImageGen).

    As your error message... this is from Umbraco 7.0.1 and not ImageGen specifically. I've tested this now on 7.0.2 and it works fine so hopefully nobody will see that umbraco error again. In any case, it doesn't interfere with the installation or running of ImageGen as you've found.

    cheers,
    doug.

Please Sign in or register to post replies

Write your reply to:

Draft