For some reason the scroll buttons are not appering on the thumbnails and i am unabel to scroll through them can you help.
Also is there any way to Have it display the file Name rather than the IPTC data?
Thanks
Martin
For some reason the scroll buttons are not appering on the thumbnails and i am unabel to scroll through them can you help.
Also is there any way to Have it display the file Name rather than the IPTC data?
Thanks
Martin
Okay, sorry about that, but I have fixed this issue. You'll need to download the latest and replace the js/e2photo2.js file or download this file only:
I have now fixed it and your thumbnails scrolling will work with this update.
To be able to grab this file name, would be an easy change.
Open up the getfolders.php file and find the following line (about line #58):
echo "$galleryName";echo"[".$j."]=['".$path."/".$file[name]."', '".$width."', '".$height."', '".$size."', '".$title."', '".$author."', '".$copyright."', '".$description."', '".$j."']\n";
change it to:
echo "$galleryName";echo"[".$j."]=['".$path."/".$file[name]."', '".$width."', '".$height."', '".$size."', '".$file[name]."', '".$author."', '".$copyright."', '".$description."', '".$j."']\n";
Thanks this has resolverd the scroll problem.
is there anyway of displaying the file name with out th efile extetion?
Regards
Martin
To be able to grab this file name, would be an easy change.
Open up the getfolders.php file and find the following line (about line #58):
echo "$galleryName";echo"[".$j."]=['".$path."/".$file[name]."', '".$width."', '".$height."', '".$size."', '".$title."', '".$author."', '".$copyright."', '".$description."', '".$j."']\n";
change it to:
echo "$galleryName";echo"[".$j."]=['".$path."/".$file[name]."', '".$width."', '".$height."', '".$size."', '".$file[name]."', '".$author."', '".$copyright."', '".$description."', '".$j."']\n";
I got that working now is there a way of stoping it displaying the .jpg?
Thanks again
Martin
Try this instead:
$newfilename = preg_replace("/\.jpg$/i", "", $file[name]);
echo "$galleryName";echo"[".$j."]=['".$path."/".$file[name]."', '".$width."', '".$height."', '".$size."', '".$newfilename."', '".$author."', '".$copyright."', '".$description."', '".$j."']\n";Thanks
That works perfectly
Great work Keep it up
You must log in to post.