rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: warlock69 on August 13, 2019, 04:44:44 AM
-
Hello,
I'm totally new to HFS. I just need a simple way to show thumbnail of JPG image file.
Please can someone provide me the required files/codes and install instructions to make this possible?
-
welcome,
simple way to show image thumbnails on default template (http://rejetto.com/forum/index.php?topic=13127.msg1064494#msg1064494)
-
welcome,
simple way to show image thumbnails on default template (http://rejetto.com/forum/index.php?topic=13127.msg1064494#msg1064494)
Thank you for your help. :)
I've downloaded viewthumbs2.zip and got file named hfs.diff.tpl
Created a New Folder in HFS then I click add file and added hfs.diff.tpl
Then I've added a test folder and inside it there was a JPG file but I was not able to get thumbnail of the image.
Did I do it correctly?
(https://i.imgur.com/HETkD1W.jpg)
-
No.
In Explorer add the hfs.diff.tpl in your test folder
Then in your test folder create a new subfolder named thumb
Then put the thumbnail image in the folder thumb.
If you don't have a thumbnail image, you need to create one (search in forum).
Delete your New Folder (not necessary)
-
No.
In Explorer add the hfs.diff.tpl in your test folder
Then in your test folder create a new subfolder named thumb
Then put the thumbnail image in the folder thumb.
If you don't have a thumbnail image, you need to create one (search in forum).
Delete your New Folder (not necessary)
Thank you for your reply.
I'm currently using Live-3.0.1 from rawr.thatstevensguy.com
Just by editing Live-3.0.1.tpl file
from full-img-thumbs=off to full-img-thumbs=on
Shows preview of image in HFS page like this
But is there any way to increase the size of the thumbnail ?
(https://i.imgur.com/kiWI5nK.jpg)
-
It's not so easy to do that with Live template.
I recommend to try jpgimgthumbs (http://rejetto.com/forum/index.php?topic=11754.msg1064551#msg1064551).
Only change the style of the image.
-
Hello,
I'm trying to use jpgimgthumbs and picturviewer addon.
Is it better to use dnd_upload_thumb? How can I create only thumbnails?
-
welcome,
There are several ways.
When I have time, I'll write it again detailed.
I think the easiest way to show build-in thumbnails with photos is with hfs2.4 and mobil-light (http://rejetto.com/forum/index.php?topic=11754.msg1066658#msg1066658) template.
Alt. for the hfs2.4 default tpl you can add Jpgimgthumb_S.diff.tpl (http://rejetto.com/forum/index.php?topic=13353.msg1066357#msg1066357)
Edited:
ThumbsV5.6 (hidden in mobil-lightV5.6.3betabundle) show thumbs of subfolder thumb
create (https://github.com/dj0001/hfs-template/blob/gh-pages/hfs.diff.tpl) thumbs on upload
-
Ideally, we should:
look for jpg inbuilt thumbnail > failover to full file (no blanks)
and lazyload,
and small delays between each image, to give the server time for multiple users.