Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > About Image Size

Reply
Thread Tools

About Image Size

 
 
ChengGong
Guest
Posts: n/a
 
      03-24-2006
Finally I found that getSize()can be used to show the size of the
image. but here I got another problem.

<dtml-let images="objectItems('Image')">
<dtml-in images reverse sort="bobobase_modification_time" size=1
orphan=0>
<dtml-let item=sequence-item name="item.id()" >
<dtml-var "name.getSize()">

</dtml-let>
</dtml-in>
</dtml-let>

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

 
Reply With Quote
 
 
 
 
ChengGong
Guest
Posts: n/a
 
      03-24-2006
Problem was solved thanks

Cheng

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Preferred Size, Minimum Size, Size Jason Cavett Java 5 05-25-2008 08:32 AM
mega pixels, file size, image size, and print size - Adobe Evangelists Frank ess Digital Photography 0 11-14-2006 05:08 PM
Image size problem. Image Compression =?Utf-8?B?UGFyYWtp?= ASP .Net 1 06-24-2005 11:55 AM
How to Shrink image size when browser size is reduced Bob Richardson Javascript 3 03-08-2005 06:37 AM
Bigger image size and lower quality vs. Smaller image size and higher quality Desmond Digital Photography 5 09-27-2003 04:08 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57