Thanks for all the helpful info. I'm trying to tell you I don't know how to get the filesize($filename) to display on the page. There has to be some kind of formatting and I can't figure it out.
For instance, in html, I can't show an image by typing:
img src="http://www.google.com/1.jpg"
I have to type:
So how do I get filesize($filename) to display on the page?
Would anyone be interested in showing me how to get the filename, file date, and file size to display in gallery.php and image.php?
If you want something in exhange, I would be happy to write about your site, product or service on iGotStiffed.com or SillyReviews.com
Thanks.
Ok, here are a photo and the code for album.php. The theme is zpskeleton.
Where you see "5555555" is where I'd like to be able to display the file size in MB and the file name.
What could I put in place of "55555555" to achieve these results?
Screenshot: http://imgur.com/kloFO
album.php code: http://codeviewer.org/view/code:2a8f
echo filesize(getFullImageURL());. You might need to do some calculating to get the MB value itself.echo $_zp_current_image->filename;I suggest you take some time to learn php basics, for example on http://www.w3schools.com/php/default.asp.
We have really no resource to teach that here. Sorry.
I appreciate your help with this. I have been editing php in Wordpress for many years without as much difficulty as I am finding here. ZenPhoto is absolutely perfect for the application I am using it for (somewhat of a "Tube" site).
As for your last reply, the filename now shows, but the file size does not. Am I making a mistake?
`
`