Browse Source

added hint about image size

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

6
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+)', 'show' ),
( r'$', 'mumbles' ),
( r'(?P<server>\d+)/texture.jpg', 'showTexture' ),
( r'(?P<server>\d+)', 'show' ),
( r'$', 'mumbles' ),
)

2
template/mumble/mumble.htm

@ -44,6 +44,8 @@
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 />
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>
<form action="" method="post" enctype="multipart/form-data">
<table>

Loading…
Cancel
Save