You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to get the title and alt attributes of an uploaded image using the MediaAccess class. However it only returns the url. I hacked it to return the title but it isn't such an elegant solution.
Currently MediaAccess can only get the URL of a given media. I wish it would also return all the associated information of the media along (attachment ID, title, alt, description, width, height, etc.).
Perhaps you could give it a shot by forking the project?
Hi. Firstly LOVE your class - great work.
I need to get the title and alt attributes of an uploaded image using the MediaAccess class. However it only returns the url. I hacked it to return the title but it isn't such an elegant solution.
Any ideas how to make it better?
Here is my child class
https://gist.github.com/3214107
Here is the implementation in a metabox
https://gist.github.com/3214109
Thanks
The text was updated successfully, but these errors were encountered: