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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Cannot attach image to unsaved object popup


Go to End


3 Posts   994 Views

Avatar
purplespider

Community Member, 89 Posts

14 February 2010 at 10:21am

Is there any way around this:

It's annoying to have to enter the Title and Description, then save, then go back in to add the images.

Thanks
James

Avatar
Willr

Forum Moderator, 5523 Posts

14 February 2010 at 2:00pm

The reason why you need to save first is to populate the ID field for the image relationship. Its less than ideal, AFAIK there is no workaround for it. Happy to hear one though

Avatar
SilverRay

Community Member, 167 Posts

14 February 2010 at 2:53pm

Just thinking out loud: how about setting a 1px transparent image with a defaults array? Kludgy though...