lobatt / gaephotos Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/gaephotos
Automatically exported from code.google.com/p/gaephotos
为什么上传大一些的文件就老502呢
Original issue reported on code.google.com by [email protected]
on 20 Apr 2012 at 1:55
为什么没有子目录的功能呢?
Original issue reported on code.google.com by [email protected]
on 28 Jan 2012 at 3:39
想增加WebP格式的圖片
但是提示不支援
已修改utils.py的代碼
添加為這樣:
class ImageMime:
GIF = "image/gif"
JPEG = "image/jpeg"
TIFF = "image/tiff"
PNG = "image/png"
BMP = "image/bmp"
ICO = "image/x-icon"
WEBP = "image/webp"
UNKNOWN = "application/octet-stream"
def get_img_type(binary):
size = len(binary)
if size >= 6 and binary.startswith("GIF"):
return ImageMime.GIF
elif size >= 8 and binary.startswith("\x89PNG\x0D\x0A\x1A\x0A"):
return ImageMime.PNG
elif size >= 2 and binary.startswith("\xff\xD8"):
return ImageMime.JPEG
elif (size >= 8 and (binary.startswith("II\x2a\x00") or
binary.startswith("MM\x00\x2a"))):
return ImageMime.TIFF
elif size >= 2 and binary.startswith("BM"):
return ImageMime.BMP
elif size >= 4 and binary.startswith("\x00\x00\x01\x00"):
return ImageMime.ICO
elif size >= 4 and binary.startswith("RIFF"):
return ImageMime.WEBP
else:
return ImageMime.UNKNOWN
好像還是不行,請問怎麼解決呢?
Original issue reported on code.google.com by [email protected]
on 3 Sep 2012 at 9:02
Attachments:
上传图片后删除,链接仍然可用,且再上传同名图片,用该��
�接还是显示头一次上传的图片,貌似不是浏览器缓存的问题�
��
Original issue reported on code.google.com by [email protected]
on 10 Aug 2012 at 2:53
现在这种布局,导致弹出层提示会挡住后面的功能,比如我��
�点击添加图片,可是要等这个弹出层消失才能点击
把提示移动到右下角就不会了
Original issue reported on code.google.com by [email protected]
on 9 Jul 2012 at 3:08
不是说上限是8M吗?但为什么我连大于1M但小8M的图片都不能��
�传呢?
Original issue reported on code.google.com by [email protected]
on 2 Jun 2011 at 9:22
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 15 Dec 2012 at 6:12
希望加入防盗链功能
Original issue reported on code.google.com by [email protected]
on 2 Feb 2012 at 6:57
What steps will reproduce the problem?
1.附带说一下之前那个问题的提交是错误的
我看到那行字就以为是不能上载图片了
其实是因为我没有创建相册 所以没有上载选项,抱歉!
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 26 Jun 2012 at 8:43
只要相册为中文名或有中文字符,上传图片时就一直在0%-上��
�中
如果是英文相册就可以正常上传
请问为什么?(注:网络上传图片均正常)
系统:Windows 8.1 x64
浏览器:Chrome 版本 33.0.1750.27 m
Original issue reported on code.google.com by [email protected]
on 22 Mar 2014 at 5:56
Attachments:
这个相册做的很不错,用了很久了,作者近来更新比较频繁��
�很赞!
GAE被墙了,希望作者能坚持做下去啊!~
Original issue reported on code.google.com by [email protected]
on 11 Dec 2010 at 4:57
关于水印功能:
希望能提供服务器上保存原始图片,外链输出(最好是动态��
�水印图片。
也就是输出给外链的图片都是有水印的,而服务器↑保存的��
�然为原始无水印图片。
a、最好是动态生成水印图片(当外链图片被人访问时,服务�
��动态输出水印图片)
b、如果动态生成水印服务器条件无法实现,可以折中。保存�
��份图片,对外显示正常相册内的图片,管理员可查看下载管
理内部相册(无水印)。两个相册为实时镜像。
c、以上功能用户可通过选项选择是否开启。
Original issue reported on code.google.com by [email protected]
on 13 Sep 2012 at 3:06
不能用slideshow,会出错,这是我架设的http://ziozhou-photos.appspot
.com/
另外指针指到“设为相册封面
”处没有变成手型,也没有高亮,不知道是不是故意设置成��
�样的。
Original issue reported on code.google.com by [email protected]
on 25 Aug 2010 at 6:53
1.如题
2.0.42版是否解决了7楼网友提出的“绑定域名后的问题”问题�
��
3.这个源码模板很给力,简洁大方。只可惜.appspot.com被墙了,
如不绑定域名后使用,意义不大。
4.谢谢作者!
Original issue reported on code.google.com by [email protected]
on 27 Nov 2011 at 9:03
我相册数22个了,地22个无法显示在上传和全部相册列表里。�
��是实际图片是存在的。
Original issue reported on code.google.com by [email protected]
on 11 Sep 2012 at 3:38
上传网络图片 1 到相册,自定义图片名为 "image",然后删除。
再次上传另外一张网络图片 2 到该相册,并仍命名为"image"。
此时相册中会出现 图片 1
这应该是个 bug 吧 ?
Original issue reported on code.google.com by [email protected]
on 7 Jul 2012 at 9:10
分两次分别上传了10张图片到一个相册,但是相册里只能看到
7张图片,部分在相册理看不到的图片首页最新上传有显示,�
��些不显示的图片确实到空间去了,因为直接输入图片地址可
以打开。
应该是相册管理部分把那些图片遗漏了
Original issue reported on code.google.com by [email protected]
on 14 Apr 2012 at 1:55
缩略图很快,但是超过2MB的图片点开之后要等好久才能完全��
�开啊!希望能优化一下图片的打开速度!
Original issue reported on code.google.com by goxofy
on 1 May 2012 at 2:06
如果有这个功能就好了
Original issue reported on code.google.com by [email protected]
on 14 Oct 2013 at 10:00
您好!我想自己搭建个网络相册,
用的是V1.01版的。也在admin中修改了上传照片大小限制为5M,��
�是在上传时出现了蓝色背景的“error
undefined”,并显示uploading。
还希望您有空帮忙指点一下。多谢!
Original issue reported on code.google.com by [email protected]
on 19 Mar 2012 at 4:55
Attachments:
1、数据备份
2、在管理模式下,可以支持图像详细信息的查看,如图像大�
��,上传者等等。又或者是在添加一个查看详细信息的链接来
实现这个功能。
希望越来越强大。 :)
Original issue reported on code.google.com by [email protected]
on 20 Mar 2012 at 9:11
1.03版国内不能顺利访问,多种方法试了N次了,但用代理都行,0.4
2版无题,实在不知是何问题,我个人还是喜欢1.03版
Original issue reported on code.google.com by [email protected]
on 4 Jun 2012 at 1:10
重新安装 1.01 版之后,访问 /feed 提示出错
Original issue reported on code.google.com by [email protected]
on 13 Mar 2012 at 5:39
base.html
第200~201行
应改为:
<input id="new_public" type="radio" name="new_public" value="true" checked/>{{ _("public") }}
<input type="radio" name="new_public" value="false"/>{{ _("private") }}
就是input标签的关闭符号“/>”放错位置了。
Original issue reported on code.google.com by vsk010
on 19 Apr 2012 at 2:06
使用"复制图片地址"按钮复制图片地址时,如果图片地址中带
有多个空格,复制的地址中只有一个空格
我一个图片文件名中有3个空格,"复制图片地址"按钮复制的��
�址中只有一个空格,
通过“查看原始图片”得到的地址是正确的
Original issue reported on code.google.com by [email protected]
on 14 Aug 2013 at 6:52
What steps will reproduce the problem?
1.只支持Firefox和Chrome, 不支持IE
2.1.0.3
3.我的操作系统是win8 32,chrome 19 添加图片却提示以上错误
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 26 Jun 2012 at 8:27
我相册使用的中文名,
本来直接链接的图片应该是utf-8的,但是我也不知道为什么地
址错误记录里面会是gbk编码的,然后服务器就不能处理,
正常的应该是
http://www.ishareimg.tk/VPN%E9%85%8D%E7%BD%AE%E6%96%B9%E6%B3%95/andriod-7.jpg
但是会出来下面的链接地址
www.ishareimg.tk/VPN%C5%E4%D6%C3%B7%BD%B7%A8/andriod-7.jpg
不知道是否有办法解决,或者我就只有忽略这个了
在appengine看到错误代码是下面的,
'utf8' codec can't decode byte 0xc5 in position 3: invalid continuation byte.
You passed in 'VPN\xc5\xe4\xd6\xc3\xb7\xbd\xb7\xa8' (<type 'str'>)
Traceback (most recent call last):
File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1511, in __call__
rv = self.handle_exception(request, response, e)
File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1505, in __call__
rv = self.router.dispatch(request, response)
File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1253, in default_dispatcher
return route.handler_adapter(request, response)
File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1077, in __call__
return handler.dispatch()
File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 547, in dispatch
return self.handle_exception(e, self.app.debug)
File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 545, in dispatch
return method(*args, **kwargs)
File "/base/data/home/apps/s~ishareimg/1.359190792577741269/main.py", line 835, in get
self.send_photo(force_unicode(albumname), force_unicode(photoname), "photo")
File "/base/python27_runtime/python27_lib/versions/third_party/django-1.2/django/utils/encoding.py", line 88, in force_unicode
raise DjangoUnicodeDecodeError(s, *e.args)
DjangoUnicodeDecodeError: 'utf8' codec can't decode byte 0xc5 in position 3:
invalid continuation byte. You passed in 'VPN\xc5\xe4\xd6\xc3\xb7\xbd\xb7\xa8'
(<type 'str'>)
Original issue reported on code.google.com by [email protected]
on 7 Jun 2012 at 8:44
希望能够一次性下载所有相册
Original issue reported on code.google.com by [email protected]
on 2 Jul 2012 at 12:40
希望作者有时间优化一下源码,主要是针对Datastore Read
Operations这一项的优化,这可能和数据库查询有关,在GAE结束�
��览版实行收费后超额严重。我倒是觉得没必要升级到python2.7
,只要是能对付GAE新的收费政策就行。实际上用gaephotos的人还�
��蛮多的,只不过code.google不翻墙很难访问。我就是把gaephotos�
��码放在墙内的网盘,供不会翻墙的网友下载的。
祝作者新年快乐!
Original issue reported on code.google.com by [email protected]
on 5 Jan 2012 at 8:41
RT,如何备份原始数据
Original issue reported on code.google.com by [email protected]
on 20 Apr 2012 at 3:47
想到一些点子。
1、把“下载相册”改名为“备份相册”。然后在傍边增加最�
��一次备份时间。
这样就可以很方便的提醒用户哪些需要备份了。作为博客的��
�床觉得很重要,这样就不用重复下载未更新的相册了。
而且可以利用这个时间戳,很容易的就增加一些小功能,比��
�定时提醒备份等等。
2、为每个相册增加显示体积信息。这样当一个相册超过30MB的
时候,用户可以及时创建新相册以方便下载。
Original issue reported on code.google.com by [email protected]
on 17 Jul 2012 at 7:33
希望GaePhotos增加下面几个小功能
1.一键复制功能
功能类似大菠萝的一键复制设置,这样利于作为博客的图床,大菠萝的一键复制说明见:http://sa3.org/program/sa3album-copy/
2.目前相册不支持改名呀,希望能增加改名功能,同时相册图
片的引用地址最好不是相册名,可以按照相册建立的顺序,��
�以用a,b,c ……这样改名也不影响相册的图片引用
3.希望多一点皮肤支持,在后台可以切换最好!
Original issue reported on code.google.com by [email protected]
on 17 Jul 2012 at 5:27
Attachments:
建议增加像sa3album的url上传的方式
Original issue reported on code.google.com by [email protected]
on 20 Apr 2012 at 1:52
发现在Firefox24环境中上传图片永远保持0%状态的情况。
使用控制台监视,发现错误
[22:56:21.976] TypeError: Cannot convert string to ByteString because the
character at index 15 has value 28779 which is greater than 255. @
http://绑定的域名/admin/upload/:270
在最新版chrome中没有此问题。
求解决
Original issue reported on code.google.com by [email protected]
on 25 Sep 2013 at 2:59
小白一个求教啊,已经在电脑上装了Google App Engine和Python27
Original issue reported on code.google.com by [email protected]
on 4 Jun 2012 at 3:33
用google app engine launch打开是红色,没法运行
Original issue reported on code.google.com by [email protected]
on 22 Aug 2012 at 3:09
我的空间绑定了域名,在墙内可以访问首页。但是点击图片��
�会自动跳转到
***.appspot.com这个网址,而不是我绑定的域名。这个有办法解��
�吗?
Original issue reported on code.google.com by [email protected]
on 13 Jun 2011 at 5:28
如题
Original issue reported on code.google.com by [email protected]
on 18 Nov 2010 at 8:14
希望能添加图片在相册间移动的功能。
Original issue reported on code.google.com by [email protected]
on 4 Jun 2012 at 1:01
上传页面出现错误,那个SWF的文件没有显示,是以下文字:
---SWFUpload Instance Info---
Version: 2.2.0 2009-03-25
Movie Name: SWFUpload_0
Settings:
upload_url: /admin/uploadphoto/
flash_url: /static/swfupload/swfupload.swf?preventswfcaching=1288922413231
use_query_string: false
requeue_on_error: false
http_success:
assume_success_timeout: 0
file_post_name: Filedata
post_params: [object Object]
file_types: *.jpg;*.png;*.gif;*.jpeg;*.tiff;*.ico;*.bmp;*.jpe;*.JPG;*.PNG;*.GIF;*.JPEG;*.TIFF;*.ICO;*.BMP;*.JPE
file_types_description: Web Image Files
file_size_limit: 1 MB
file_upload_limit: 100
file_queue_limit: 0
debug: true
prevent_swf_caching: true
button_placeholder_id: spanButtonPlaceHolder
button_placeholder: Not Set
button_image_url: /static/swfupload/button_image.png
button_width: 120
button_height: 29
button_text: <span class="size12">选择相片上传</span>
button_text_style: .size16 { font-size: 12; }
button_text_top_padding: 5
button_text_left_padding: 20
button_action: -110
button_disabled: false
custom_settings: [object Object]
Event Handlers:
swfupload_loaded_handler assigned: false
file_dialog_start_handler assigned: true
file_queued_handler assigned: true
file_queue_error_handler assigned: true
upload_start_handler assigned: true
upload_progress_handler assigned: true
upload_error_handler assigned: true
upload_success_handler assigned: true
upload_complete_handler assigned: true
debug_handler assigned: true
SWF DEBUG: SWFUpload Init Complete
SWF DEBUG:
SWF DEBUG: ----- SWF DEBUG OUTPUT ----
SWF DEBUG: Build Number: SWFUPLOAD 2.2.0
SWF DEBUG: movieName: SWFUpload_0
SWF DEBUG: Upload URL: /admin/uploadphoto/
SWF DEBUG: File Types String:
*.jpg;*.png;*.gif;*.jpeg;*.tiff;*.ico;*.bmp;*.jpe;*.JPG;*.PNG;*.GIF;*.JPEG;*.TIF
F;*.ICO;*.BMP;*.JPE
SWF DEBUG: Parsed File Types:
jpg,png,gif,jpeg,tiff,ico,bmp,jpe,jpg,png,gif,jpeg,tiff,ico,bmp,jpe
SWF DEBUG: HTTP Success: 0
SWF DEBUG: File Types Description: Web Image Files
(*.jpg;*.png;*.gif;*.jpeg;*.tiff;*.ico;*.bmp;*.jpe;*.JPG;*.PNG;*.GIF;*.JPEG;*.TI
FF;*.ICO;*.BMP;*.JPE)
SWF DEBUG: File Size Limit: 1048576 bytes
SWF DEBUG: File Upload Limit: 100
SWF DEBUG: File Queue Limit: 100
SWF DEBUG: Post Params:
SWF DEBUG: owner=htf6782414
SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
SWF DEBUG:
Original issue reported on code.google.com by [email protected]
on 5 Nov 2010 at 2:04
我用1.01版本做了一个相册,但感觉评论没有老版本的方便,�
��须要用google的账号登陆上才可以评论?我的地址是http://www.m
ancaotuku.tk/,不知道是我我找到方法,还是现在就是这样的哦�
��
Original issue reported on code.google.com by [email protected]
on 20 Mar 2012 at 4:54
1.
访问
http://photos.deepgully.com/201108青海湖/P8155635.jpg
直接显示图片,
而不是
http://photos.deepgully.com/showimage/893006/
这样方便图片搬家。至于重名问题,可以由上传人手工解决��
�
2.水印?
thanks for your work
hope to see the new relase soon
Original issue reported on code.google.com by [email protected]
on 24 Jan 2012 at 4:11
RT,
不知作者能否写个更换皮肤的wike
Thanks.
Original issue reported on code.google.com by [email protected]
on 24 Aug 2011 at 7:34
白名单格式是怎样的啊?怎样添加多条白名单?
举例子更好了!
谢谢!
Original issue reported on code.google.com by [email protected]
on 30 Jun 2012 at 9:40
今天在IE下使用,发现了点击一幅具有中文标题的图像后,标
题会出现乱码。
Original issue reported on code.google.com by [email protected]
on 9 Apr 2012 at 3:08
Attachments:
update 运行后一闪就没了
Original issue reported on code.google.com by [email protected]
on 1 Jul 2013 at 9:52
What steps will reproduce the problem?
1.每次都会出现,目前就没有上传成功过
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
0.43,原来0.42也出问题直到更新新版还是一样
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 30 Jan 2012 at 11:12
白名单格式是怎样的啊?怎样添加多条白名单?
举例子更好了!
谢谢!
Original issue reported on code.google.com by [email protected]
on 30 Jun 2012 at 9:39
这是我用过的最好的基于GAE的photo源码。给博客做图床,按现行GAE的免费额度基本够用。网友们最好绑定域名使用,实现墙内访问,这样更有价值。
gaephotos演示:http://gaephotos.tk
gaephotos镜像:https://look.speedymirror.com
Original issue reported on code.google.com by [email protected]
on 29 Nov 2011 at 2:03
当我双击upload.bat后,那个黑色的窗口只出现了一瞬间,之后�
��消失了,我甚至都见不到黑色,但我知道那个窗口是黑色的
。
Original issue reported on code.google.com by [email protected]
on 2 Jun 2011 at 7:09
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.