sure you can do that but what if the pic is 2000*2000 px? not very convenient in my eyes
On 11 Apr., 13:12, Andrew Leach <[email protected]> wrote: > On 11 April 2011 12:07, en4ce <[email protected]> wrote: > > > > > generally its best if you resize the pics on the server, its not that > > difficult and there are a lot of tutorials on this, so resize the pics > > when they are uploaded / shortly after > > > if you want to preload the pics then sure its no problem just insert > > them in a array but this could significantly boost your traffic, i am > > not a fan of this > > You don't need to do either. When you create the HTML of the page > insert the size of the image into the <img> > tag.http://php.net/manual/en/function.getimagesize.php -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
