Closed guillogc closed 7 years ago
I found the solution myself.
It was using GetMediaItem instead of GetPost.
:)
Was it an issue with code? Can you submit the fix via Pull Request?
On Sun, Nov 20, 2016 at 9:12 PM, guillogc notifications@github.com wrote:
Closed #61 https://github.com/abrudtkuhl/WordPressSharp/issues/61.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/abrudtkuhl/WordPressSharp/issues/61#event-865853454, or mute the thread https://github.com/notifications/unsubscribe-auth/AATsrK6B2KxU7EqMMU-RtH6jTR95N2oBks5rAQwzgaJpZM4K3xYw .
No no, no issue with the code. It was my issue. Thank you!!
Excellent!
On Sun, Nov 20, 2016 at 9:17 PM, guillogc notifications@github.com wrote:
No no, no issue with the code. It was my issue. Thank you!!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/abrudtkuhl/WordPressSharp/issues/61#issuecomment-261832972, or mute the thread https://github.com/notifications/unsubscribe-auth/AATsrAVjly0rlnMfh3dITpVFgjTXD3RYks5rAQ08gaJpZM4K3xYw .
Is there a way, having the post Id number of the uploaded image, to get the direct link to that image instead of the link for the post?
Thank you!!