Author Topic: Exporting web galleries using a custom HTML/CSS template  (Read 2231 times)

Offline Dewcal

  • Member
  • **
  • Posts: 69
    • View Profile
Exporting web galleries using a custom HTML/CSS template
« on: February 08, 2021, 07:48:39 AM »
Hi,

I am looking to use a HTML template to publish my images.  I have created index & preview html pages along with a css file (copied and pasted from your help file) and have it in a folder.  This folder is linked int Preferences - files.

However, when I go to export I keep seeing the message that "no template files found".  I have restarted PMP to no avail - I keep seeing the same message.

Windows 10 if it makes any difference.  Once I can see the templates I can then look at branding etc.

Any help would be appreciated.

Thanks,
Dave

Online Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24764
    • View Profile
    • Camera Bits, Inc.
Re: Exporting web galleries using a custom HTML/CSS template
« Reply #1 on: February 08, 2021, 09:14:24 AM »
Dave,

I am looking to use a HTML template to publish my images.  I have created index & preview html pages along with a css file (copied and pasted from your help file) and have it in a folder.  This folder is linked int Preferences - files.

However, when I go to export I keep seeing the message that "no template files found".  I have restarted PMP to no avail - I keep seeing the same message.

Which template are you using to do your export?  What is its name?

-Kirk

Offline Dewcal

  • Member
  • **
  • Posts: 69
    • View Profile
Re: Exporting web galleries using a custom HTML/CSS template
« Reply #2 on: February 08, 2021, 10:29:41 AM »
Hi Kirk,

I have made html files (index & preview) as per the "help" file and both are in the folder pointed to in preferences. Neither appears when I try to export.

Should the template have a different name or extension?
Thanks
Dave

Online Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24764
    • View Profile
    • Camera Bits, Inc.
Re: Exporting web galleries using a custom HTML/CSS template
« Reply #3 on: February 08, 2021, 10:37:13 AM »
Dave,

I have made html files (index & preview) as per the "help" file and both are in the folder pointed to in preferences. Neither appears when I try to export.

Which "help" file is this?

-Kirk


Online Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24764
    • View Profile
    • Camera Bits, Inc.
Re: Exporting web galleries using a custom HTML/CSS template
« Reply #5 on: February 08, 2021, 11:45:38 AM »
Dave,

Have you created a folder for all of your templates (which you set as your "Location of user HTML templates") and then created a folder inside that folder for your templates?  You don't want to just select the specific folder containing your template files.  This would prevent you from having multiple templates and won't work anyway.

You should have a layout like this:

.../CustomTemplatesFolder/
.../CustomTemplatesFolder/MyFirstCustomTemplate/
.../CustomTemplatesFolder/MyFirstCustomTemplate/index.html
.../CustomTemplatesFolder/MyFirstCustomTemplate/preview.html

You would choose the .../CustomTemplatesFolder/ as your "Location of user HTML templates", not the MyFirstCustomTemplate folder.

HTH,

-Kirk


Offline Dewcal

  • Member
  • **
  • Posts: 69
    • View Profile
Re: Exporting web galleries using a custom HTML/CSS template
« Reply #6 on: February 08, 2021, 12:16:47 PM »
Kirk,

Many thanks for this - I had not used any subdirectories!

Dave