johnnygaddaar.cs58
New Member
- Messages
- 21
- Reaction score
- 1
- Points
- 0
Hello,
I am using TILTVIEWER in my Website for displaying my Photo Gallery Images in a Flash View here http://www.clan-icsl.com/images/photoalbum/
Actually my Photo Gallery stores all Thumbnail and Enlarged images in a single folder. And I want to display only the enlarged images.
So using the code given below, I am able to GET all the images.
But, I am unable to exclude particular images, i.e, Thumb images as *_t1.jpg and *_t2.jpg where t1 and t2 refers to Thumbnail 1 and 2 of the Enlarged images.
So please help me to edit this code to get my problem resolved.
I am using TILTVIEWER in my Website for displaying my Photo Gallery Images in a Flash View here http://www.clan-icsl.com/images/photoalbum/
Actually my Photo Gallery stores all Thumbnail and Enlarged images in a single folder. And I want to display only the enlarged images.
So using the code given below, I am able to GET all the images.
But, I am unable to exclude particular images, i.e, Thumb images as *_t1.jpg and *_t2.jpg where t1 and t2 refers to Thumbnail 1 and 2 of the Enlarged images.
So please help me to edit this code to get my problem resolved.
<?php
echo "<tiltviewergallery>
<photos>";
$files = glob("*/*.jpg");
for ($i=1; $i<count($files); $i++)
{
$num = $files[$i];
echo '<photo imageurl="'.$num.'" linkurl="http://www.google.com">
<title>Image 1</title>
<description>This is a regular text description.</description>
</photo>';
}
echo '</photos>
</tiltviewergallery>';
?>