Why don’t you read the answers you get? In this answer I said to you to use get_post_meta instead of get_post_custom. The reason is quiet simple: get_post_meta( post_id, metakey, single ) returns a single value if single is set to true (RTFM!!)
If you would use get_post_meta(), than you will get your answer. If not, try unserialize()
Related Posts:
- Image Upload from URL
- Upload images to remote server
- Download an image from a webpage to the default uploads folder
- Allow contributor role to upload images and not edit already published articles
- How to insert images into posts without using Add Media dialog
- Media Upload Folder – how to manage
- Upload multiple images in a custom metabox
- hook into completed image upload filter
- getting uploaded SVG dimensions on front-end
- Adding upload button in metabox
- Automating a Daily Picture Blog?
- Images uploading to wrong folder
- Replace all of post’s image URLs with upload directory URLs
- How do i upload an image and return the image id?
- Restrict the number of images to upload per post
- WordPress function: limit size, only jpg, jpeg, limit of uploaded files per account
- How to add php to theme to show alt attributes
- Frontend image uploading from edit profile page. (goldenapples)
- Filter to modify post_title after image upload?
- Uploading an image as featured image from frontend form
- How to upload images from my directory into my wordpress?
- Automatically Add Caption in image
- Rename image during upload using date and time stamp?
- Why images/photos after being uploaded to my wordpress site get slightly blurry?
- How to disable the suffix “-scaled” which is being added at the end of each uploaded image?
- What’s the best “insert all images” plugin?
- Is 700,00 jpgs too many for a WordPress site.?
- Frontend Post – Allow Only Image File Upload
- Restrict Image Uploads to a Certain File Type
- Rename media files generated during upload
- add_image_size() to crop images into squares?
- HTTP Error when uploading files above 7mb unless using GD Image Editor
- wordpress media library shows empty images
- Upload .doc to blog
- media sideload image and Google Content
- Generating different dimension images while uploading image file from custom plugin page
- Can’t seem to attach uploaded image to post and set it as thumbnail
- Bulk edit of EXIF data for jpeg images uploaded in the media library?
- Image upload appearing as broken images following server move
- How to create ‘Local’ filters for WordPress srcset sizes in template parts?
- Get image URL after image created from canvas and sent to WP uploads with AJAX
- How to stop thumbnail generation from some images and different size thumbnail generate
- How do I fix “Sorry, this file type is not permitted for security reasons”
- Enable custom logo upload if logo is not in header
- How to implement secure frontend image upload? [closed]
- Change wp-content/uploads to uploads/%postname%/%image%
- Change media URL (images)
- Upload image without media-upload [duplicate]
- Tinymce and uploading local pictures
- Unable to upload images to the Media Library. Getting this erron on the console wp-admin/async-upload.php 403 (Forbidden)
- Images give 404 after changing default domain
- Create a post from every image in my media gallery
- Autosort uploads in galleries by filename
- Change Image folder Locations
- “HTTP Error” or Network Error (tcp_error) when uploading image
- Images uploading from media going in wrong folder
- How does wordpress name resized image copies?
- How to change the value “uploaded to” in the media library (WordPress 4.0)
- adding image to post thumbnail from another server
- Metabox image upload value
- Making a parent directory writable by the server
- Indicate image sizes for upload by post type
- How to get rid of undefined variable in previous post image
- How to display a warning when an uploaded image is too small?
- Profile image does not upload
- Large uploaded images not resizing?
- Form File Upload Field generates multiple copies of Image Files (different sizes): Is this a WP feature or is this being done by the Plugin
- cant upload media/pictures to my wordpress site, cant upload anything to my database
- Upload error on localhost (at minimum, not yet tested online)
- WordPress on IIS works except for image upload widget: Win 10 Pro
- Unset image sizes before images are uploaded
- Loading and Referencing Images
- unsharp thumbnails after uploading image
- How to delete original image file after upload and resize
- An error has occurred during the upload process in wordpress version 5.3.2
- An error has occurred during the upload process in wordpress 5.3.2
- Import images from old WordPress site into new site
- How to disable post-thumbnail from generation?
- How to handle a lot of media files in the uploads folder? (+10.000)
- Widget media uploader doesn’t opens after widget save
- Getting the Select and Crop Functionality Using Custom Fields
- How to modify images during upload
- After I upload a file to library its name converted to dashes
- Reduce Mobile Image upload size (wordpress)
- Only User Upload image Http Error
- Rename uploads filenames to POST-ID on upload
- See the all uploaded images of a user as an admin
- Broken Media Library
- Utilise WP_Customize_Image_Control to only show image picker
- 3.5.x Theme Customize: Handling Custom Control Requests
- Transfered live site to new server and images are not showing
- Limit files uploaded per folder
- Custom filename when pasting an image from clipboard
- Bug when uploading pictures with Arabic name characters?
- Best Photoshop-WordPress workflow for editing images without re-upload [closed]
- My subdirectory sites images (except webP) are throwing to 404 page even they are exist
- Can’t upload svg files in WordPress
- Random images from uploads folder and subfolder
- Trying WP editor to load full size image (not ‘300×300’)
- Upload media file failed. Uploadtest failed