rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: warlock69 on August 13, 2019, 04:44:44 AM

Title: How to show thumbnail of JPG image file?
Post 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?   
Title: Re: How to show thumbnail of JPG image file?
Post by: dj on August 13, 2019, 05:40:37 AM
welcome,

simple way to show image thumbnails on default template (http://rejetto.com/forum/index.php?topic=13127.msg1064494#msg1064494)
Title: Re: How to show thumbnail of JPG image file?
Post by: warlock69 on August 13, 2019, 09:01:08 AM
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)
Title: Re: How to show thumbnail of JPG image file?
Post by: dj on August 13, 2019, 04:44:05 PM
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)
Title: Re: How to show thumbnail of JPG image file?
Post by: warlock69 on August 20, 2019, 07:58:15 PM
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)
Title: Re: How to show thumbnail of JPG image file?
Post by: dj on August 23, 2019, 11:30:20 AM
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.