problems adding post attachments
-
I am programmatically inserting posts and attaching an image to the post.
on the index page I can see the post title however, i dont see the images themselves in my index page when i view – only the post title. i have added the following in addition to using the thecontent filter wp_get_attachment_url($post->ID); ?>”><?php echo wp_get_attachment_image($post->ID, ‘medium’)
when i look at the post in the dashboard I see the image attached in the gallery
when i go to the media library i see the image
when i go to “edit media” and click on the file url i see the image
in the media library however the file name is not populated and when i click the edit image button i get Image data does not exist. Please re-upload the image..
the image inserting does not create an the thumbnails small medium or full viewthere may be some meta data missing however this is poorly documentted and i can not locate a good description of the post metadata i need to add for attachments
pointers appreciated
- The topic ‘problems adding post attachments’ is closed to new replies.