Jump to:

7937 Posts in 1537 Topics by 944 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » two images on one dataobject, using IDOM, and uploadify, image upload fail for the second image

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 926 Views
  • Ben_W
    Avatar
    Community Member
    80 Posts

    two images on one dataobject, using IDOM, and uploadify, image upload fail for the second image Link to this post

    Hi, I have a dataobject named ProductIntroductionVideo which contain one thumbnail image, one video image, and text field for video id. The ProductIntroductionPage has one to many relationship with this this dataobject, thus I am using ImageDataObjectManager. I also have uploadify installed.

    The problem is after I upload the thumbnail image, then click 'Continue' button which goes into form where I am about to fill in the video id and video image. however upload video image, throws a http error.

    If I click the thumnail to edit particular record, I was able to upload video image without any problem.
    Does this mean if I have two image on one dataobject, I can't use IDOM? Is there a workaround to allow user upload the video image when adding a new record through IDOM instead of uploading one thumbnail when add a new record, then upload video image in edit form?

    ProductIntroductionVideo code is here: http://pastie.org/2937247

    ProductIntroductionPage IDOM is here: http://pastie.org/2937250

  • T3nD4n
    Avatar
    Community Member
    16 Posts

    Re: two images on one dataobject, using IDOM, and uploadify, image upload fail for the second image Link to this post

    hi, i have the same problem you had.
    could you solve it?
    any hint would be appreciated.

    thanks!

    926 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.