Jump to content

Search the Community

Showing results for tags 'file properties serverside'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • The Highlands
    • Announcements
    • Bruno's All Things Linux
    • All Things Windows
    • All Things Mac
    • Hardware
    • Mobility
    • Security & Networking
    • Social Media
    • The Restaurant at the Edge of the Universe
    • Forum Feedback

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 1 result

  1. macdunn

    Reading properties of a file

    Hi all, I am not sure if the Social Media forum is the right place for my question about serverside programming, but I will go ahead anyway. I have a large number (thousands) of photos which I want to easily organise, by name, on my website. Programming the pages (day-by-day) is time-consuming. I can use the glob() function in PHP to get a list of all of my JPG files in a specific sub-directory. I would like to also be able to read the dimensions for each individual photo so that I can have my PHP program write the appropriate sizing (height / width) on-the-fly. However, I cannot seem to find a PHP function to read the dimensions. File size, yes; dimensions, no. Is there a PHP function which I have missed, or a Javascript function, or...? Thanks in advance. -Mac-
×
×
  • Create New...