rejetto forum
		Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: randyrod on July 21, 2013, 10:27:08 AM
		
			
			- 
				I have been looking for a way to view my photo collection (on PC) through my ipad. Today i thought of using HFS to serve up the photos to the ipad's browser. I used Top-up Javascript (http://gettopup.com/ (http://gettopup.com/)) in the template. I added this line in the head:
 
 <script type="text/javascript" src="http://gettopup.com/releases/latest/top_up-min.js"></script>
 and i added this line in the sections (on top of the [files] section):
 
 [file.jpg]
 <tr><td>%new% %protected% <a href="%item-url%" toptions="shaded = 1, overlayClose = 1, group = 1"><img src="/~img_file" /> %item-name%</a>%comment%<td align=right>%item-size%<td align=right>%item-modified%<td align=right>%item-dl-count%
 It works great on firefox and ipad safari. Just a couple of things that would be nice to have would be swipe capability and thumbnails in the lightbox. Would anybody be able to suggest any scripts to use that have these functions? Come to think of it, has anybody made anything like this? I hope some of you would enjoy this functionality. I'd appreciate any feedback.
 
 Cheers!
 -Randy
- 
				it's best to not use the tpl file, because you will not stay up to date with template improvements.
 
 To get the same result without problems: right click on the home/root, go to "diff template", and paste the code above (or below)
 
 [file.jpg]
 <tr><td>%new% %protected% <a href="%item-url%" toptions="shaded = 1, overlayClose = 1, group = 1"><img src="/~img_file" /> %item-name%</a>%comment%<td align=right>%item-size%<td align=right>%item-modified%<td align=right>%item-dl-count%