Author Topic: How to show thumbnail of JPG image file?  (Read 197 times)

0 Members and 1 Guest are viewing this topic.

Online warlock69

  • Occasional poster
  • *
  • Posts: 3
    • View Profile
How to show thumbnail of JPG image file?
« 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?   

Offline dj

  • Tireless poster
  • ****
  • Posts: 131
  • 👣 🐾
    • View Profile
    • PWAs
« Last Edit: August 13, 2019, 05:44:46 AM by dj »

Follow members gave a thank to your post:


Online warlock69

  • Occasional poster
  • *
  • Posts: 3
    • View Profile
Re: How to show thumbnail of JPG image file?
« Reply #2 on: August 13, 2019, 09:01:08 AM »
welcome,

simple way to show image thumbnails on default template

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?


Offline dj

  • Tireless poster
  • ****
  • Posts: 131
  • 👣 🐾
    • View Profile
    • PWAs
Re: How to show thumbnail of JPG image file?
« Reply #3 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)

Follow members gave a thank to your post:


Online warlock69

  • Occasional poster
  • *
  • Posts: 3
    • View Profile
Re: How to show thumbnail of JPG image file?
« Reply #4 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 ?

« Last Edit: August 21, 2019, 08:09:34 PM by warlock69 »

Offline dj

  • Tireless poster
  • ****
  • Posts: 131
  • 👣 🐾
    • View Profile
    • PWAs
Re: How to show thumbnail of JPG image file?
« Reply #5 on: August 23, 2019, 11:30:20 AM »
It's not so easy to do that with Live template.

I recommend to try jpgimgthumbs.
Only change the style of the image.