The images where setted by woocommerce,
In case someone needs, this is how I did it
$thumb_id = get_woocommerce_term_meta( $term->term_id, 'thumbnail_id', true );
$term_img = wp_get_attachment_url( $thumb_id );
Related Posts:
- getting attachement images src and add classes
- How can I bulk delete media and attachments using WP-CLI?
- Changing attachment urls?
- Add custom class to attachment in media library grid mode
- Are captions stored anywhere?
- get_the_post_thumbnail() doesn’t taking style attribute
- How can I UN-attach media from a post?
- Remove duplicate attachments
- media_sideload_image file name?
- Detect if is image unattached
- How to get attachments for a specific post type?
- Show Post ID in “Find Posts or Pages” box in Media Library?
- Creating a multi-file upload form on the front end for attachments
- Make individual attachments private?
- Change the Permalink for wordpress attachment
- Get the attachment URL on single.php
- How to get list of paths (not urls) for an image
- How to count media attachments?
- Insert custom ID into wp_get_attachment_link
- How to add attachment without uploading?
- Reorder “menu order” of attachments to another predefined order
- Prevent Duplicate Attachment When Using wp_insert_post
- Change code to display image attachment page
- Attachment 0×0 size error [closed]
- Add image attachment to post via coding?
- How To Grab All Type Of Attachments, But Images?
- Removing width and height attributes from wp-get-attachment
- Change filename during upload
- Get post attachment images dimension and use in embed code
- use wp_get_attachment_image() to show attachments
- List Post Attachments – Remove Image Thumbnails
- How do i add LIGHTBOX to Attachments?
- How to specify width and height in the_content for image attachments
- delete image attachments of a custom post type except featured image
- Display attachment resolution size
- Import Attachments – not attaching to post_parent
- Where does the gallery shortcode gets its attachments from?
- Set attachment tags from attachment’s custom field data
- media ‘path’ issue / concern when bringing files live
- How to redirect ‘file url’ to ‘post url’ i.e. in attachment.php
- Is it possible to share media files between multiple WordPress sites?
- How can I attach Facebook Open Graph data to an Attachment Page?
- Set Attachment Image File URL as GUID
- Massive photogallery import
- How to update the title of audio file through its attachment metadata
- Delete associated thumbnails when calling wp_delete_attachment
- How to allow empty title for attachments?
- Proper use of wp_get_attachment_image?
- Get title of post image is attached to
- Correct attachment size
- How can I display a link to a post’s (Word doc or pdf) attachment?
- GUID field in wp_posts – relevance for attachments?
- Set term on an attachment using wp_set_object_terms and want to display the full term text but it’s showing a slug instead
- Gutenberg Block: Image resolution
- Attach a external file as attachement using wp_mail
- Get image attachment to a post outside the loop?
- Could not get attachment using wp_mail
- Looking to limit file attachment downloads
- Prevent image from being accessible via url as a post?
- Upload multiple image with media_handle_upload with multiple file field [duplicate]
- get_post orderby not working in plugin
- 500 internal error at wp_generate_attachment_metadata
- Delete child post and attachment links to parent post
- How can I return multiple image attachments with wp_get_attachment_image_src
- How can i catch (with get_posts) attachment file (pdf, images) from a post when i have only inserted it from media library and it isn’t upload for it?
- How to let a role handle media without post permissions
- WordPress Gallery Permalink Structure Displaying Incorrectly
- Will wp_get_attachment_metadata display PDF metadata (eg: keyword, author, description)?
- How do I get just the title from wp_get_attachment_image
- changing the default picture size link url
- i want attachment.php to return the image
- List all files from subpages
- Add videos/images preview to bbPress attachment
- Change attached img anchor link to post link
- How to view exact image dimensions of a media in Admin view?
- wp_get_attachment_image_src calling wrong location
- wp_delete_attachment doesn’t delete image files / doesn’t work
- Get attachment URL from attachment Link in WordPress
- How to open an attachment based on the date picker
- Send data URL string as an attachment in wp_email
- How to use previous/next image link, ignoring parent posts/attachments?
- wp_get_attachment_metadata is empty
- Resize $term attachment using url
- Using $_FILES variable into the same function for uploading images and files
- WP media attachment location vs permalink
- Removing delete permanently button in uploading files media
- Remove attached media
- Incomplete attachment page
- How to retrieve “custom url” from image attachment in wordpress
- Possible to “Attach” images to multiple posts without uploading twice from Add media Section?
- list of attachments: wp_get_attachment_link works, wp_get_attachment_image does not
- Custom attachment field dissapearing
- How can I let users access a specific attachment?
- What is the most efficient way to retrieve a group of image URL’s from different attachment ID’s of a specific crop size?
- How to wrap this Link with an Image?
- How to save media-form on custom tab
- I want to edit documents on my blog without the need to download and upload files again [closed]
- Open attachments in new tab/window
- Change the next thumbnail to text
- wp_mail attachment not working in wordpress