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.
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.
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)
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.
Can Imagegen run with Umbraco 7?
Just as title.
Yes.
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.
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.
ImageGen 2.9.1 has now been released. You will no longer see this error.
cheers,
doug.
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
Exception Details: System.ArgumentNullException: Value cannot be null. Parameter name: The treeType query string parameter was not found but is required
Stack Trace:
It's just /imagegen.ashx?image=nameofImage
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.
is working on a reply...