Copied to clipboard

Flag this post as spam?

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


  • Fuji Kusaka 2203 posts 4220 karma points
    Jul 04, 2011 @ 15:29
    Fuji Kusaka
    0

    Photo Gallery

    Hi all,

    I have a photo gallery where i created a data type using image cropper type. However when i create a new file am having server error.

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.editorControls.imagecropper.DataEditor.OnInit(EventArgs e) +554
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +197
       System.Web.UI.ControlCollection.Add(Control child) +79
       umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +3674
       umbraco.controls.ContentControl.CreateChildControls() +601
       System.Web.UI.Control.EnsureChildControls() +102
       umbraco.controls.ContentControl.OnInit(EventArgs e) +32
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +197
       System.Web.UI.ControlCollection.Add(Control child) +79
       umbraco.cms.presentation.editContent.OnInit(EventArgs e) +1171
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +480
    

     

    Anyone knows what might be causing this?

     

    //fuji

     

     

     

     

     

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Jul 04, 2011 @ 15:32
    Jeroen Breuer
    0

    You could post an image of your imagecropper datatype configuration?

    Jeroen

  • Fuji Kusaka 2203 posts 4220 karma points
    Jul 04, 2011 @ 16:01
    Fuji Kusaka
    0

    Hi Jeroen,

    Thanks for replying, here is the dataType struc

     

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Jul 04, 2011 @ 16:07
    Jeroen Breuer
    0

    Hmm the configuration seems fine. Not sure what this error might be. If you create a new media file which has this cropper datatype does it always have the umbracoFile property? For example if you add the cropper to a folder media type it will crash.

    Jeroen

  • Fuji Kusaka 2203 posts 4220 karma points
    Jul 04, 2011 @ 16:09
    Fuji Kusaka
    0

    Yes, even with the default image cropper it keeps crashing.

  • Fuji Kusaka 2203 posts 4220 karma points
    Jul 04, 2011 @ 16:13
    Fuji Kusaka
    0

    when i create an image under the media section i have the same issue.

     

    Server Error in '/net4/iorim' Application.


    Object reference not set to an instance of an object.

    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.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.editorControls.imagecropper.DataEditor.OnInit(EventArgs e) +554
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +197
       System.Web.UI.ControlCollection.Add(Control child) +79
       umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +3680
       umbraco.controls.ContentControl.CreateChildControls() +1162
       System.Web.UI.Control.EnsureChildControls() +102
       umbraco.controls.ContentControl.OnInit(EventArgs e) +32
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +197
       System.Web.UI.ControlCollection.Add(Control child) +79
       umbraco.cms.presentation.editMedia.OnInit(EventArgs e) +504
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +480
    

  • Fuji Kusaka 2203 posts 4220 karma points
    Jul 04, 2011 @ 20:44
    Fuji Kusaka
    0

    I finally got it working Jeroen, i missed one step under Settings > Media > Image.

     

    //fuji

  • Marcel du Crocq 18 posts 38 karma points
    Nov 05, 2012 @ 13:56
    Marcel du Crocq
    0

    Can anybody help me to code the albums????

    I have an photo template, album template and Photoalbum template

    http://www.het-ruigeblok.nl

     

    coding in Umbraco isn't easy so please help???

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Nov 05, 2012 @ 14:04
    Jeroen Breuer
    0

    You can use DAMP for this. Here is a video: http://www.screenr.com/gz0s.

    Jeroen

  • Marcel du Crocq 18 posts 38 karma points
    Nov 05, 2012 @ 21:52
    Marcel du Crocq
    0

    Bedankt!

     

    Heb alles geinstalleerd, maar kun je ook aparte albums creƫren en daar foto's onderhangen, bijv. BBQ, Burendag etc?

    Zie dat je verschillende formaten kunt hanteren of alleen Classic en pixlr om de foto te stijlen.

    Heb een bericht achetr gelaten op Screenr bij je video Using the Digibiz Advanced Media Picker - Part 1

     

    Marcel

     

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Nov 17, 2012 @ 00:14
    Jeroen Breuer
    0

    Hello Marcel,

    I'll keep talking in English so everyone on this forum can understand it :-).

    You could use DAMP to select folders instead of images and than write some custom code to show the images of the folders you selected.

    My DAMP Razor Model supports fetching children from a selected media item.

    Jeroen

Please Sign in or register to post replies

Write your reply to:

Draft