forked from indymedia/epicyon
Image description
parent
9027d68ab7
commit
a496801a87
|
@ -974,13 +974,12 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
|
||||
# full screen images shown from the media timeline
|
||||
if self.path.startswith('/fullscreen?'):
|
||||
fullscreenImageStr=self.path.split('?img=')
|
||||
imageFilename=fullscreenImageStr[1]
|
||||
imageFilename=self.path.split('?img=')[1]
|
||||
if '?' in imageFilename:
|
||||
imageFilename=imageFilename.split('?')[0]
|
||||
imageDescription=None
|
||||
if '?desc=' in self.path:
|
||||
imageDescription=self.path.split('?desc=')
|
||||
imageDescription=self.path.split('?desc=')[1]
|
||||
if '?' in imageDescription:
|
||||
imageDescription=imageDescription.split('?')[0]
|
||||
msg=htmlFullScreenImage(imageFilename,imageDescription)
|
||||
|
|
Loading…
Reference in New Issue