Jump to content

fusiongt

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

fusiongt's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Was wondering if anyone could help... sorry if bumping my own message is against the rules.
  2. Hi I'm somewhat new to PHP. I know the basics like connecting and manipulating a MySQL database but I haven't delved too far into what PHP has to offer. I came about a problem recently that I would like to know if it is possible for PHP to solve... So I run a fairly large web site that focuses on large image galleries. The image galleries are just basic html pages that are created from one of those programs that automatically create image galleries. I noticed the load times weren't that great as the images ranged from 75kb-300kb... My solution to this would be to add this script to load the next image in the gallery while the person views the current image. (in the header) <script language="javascript"> if (document.images) {   img1 = new Image();   img1.src = "load_next_image.jpg"; } </script> The problem I am having is how would I get it so my program that creates image galleries knows to put the next image in the "load_next_image.jpg" area? My program right now doesn't have an option and I'm no programmer genius to manipulate it. I've seen PHP do a lot of neat things and was wondering if it could some how know what the next image in the directory is... is this possible? If someone could please help it would make my day. Thanks!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.