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
|
# full screen images shown from the media timeline
|
||||||
if self.path.startswith('/fullscreen?'):
|
if self.path.startswith('/fullscreen?'):
|
||||||
fullscreenImageStr=self.path.split('?img=')
|
imageFilename=self.path.split('?img=')[1]
|
||||||
imageFilename=fullscreenImageStr[1]
|
|
||||||
if '?' in imageFilename:
|
if '?' in imageFilename:
|
||||||
imageFilename=imageFilename.split('?')[0]
|
imageFilename=imageFilename.split('?')[0]
|
||||||
imageDescription=None
|
imageDescription=None
|
||||||
if '?desc=' in self.path:
|
if '?desc=' in self.path:
|
||||||
imageDescription=self.path.split('?desc=')
|
imageDescription=self.path.split('?desc=')[1]
|
||||||
if '?' in imageDescription:
|
if '?' in imageDescription:
|
||||||
imageDescription=imageDescription.split('?')[0]
|
imageDescription=imageDescription.split('?')[0]
|
||||||
msg=htmlFullScreenImage(imageFilename,imageDescription)
|
msg=htmlFullScreenImage(imageFilename,imageDescription)
|
||||||
|
|
Loading…
Reference in New Issue