Error displaying images: wrong path
molymp - April 13, 2007 - 11:31
| Project: | Mugshot |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | bonvga |
| Status: | closed |
Jump to:
Description
I have a problem in displaying taken pictures. files are stored as they should (mydomain.tld/site/files/mugshot/mugshot_filename.jpg). But galley and sideboxes look at mydomain.tld/site/SYSTEM/files/mugshot/mugshot_filename.jpg
So far I couldn't find a place where I could change this path. Or where mugshot gets it from...
Any hints?
Thank you!

#1
Hi,
Do you use the private or public download method in the drupal settings ?
I've never tested the mugshot module with the private download method.
#2
Since no one followed up - confirmed. This module does not display images if your file systems is set to private.
#3
well, I'm not having "wrong path" issue, I'm not just having the path,
I had enabled user rights, and I have public file system setup.
I also see that the camera takes pictures and the .jpg files are created on the server.
I also see that the table mugshot has new entries on it.
so, this is what I get:
<ul class="mugshot"><li class="mugshot"></li>
<li class="mugshot"></li>
<li class="mugshot"></li>
<li class="mugshot"></li>
<li class="mugshot"></li>
</ul>
hey, nice shot, keep on moving!
#4
Check this patch, it might very well solve your problem ;-)
#5
Thanks again !
#6