Browse Source

changed url to point to "texture.png" instead of .jpg

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
046f4ebbd1
  1. 2
      pyweb/mumble/urls.py
  2. 2
      template/mumble/mumble.htm

2
pyweb/mumble/urls.py

@ -18,7 +18,7 @@ from django.conf.urls.defaults import *
urlpatterns = patterns(
'mumble.views',
( r'(?P<server>\d+)/texture.jpg', 'showTexture' ),
( r'(?P<server>\d+)/texture.png', 'showTexture' ),
( r'(?P<server>\d+)', 'show' ),
( r'$', 'mumbles' ),
)

2
template/mumble/mumble.htm

@ -43,7 +43,7 @@
<p>
You can upload an image that you would like to use as your user texture here.<br />
Your current texture is:<br />
<img src="/mumble/{{DBaseObject.id}}/texture.jpg" alt="user texture" /><br />
<img src="/mumble/{{DBaseObject.id}}/texture.png" alt="user texture" /><br />
Hint: The texture image <b>needs</b> to be 600x60 in size. If you upload an image with
a different size, it will be resized accordingly.<br />
</p>

Loading…
Cancel
Save