• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Xenforo interfering with /images folder

#1
I need to have an images folder for my wiki (xencarta) so I am using /images (a folder) for my pictures. When you enter www.unchartedtrails.net/images it says you do not have permission to access this which means the folder is working correctly. However when you go to www.unchartedtrails.net/images/citizen.jpg (a picture in the folder), xenforo appears and says the page cannot be found. Any ideas?

btw this is my template code:

HTML:
<li>
    <div class="iconBlock">
        <div><a href="wiki/{{{slug}}}/"><img src="images/{{{slug}}}.jpg" border="0" style="max-width: 100%;" alt="{{{name}}}" /></a></div>
        <div class="secondaryContent"><a href="wiki/{{{slug}}}/"><b>{{{name}}}</b></a></div>
    </div>
</li>
the image part is here (in code above):
HTML:
<img src="images/{{{slug}}}.jpg" border="0" style="max-width: 100%;"
 
#2
aaaannnndddd I figured it out.....

my file extensions in the folder were .JPG instead of .jpg >.<
didn't know that mattered until now. I'm like "that is the only explenation" and it was xD

Hope this helps people if you happen to have the exact same problem as my dumb ass
 

Slavik

XenForo moderator
Staff member
#3
aaaannnndddd I figured it out.....

my file extensions in the folder were .JPG instead of .jpg >.<
didn't know that mattered until now. I'm like "that is the only explenation" and it was xD

Hope this helps people if you happen to have the exact same problem as my dumb ass
Linux is case sensitive, even in extensions ;)