I realise that this has been asked probably many times. I have searched but have not been able to find the relative answer - most likely not searching properly??
Anyway, what I would like to do is to display multiple images relating to one topic, ie. One member has 4 images associated with him/her and I need to display those images. There are multiple members and this must all be on one page. I have a MySql database setup with the member information, I will just add a field/s to the table that will hold the path to the images. Thinking a maximum of four images per member should suffice my needs. There is no need to search for a particular member, just a page that will display all members and just their basic information and then the photos.
Now comes the tricky part. I realise that the loading time of this could be quite substantial, so what I would like to do is have two images for each photo, ie. one scaled down and one original. The scaled down image would be the one that would appear in the table and then if clicked on, would load the original. That way, the loading time of the page will be a lot faster, especially when loading photos for 20 members or more!
Can the scaling down of the photos be done with PHP code or will that have to be done with a graphics program and saved seperately?
I haven't even started on the code yet, so if anybody can help me in the right direction I would be gratefull. I need to start working on this for the charity as they are now pushing me for something to go live soon.
Thanks in advance for the help guys!