I'm greatly looking forward to using this plugin, but unfortunately, the directory tree in the import media dialog is not showing any directories or files (even though I've set the directory properly in importMedia.config). I'm using a new installation of 4.5.2 on IIS 7 running under ASP.NET 4.0 with integrated pipeline. Is there a data type I need that's not part of the 4.5.2 install?
I've also made sure that there are all different file types (gif, jpg, png, and pdf) in my directory I want to import from (although I intend to just do PDFs), so it's not that there aren't files there.
This is what's showing:
And here's my importMedia.config:
<?xml version="1.0" encoding="utf-8" ?> <settings> <folders> <!-- Add as many import directories as you wish --> <folder>/data/pdf/</folder> </folders> <images thumbnailMaxWidthHeight="100" /> </settings>
Try making your path relative to the application root using a tilde as otherwise it may be looking for your import folder relative to the import dialog.
Example:
<?xml version="1.0" encoding="utf-8"?> <settings> <folders> <!-- Add as many import directories as you wish --> <folder>~/data/pdf/</folder> </folders> <imagesthumbnailMaxWidthHeight="100"/> </settings>
I will make a note to update the shipped config file to make this more obvious. Please let me know how you get on and if this resolved the issue please vote and mark the solution for others.
Thanks ever so much as that solved that issue (although it *should* have been fine with it rooted to the app root with the /). Thank you for the prompt reply and for the plugin!
Hey Ted, glad you got it sorted however after some testing I found that your original path worked after touching the web.config which leads me to believe there may be some caching issue with the config somewhere.
Please take a moment to vote for the package if you like it and also mark my response as the solution for the benefit of others.
All my entries were similar so possibly just cached the first default one which would have *worked* except it doesn't exist on my system (and therefore an empty directory tree). I thought I touched the Web.config to restart to see if that helped, but I must not have.
Directory tree not showing in Import Media dialog
I'm greatly looking forward to using this plugin, but unfortunately, the directory tree in the import media dialog is not showing any directories or files (even though I've set the directory properly in importMedia.config). I'm using a new installation of 4.5.2 on IIS 7 running under ASP.NET 4.0 with integrated pipeline. Is there a data type I need that's not part of the 4.5.2 install?
I've also made sure that there are all different file types (gif, jpg, png, and pdf) in my directory I want to import from (although I intend to just do PDFs), so it's not that there aren't files there.
This is what's showing:
And here's my importMedia.config:
Try making your path relative to the application root using a tilde as otherwise it may be looking for your import folder relative to the import dialog.
Example:
I will make a note to update the shipped config file to make this more obvious. Please let me know how you get on and if this resolved the issue please vote and mark the solution for others.
Simon,
Thanks ever so much as that solved that issue (although it *should* have been fine with it rooted to the app root with the /). Thank you for the prompt reply and for the plugin!
Ted
Hey Ted, glad you got it sorted however after some testing I found that your original path worked after touching the web.config which leads me to believe there may be some caching issue with the config somewhere.
Please take a moment to vote for the package if you like it and also mark my response as the solution for the benefit of others.
Cheers, Simon
Done and done.
All my entries were similar so possibly just cached the first default one which would have *worked* except it doesn't exist on my system (and therefore an empty directory tree). I thought I touched the Web.config to restart to see if that helped, but I must not have.
Thanks.
Ted
is working on a reply...