HI everyone,
Having a bit of a hard time trying to figure this out, and without using a plugin it's difficult. I'm trying to make the admin side as easy as possible for my client, and I think creating the media uploader in a meta box would be better and easier to use, but I don't quite know how to do this. The ability to choose a main image is also required, and I'm not sure if this is implemented within the WordPress system.
Does anyone know how this could be achieved? Like I mentioned, I do not want to use a plugin.
Thanks in advance
Michael
idealien
Member
Posted 1 year ago #
JsonB123
Member
Posted 1 year ago #
The only issue with this is that it seems to overwrite the normal uploader for the Post Edit box. E.G. When I click the image uploader on the Post Edit box, select my image and choose "insert into post" it posts the URL into my custom meta box...not the post editor.
I've tried using the fix posted here: http://austinpassy.com/2010/03/creating-custom-metaboxs-and-the-built-in-uploader/
But I'm still not able to get around this issue. Has anyone gotten this to work properly?
Hi!
I'm looking for exactly the same and found this plugin:
http://wordpress.org/extend/plugins/faster-image-insert/
it works quite well until WP 2.9, but unfortunately the authors hasn't found the time to update for WP 3.0. seems that it's not compatible to custom post types... maybee someone could help out updating it??
JsonB123
Member
Posted 1 year ago #
Hi skarck,
I found this plugin too which basiccally allows one to add multiple 'featured' images which solves my issues. These images can be used as custom meta stuff:
http://wordpress.org/extend/plugins/multiple-post-thumbnails/
davidmpaz
Member
Posted 1 year ago #
skarck
seems that it's not compatible to custom post types
Hello to all. I have found this link googling for something similar, its fit my needs in everything too but with custom types, so I modified it to take into account the custom types even make them configurable. Please give me a way to share the changes and I will be glad to do it.
greetings david
idealien
Member
Posted 1 year ago #
JsonB123:
Check out http://www.theenglishguy.co.uk/2010/01/24/multiple-media-uploads-in-wordpress-functions-php/
It was written in response to the multiple button upload issue after the author found the link I mentioned above. You should be able to add it for specific post types and not override default behaviour.