Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

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


Reply


2 Posts   970 Views

Avatar
Ben_W

Community Member, 80 Posts

29 November 2011 at 7:30pm

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

Avatar
T3nD4n

Community Member, 16 Posts

26 July 2012 at 2:04am

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

thanks!