rejetto forum

How to show thumbnail of JPG image file?

0 Members and 1 Guest are viewing this topic.

Offline warlock69

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
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: 230
  • 👣 🐾
    • View Profile
    • PWAs

Offline warlock69

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
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: 230
  • 👣 🐾
    • View Profile
    • PWAs
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)


Offline warlock69

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
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: 230
  • 👣 🐾
    • View Profile
    • PWAs
It's not so easy to do that with Live template.

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