On a minor site I've got a script that uses the getimagesite() function on all items in a list loaded externally.
The reason I'm doing this is that I want to make it possible to change the list of filenames, but not having to type in the width and height manually.
So I've heard that using GetImageSize()[3]
( [3] is the: 'width="XX" height="XX"' ) instead of either having the values hardcoded or omitted will "definitly slow down a lot!".
Well? HOW MUCH does it slow down ?
I would prefer NOT to omit the width and height values because of the way the page is loaded in then.
It is about 5-10 images a page (50-100 all together) and they are considerably small (about 150*150).
Performance statistics? Anyone?
PS. I know that the db-fs alternative would be nice, but that is not the case here. And that includes having to set up that code for an hour or so.
Performance statistics? Anyone?
And where do I find resources to learn what and which is good and not good to use for certain purposes? I also want to become an expert.