gallery not saved as intended

Support General gallery not saved as intended

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #17453
    Akram ul haqAkram ul haq
    Participant

    Hi,

    One of mine client having trouble to set gallery images properly. We do use gallery this way like gallery post meta so for each image a new meta id is created with name gallery and it saved image id and so on ...

    but in users system it saves all those meta boxes like in array rather than single gallery image. Kindly make it done for you as my client is really in trouble hope to see quick response this time ...

    Again issue is, we saving meta box value in different key for each gallery but it saved all ids in one and saves as multiple results ...
    like we want this
    gallery > 1
    gallery >2
    gallery > 3

    but it saved like this
    gallery > a:3{1,2,3}
    gallery > a:3{1,2,3}
    gallery > a:3{1,2,3}

    kindly guide us on this.

    Thank you

    #17456
    Anh TranAnh Tran
    Keymaster

    How did you create the gallery? Did you use group for that?

    In this case, I think all you need is just using the image_advanced field.

    #17515
    Akram ul haqAkram ul haq
    Participant

    Hi,

           `array(
                'id'               => $prefix . 'gallery',
                'name'             => esc_html__('Gallery', 'domain'),
                'type'             => 'image_advanced',               
                'force_delete'     => true,               
                'image_size'       => 'thumbnail',
            ),`
    

    This is the gallery and its outside the group or no group being used. If you want login access I can send you along with cpanel details.

    Its been some while now and client is behind me so please make it happen today.

    Thank You

    #17539
    Anh TranAnh Tran
    Keymaster

    Hi Akram,

    Your field looks fine to me. Just want to make sure that field is not inside any group, is it?

    If it's not, please send me a temporary admin account to check. There might be something else.

    #17540
    Akram ul haqAkram ul haq
    Participant

    Hi,

    Sure, let me send you login credentials by contact page.

    Thank You

    #17541
    Akram ul haqAkram ul haq
    Participant

    Hi,

    I have sent you credentials by your contact page.

    thanks and waiting badly

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.