Copy files
How can I copy a file from one folder to another(subfolder) without change and property. I work on zope. -- http://mail.python.org/mailman/listinfo/python-list
DELETE an image
hi guys, could u tell me how to delete images ( files) from a folder by using tags in zope? Because I upload images there and test whether it is meet size requirment and then upload it to the folder it supposed to be. Pls help me, thanks. Cheng -- http://mail.python.org/mailman/listinfo/python-list
Upload and Resize image problem HELP!!!
I use following Python Script to upload file and image's but I can not specify a folder to store image. can any one help me? And I want to resize all the pictures, What shall I do? Finished thanks Cheng -- http://mail.python.org/mailman/listinfo/python-list
Re: About Image Size
Problem was solved thanks Cheng -- http://mail.python.org/mailman/listinfo/python-list
About Image Size
Finally I found that getSize()can be used to show the size of the image. but here I got another problem. these code is used to show the last uploaded picture's size. But when I run the method it says Error Type: AttributeError Error Value: 'str' object has no attribute 'getSize' Could anyone help me out? Thanks a lot. Cheng -- http://mail.python.org/mailman/listinfo/python-list
Re: Probelem about image size and dimensions
Is that because I can not import PIL ? then i can not use codes above to show all image id? -- http://mail.python.org/mailman/listinfo/python-list
Re: Probelem about image size and dimensions
Hi Diez, They do not allow me to do what u said above. so I do not have any idea what is supposed to do. however i am think that if I can get the id of the image, i have chance to modify it. This is what i programed but it is an empty page, I but it in images folder File Library File Last Modified is there any mistake? How ever thank you alot Diez. Your comments and suggestion are helpful. P.S. i am doing my internship in a commercial company:(, create external method is not allowed in my situation Cheng -- http://mail.python.org/mailman/listinfo/python-list
Re: Probelem about image size and dimensions
Diez, I asked the administrator that they won't allow me to import Image and PIL in Zope. I am wondering that how can I get the height and width and the size of the image in this situation? Can I just use to get Image's addtributs? Cheng -- http://mail.python.org/mailman/listinfo/python-list
Re: Probelem about image size and dimensions
Thank you for your reply. I have been learning python only 2 weeks. According what u said. I tried to import Image but there 's an error on the server. here is the message Error Type: ImportError Error Value: import of "Image" is unauthorized -- http://mail.python.org/mailman/listinfo/python-list