Hi friends,

I got a pretty big problem.

I got a big directory full of images, like 2000 of them (and rapidly rising). For now, the front-end works perfectly with it, but to avoid getting to the point of 200.000 and total breakdown of it all, i decided to put images into dirs.

The problem is, when i call images from directories, they simply don't fully load.

as a part of a "while" loop where i pull filenames from database, i show images like this:


I pull them from the one big dir like this:

<img src="'.$bigfolder/'.$filename.'" />

I pull them from separate small dirs like this:

<img src="'.$bigfolder/'$subfolder_name.$filename.'" />

but the 1st one works great
and the 2nd one renders some images fully, some partially...

images are 100-200kb, if it matters, and there's like 20 per page

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.