I was hoping to get some help on this one. I am looking to have appended to all images and media that get applied to a post via the upload tool in WordPress _thumb to the src of the media object.
Thanks,
Matt
I was hoping to get some help on this one. I am looking to have appended to all images and media that get applied to a post via the upload tool in WordPress _thumb to the src of the media object.
Thanks,
Matt
You must be logged in to post a comment.
Check out this SO wordpress-3-0-media-uploader-alters-my-image-filename.
You could modify it something like;
Assuming you are trying to do this on the front-end, a simple solution would be something like the following:
Assuming something like:
jQuery as follows:
Would result in the following HTML:
And finally a working example at jsfiddle – http://jsfiddle.net/BTRax/7/
If you were trying to do this on the backend in PHP well then someone else will need to chime in 🙂