• Resolved tomaspe96

    (@tomaspe96)


    I just downloaded Pods (First timer), I created a Coustom Post Type “Books”, then a Coustom field “images” and set it up to multiple.

    Then I created a template with {{@galeria._img.thumbnail}

    After that I create a new post, add some images in the field i created, i use the Gutenberg block “Pods element” and the images load fine, but there is some weird string of text, like a “y” and a ” , ”

    Am i doing something wrong?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Paul Clark

    (@pdclark)

    Hi @tomaspe96,

    It would be easiest to reproduce and debug the issue if you could share your Pods Package Export via GitHub or Slack.

    Pods package export will include your exact template.
    It can be found under Pods Admin > Components > Import/Export Packages.

    For example, in this post, {{@galeria._img.thumbnail} is written instead of {@galeria._img.thumbnail}. Any such typos or errors in HTML syntax could cause issues, so it’s important to see the exact code if there’s an issue.

    Thread Starter tomaspe96

    (@tomaspe96)

    https://github.com/tomaspe96/errorpods/blob/main/error
    Never used github, if that’s not correct, here is the code:

    
    {
        "meta": {
            "version": "2.8.20",
            "build": 1656191697
        },
        "pods": [
            {
                "name": "libro",
                "id": 301,
                "label": "libros",
                "description": "",
                "type": "post_type",
                "storage": "meta",
                "label_singular": "libro",
                "public": "1",
                "show_ui": "1",
                "rest_enable": "1",
                "supports_title": "1",
                "supports_editor": "1",
                "_migrated_28": "1",
                "required": "0",
                "capability_type": "post",
                "groups": [
                    {
                        "name": "mas_campos",
                        "id": 302,
                        "label": "M\u00e1s campos",
                        "description": "",
                        "weight": 0,
                        "fields": [
                            {
                                "name": "la_galeria",
                                "id": 303,
                                "label": "la galeria",
                                "description": "asaa",
                                "weight": 0,
                                "type": "file",
                                "sister_id": "-- Selecciona uno --",
                                "required": "1",
                                "file_format_type": "multi",
                                "file_uploader": "attachment",
                                "file_attachment_tab": "upload",
                                "file_upload_dir": "wp",
                                "file_edit_title": "1",
                                "file_show_edit_link": "0",
                                "file_linked": "0",
                                "file_limit": "0",
                                "file_type": "images",
                                "file_field_template": "rows",
                                "file_add_button": "A\u00f1adir archivo",
                                "file_modal_title": "Inclu\u00edr un archivo",
                                "file_modal_add_button": "A\u00f1adir archivo",
                                "roles_allowed": "administrator",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "1"
                            }
                        ]
                    }
                ]
            }
        ],
        "templates": [
            {
                "name": "simple",
                "code": "{@la_galeria._img.thumbnail}",
                "id": 305,
                "_edit_last": "1",
                "_edit_lock": "1656191529:1",
                "pod_reference": {
                    "pod": "libro"
                }
            }
        ]
    }
    
    • This reply was modified 2 years, 5 months ago by tomaspe96.
    Thread Starter tomaspe96

    (@tomaspe96)

    Hi @pdclark , thanks for your answer, here is the URL: github.com/tomaspe96/errorpods/blob/main/error

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @tomaspe96

    The export is unrelated to the template so it doesn’t give us any info.
    In any case, as @pdclark mentioned, formatting your code and tags correctly is very important. Please make sure it’s all correct and you didn’t enter incorrect characters.

    Also, since you are a first timer, please view our introduction video to get a better understanding of the plugin:
    https://docs.pods.io/videos/grow-beyond-posts-pages-introduction-pods-framework/

    Cheers, Jory

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Image gallery has random string between images’ is closed to new replies.