WeStandWithUkraine

5 Posts
kongen.1
7 years ago
7
Topic

Hello I have a problem using the upload image. I will add a video showing it. 

1. Was trying to add the multiple images through media input box but the pop up box will not work on the second add of the image. Hence, it will work at first add but when in second it don't check here http://screencast.com/t/31GLn8Yza

Thanks Michael

Get a Book for SEBLOD
1279 Posts
Bucklash
7 years ago
1
Level 1

Hi Michael

Cool Screencast idea :)

What are the configurations settings for your image fields?

How are the images getting stored in DB?

Bucklash

5 Posts
kongen.1
7 years ago
0
Level 2

Hello, let me know if this will help, this is the configuration for Group X field

http://screencast.com/t/gl2wnJNggi and this one for image field

http://screencast.com/t/VtxuiPtqme

1279 Posts
Bucklash
7 years ago
3
Level 1

Hi kongen.1

I am not sure if I can answer this 100% accurately, and I do not want to give you false information, that said....


1 FieldX and GroupX

FieldX is for repeating ONE field... It looks like you are just repeating the Media field... so use FieldX, NOT GroupX.

GroupX is for a collection of fields ie 'title', 'image', 'description'. You see on the GroupX config window the option to select a content type, generally, you make a content type of fields that you want grouped, then display the content type using GroupX.


2 Custom | Article | db_column_machine_name[field_in_form_machine_name]

The above format should be used for your form. See the image at bottom of page.

In the image I have it as:

Format / Object: Custom | Article | my_column[field_to_repeat]

In the config for the fieldX field, it requests the field. This is the field you want to repeat ie your media field... in the image it is 

field_to_repeat

You can store like this:

Custom | Article |field_to_repeat

But then you loose the ability to call a value individually ie if you have 3 images stored, you can't call the 2nd image or just the 3rd.

When I find the example I will post it here...


Resources

seblod-2-x-field-x - helpful to a degree, not sure it is 100% accurate, might have been then ie it does not have to be limited to storing in introtext column.

how-to-use-plugin-field-fieldx - confuses me each time I read it, but there is info in there that can be helpful.

how-to-manage-fields-storage - probably the best of the bunch

Good luck

Hope I have helped rather than hindered.

5 Posts
kongen.1
7 years ago
2
Level 2

Hi, sorry to confuse you, really appreciate your effort :) actually i can successfully save the image on database on my first add, my main problem is the pop up box on the second add, as you can see on the video the popup works when i add the image on first step then on second step it will not work either and can't add the image anymore. check here http://screencast.com/t/rkuX7QWdi

1279 Posts
Bucklash
7 years ago
1
Level 3

Hi kongen.1

I still reckon it is your storage settings.

Are you using FieldX?

Is your storage set like this: "Custom | Article | my_db_column[my_repeating_field]"?

Until then I think you will go round in circles


Bucklash

5 Posts
kongen.1
7 years ago
0
Level 4

Tried updating the values that you give and still no luck. Thanks for the help :)

1279 Posts
Bucklash
7 years ago
0
Level 1

Damn it...

I'm done.... hopefully someone else can help... good luck

Get a Book for SEBLOD