4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: TIMT on April 15, 2006, 03:50:37 PM

Title: Show File Size (kb) and Picture Size (pixel)
Post by: TIMT 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
Title: Re: Show File Size (kb) and Picture Size (pixel)
Post by: TIMT 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
Title: Re: Show File Size (kb) and Picture Size (pixel)
Post by: TIMT on April 21, 2006, 11:07:34 PM
Anybody....   :(
Title: Re: Show File Size (kb) and Picture Size (pixel)
Post by: littleteam on April 22, 2006, 10:12:10 AM
Maybe this will help ?

http://www.4homepages.de/forum/index.php?topic=11383.0
Title: Re: Show File Size (kb) and Picture Size (pixel)
Post by: TIMT 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.
Title: Re: Show File Size (kb) and Picture Size (pixel)
Post by: TIMT on June 07, 2006, 11:19:12 PM
How can I store this information in the Database?
Title: Re: Show File Size (kb) and Picture Size (pixel)
Post by: luener 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!?!