This question is for a Coppermine integration plugin (http://mvdkwast.free.fr/wordpress/page_id=36) I'm working on, but this question can be generalized to any CMS integration project.
I want to be able to upload pictures from within the editor screen in WordPress, and I don't want to leave the editor while doing that. The obvious solution is a popup window. After the pictures are uploaded, I want the bar above the editor to show the most recent pictures in the Gallery (with some AJAX, if you
must hear the buzzwords ;) )
Look at the picture, you will see what I mean.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fmvdkwast.free.fr%2Fgallery%2Falbums%2Fuserpics%2F10001%2Fnormal_scr.png&hash=108f87073c5c03ecf62df9b525ab91a8d2fe5bab) (http://mvdkwast.free.fr/gallery/displayimage.php?album=4&pos=2)
Now, my problem is that by default, upload.php is themed. So I created a new minimal theme for the upload window, and for this screenshot I set it manually (?theme=nada).
So, is there a way to run upload.php without theming, and without having to reset the theme with ?theme=xxx ? A requirement is to keep Coppermine intact (no hackyhacky with the core... ) Or maybe you know another way to achieve this ?
My apologies if I should have posted this elsewhere, I didn't really know where to ask...
bvd,
stilgar
Nevermind, I created a new php file adapted from upload.php . I would have prefered a way to just theme upload.php to do that since it would be easier to upgrade, but it works.