Author Topic: Show File Size (kb) and Picture Size (pixel)  (Read 10826 times)

0 Members and 1 Guest are viewing this topic.

Offline TIMT

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Show File Size (kb) and Picture Size (pixel)
« on: April 15, 2006, 03:50:37 PM »
Hi,

I have implemented the following MOD:

Auto-Image Resizer v2.1
http://www.4homepages.de/forum/index.php?topic=6978.0

The original picture is copied into a subdirectory "big". From time to time, I move the original pictures to my server.

Know I want to show the file size (kb) and the size of the pictures in pixel (e.g. 3264 x 2176) in detail.html.
Therefore I have to store this two information in the database, because the original picture is not on the server anymore.

How can I store the information and how can I display this two information.

Thank you for helping me!

TIMT

Offline TIMT

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: Show File Size (kb) and Picture Size (pixel)
« Reply #1 on: April 17, 2006, 09:12:34 AM »
I want to show filesize and dimension without having the original file on the server. Therefore I have to store this information in the database, haven't I?
Is that tricky to do? Can anybody help me?

Thanks

Offline TIMT

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: Show File Size (kb) and Picture Size (pixel)
« Reply #2 on: April 21, 2006, 11:07:34 PM »
Anybody....   :(

Offline littleteam

  • Newbie
  • *
  • Posts: 34
    • View Profile
    • Littleteam.de
Re: Show File Size (kb) and Picture Size (pixel)
« Reply #3 on: April 22, 2006, 10:12:10 AM »
trust no-one

Offline TIMT

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: Show File Size (kb) and Picture Size (pixel)
« Reply #4 on: April 22, 2006, 10:33:33 AM »
Thanks littleman

I already have the fields "file size" and "dimension" in the db and in ACP. I can this information manage manually. But I want to update this fields during the upload-process automatically.

Offline TIMT

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: Show File Size (kb) and Picture Size (pixel)
« Reply #5 on: June 07, 2006, 11:19:12 PM »
How can I store this information in the Database?

Offline luener

  • Jr. Member
  • **
  • Posts: 54
  • Pessimisten sind Optimisten mit mehr Erfahrung!
    • View Profile
    • TopFoto24.com
Re: Show File Size (kb) and Picture Size (pixel)
« Reply #6 on: August 25, 2006, 09:00:26 AM »
How can I store this information in the Database?

I´m intrested too!!!
The File_Size should be stored in Database at the Pic-Upload!?!