User Guide Cancel

Create web photo galleries

  1. Panduan Pengguna Photoshop
  2. Pengantar Photoshop
    1. Bermimpi. Wujudkan.
    2. Yang baru di Photoshop
    3. Edit foto pertama Anda
    4. Buat dokumen
    5. Photoshop | Pertanyaan Umum
    6. Persyaratan sistem Photoshop
    7. Berkenalan dengan Photoshop
    8. Selalu perbarui Photoshop
  3. Photoshop dan produk serta layanan Adobe lainnya
    1. Bekerja dengan karya seni Illustrator di Photoshop
    2. Bekerja dengan file Photoshop di InDesign
    3. Materi Substance 3D untuk Photoshop
    4. Menggunakan ekstensi Capture dalam aplikasi di Photoshop
  4. Photoshop di perangkat seluler (tidak tersedia di Tiongkok daratan)
    1. Panduan pengguna
    2. Yang Baru 
    3. Persyaratan teknis    
  5. Photoshop di iPad (tidak tersedia di Tiongkok daratan)
    1. Photoshop di iPad | Pertanyaan umum
    2. Berkenalan dengan ruang kerja
    3. Persyaratan sistem | Photoshop di iPad
    4. Membuat, membuka, dan mengekspor dokumen
    5. Menambahkan foto
    6. Bekerja dengan lapisan
    7. Menggambar dan melukis dengan kuas
    8. Membuat seleksi dan menambahkan mask
    9. Memoles komposit Anda
    10. Bekerja dengan lapisan penyesuaian
    11. Menyesuaikan tonalitas komposit Anda dengan kurva
    12. Menerapkan operasi transformasi
    13. Memangkas dan memutar komposit Anda
    14. Memutar, menggeser, men-zoom, dan mereset kanvas
    15. Bekerja dengan lapisan Ketikan
    16. Bekerja dengan Photoshop dan Lightroom
    17. Mendapatkan font yang hilang di Photoshop di iPad
    18. Teks Bahasa Jepang di Photoshop di iPad
    19. Mengelola pengaturan aplikasi
    20. Pintasan sentuh dan gestur
    21. Pintasan keyboard
    22. Mengedit ukuran gambar Anda
    23. Livestream saat Anda berkarya di Photoshop di iPad
    24. Mengoreksi imperfeksi dengan Kuas Reparasi
    25. Membuat kuas di Capture dan menggunakan di Photoshop di iPad
    26. Bekerja dengan file Camera Raw
    27. Berkreasi dan bekerja dengan Objek Cerdas
    28. Menyesuaikan eksposur dalam gambar Anda dengan Pencerah dan Penggelap
    29. Perintah penyesuaian otomatis di Photoshop di iPad
    30. Mencoreng area dalam gambar Anda dengan Photoshop di iPad
    31. Menambah atau mengurangi saturasi gambar Anda menggunakan alat Spons
    32. Isian berdasarkan konten untuk iPad
  6. Photoshop di web (tidak tersedia di Tiongkok daratan)
    1. Panduan pengguna
    2. Yang baru di Photoshop
    3. Persyaratan teknis
    4. Pertanyaan umum
    5. Menggambar dan mengedit Bentuk
    6. Bekerja dengan siapa saja di web
  7. Photoshop (beta) (tidak tersedia di Tiongkok daratan)
    1. Mulai menggunakan aplikasi Creative Cloud Beta
    2. Photoshop (beta) di desktop
    3. Gambar Referensi
  8. AI generatif (tidak tersedia di Tiongkok daratan) 
    1. Pertanyaan umum tentang AI generatif di Photoshop
    2. Isian Generatif di Photoshop di desktop
    3. Menghasilkan Gambar dengan prompt teks deskriptif
    4. Perluasan Generatif di Photoshop di desktop
    5. Mengganti latar belakang dengan Generasikan latar belakang
    6. Mendapatkan variasi baru dengan Hasilkan yang Serupa
    7. Isian Generatif di Photoshop di iPad
    8. Perluasan Generatif di Photoshop di iPad
    9. Fitur AI generatif di Photoshop di web
  9. Autentisitas konten (tidak tersedia di Tiongkok daratan)
    1. Content credentials di Photoshop
    2. Identitas dan asal-usul untuk NFT
    3. Menghubungkan akun untuk atribusi kreatif
  10. Dokumen Cloud (tidak tersedia di Tiongkok daratan)
    1. Dokumen cloud Photoshop | Pertanyaan umum
    2. Dokumen cloud Photoshop | Pertanyaan alur kerja
    3. Mengelola dan bekerja dengan dokumen cloud di Photoshop
    4. Memutakhirkan penyimpanan cloud untuk Photoshop
    5. Tidak dapat membuat atau menyimpan dokumen cloud
    6. Mengatasi kesalahan dokumen cloud Photoshop
    7. Mengumpulkan log sinkronisasi dokumen cloud
    8. Mengundang orang lain untuk mengedit dokumen cloud Anda
    9. Membagikan file dan memberi komentar dalam aplikasi
  11. Ruang Kerja
    1. Dasar-dasar ruang kerja
    2. Preferensi
    3. Belajar lebih cepat dengan Panel Temukan Photoshop
    4. Membuat dokumen
    5. Menempatkan file
    6. Pintasan keyboard default
    7. Kustomisasi pintasan keyboard
    8. Galeri alat
    9. Preferensi performa
    10. Bar Tugas Kontekstual
    11. Menggunakan alat
    12. Preset
    13. Kisi-kisi dan garis bantu
    14. Gestur sentuh
    15. Menggunakan Bar Sentuh dengan Photoshop
    16. Kemampuan sentuh dan ruang kerja yang dapat disesuaikan
    17. Pratinjau teknologi
    18. Metadata dan catatan
    19. Menempatkan gambar Photoshop di aplikasi lain
    20. Penggaris
    21. Menampilkan atau menyembunyikan Ekstra non-cetak
    22. Menentukan kolom untuk gambar
    23. Urungkan dan riwayat
    24. Panel dan menu
    25. Menempatkan elemen dengan pengaitan
    26. Menempatkan dengan alat Penggaris
  12. Dasar-dasar warna dan gambar
    1. Cara mengubah ukuran gambar
    2. Bekerja dengan gambar raster dan vektor
    3. Ukuran dan resolusi gambar
    4. Mendapatkan gambar dari kamera dan pemindai
    5. Membuat, membuka, dan mengimpor gambar
    6. Melihat gambar
    7. Kesalahan Penanda JPEG tidak valid | Membuka gambar
    8. Melihat banyak gambar sekaligus
    9. Menyesuaikan pemilih warna dan contoh warna
    10. Gambar high dynamic range
    11. Mencocokkan warna dalam gambar Anda
    12. Konversi antar-mode warna
    13. Mode warna
    14. Menghapus bagian gambar
    15. Mode campuran warna
    16. Memilih warna
    17. Menyesuaikan tabel warna terindeks
    18. Informasi gambar
    19. Filter distorsi tidak tersedia
    20. Tentang warna
    21. Penyesuaian warna dan monokrom menggunakan saluran
    22. Memilih warna di panel warna dan contoh warna
    23. Sampel
    24. Mode Warna atau mode Gambar
    25. Semburat warna
    26. Menambahkan perubahan mode bersyarat ke tindakan
    27. Menambahkan contoh warna dari HTML CSS dan SVG
    28. Kedalaman bit dan preferensi
  13. Lapisan
    1. Dasar-dasar lapisan
    2. Pengeditan non- destruktif
    3. Membuat dan mengelola lapisan dan grup
    4. Memilih, mengelompokkan, dan menautkan lapisan
    5. Menempatkan gambar ke dalam bingkai
    6. Opasitas lapisan dan campuran warna
    7. Lapisan mask
    8. Menerapkan Filter Cerdas
    9. Komp lapisan
    10. Memindahkan, menumpuk, dan mengunci lapisan
    11. Lapisan mask dengan mask vektor
    12. Mengelola lapisan dan grup
    13. Efek lapisan dan gaya
    14. Mengedit mask lapisan
    15. Mengekstraksi aset
    16. Menampilkan lapisan dengan mask pemotongan
    17. Menghasilkan aset gambar dari lapisan
    18. Bekerja dengan Objek Cerdas
    19. Mode campuran warna
    20. Menggabungkan beberapa gambar ke dalam potret grup
    21. Menggabungkan gambar dengan Campur Warna Lapisan Secara Otomatis
    22. Menyejajarkan dan mendistribusikan lapisan
    23. Menyalin CSS dari lapisan
    24. Memuat seleksi dari batas lapisan atau mask lapisan
    25. Knockout untuk memunculkan konten dari lapisan lain
  14. Seleksi
    1. Mulai menggunakan seleksi
    2. Membuat seleksi dalam komposit Anda
    3. Pilih dan Mask ruang kerja
    4. Memilih dengan alat seleksi
    5. Memilih dengan alat laso
    6. Menyesuaikan seleksi piksel
    7. Memindahkan, menyalin, dan menghapus piksel yang dipilih
    8. Membuat mask cepat sementara
    9. Memilih rentang warna dalam gambar
    10. Mengonversi antara jalur dan batas seleksi
    11. Dasar-dasar saluran
    12. Menyimpan seleksi dan mask saluran alfa
    13. Memilih area gambar dalam fokus
    14. Menduplikasi, membagi, dan menggabungkan saluran
    15. Kalkulasi saluran
  15. Penyesuaian gambar
    1. Mengganti warna objek
    2. Warp perspektif
    3. Mengurangi blur goyangan kamera
    4. Contoh kuas reparasi
    5. Mengekspor tabel pencarian warna
    6. Menyesuaikan ketajaman dan blur gambar
    7. Memahami penyesuaian warna
    8. Menerapkan penyesuaian Kecerahan/Kontras
    9. Menyesuaikan detail bayangan dan sorotan
    10. Penyesuaian level
    11. Menyesuaikan rona dan saturasi
    12. Menyesuaikan vibrance
    13. Menyesuaikan saturasi warna di area gambar
    14. Melakukan penyesuaian tonal cepat
    15. Menerapkan efek warna khusus ke gambar
    16. Menyempurnakan gambar Anda dengan penyesuaian keseimbangan warna
    17. Gambar high dynamic range
    18. Melihat histogram dan nilai piksel
    19. Mencocokkan warna dalam gambar Anda
    20. Memangkas dan meluruskan foto
    21. Mengonversi gambar berwarna menjadi hitam dan putih
    22. Penyesuaian dan lapisan isian
    23. Penyesuaian kurva
    24. Mode campuran warna
    25. Gambar target untuk ditekan
    26. Menyesuaikan warna dan rona dengan eyedropper Level dan Kurva
    27. Menyesuaikan eksposur HDR dan peronaan
    28. Mencerahkan atau menggelapkan area gambar
    29. Membuat penyesuaian warna selektif
  16. Adobe Camera Raw
    1. Persyaratan sistem Camera Raw
    2. Yang baru di Camera Raw
    3. Pengantar Camera Raw
    4. Membuat panorama
    5. Lensa yang didukung
    6. Efek vinyet, grain, dan kabut di Camera Raw
    7. Pintasan keyboard default
    8. Koreksi perspektif otomatis pada Camera Raw
    9. Filter Radial di Camera Raw
    10. Pengaturan Camera Raw
    11. Membuka, memproses, dan menyimpan gambar di Camera Raw
    12. Memperbaiki gambar dengan alat Penghilangan Spot yang Disempurnakan di Camera Raw
    13. Memutar, memangkas, dan menesuaikan gambar
    14. Menyesuaikan rendering warna di Camera Raw
    15. Memproses versi di Camera Raw
    16. Membuat penyesuaian lokal di Camera Raw
  17. Perbaikan dan restorasi gambar
    1. Alat Hilangkan
    2. Menghilangkan objek dari foto Anda dengan Isian Berdasarkan Konten
    3. Tambalan dan Geser Berdasarkan Konten
    4. Memoles dan memperbaiki foto
    5. Koreksi distorsi dan noise gambar
    6. Langkah-langkah pemecahan masalah dasar untuk memperbaiki sebagian besar masalah
  18. Penyempurnaan dan transformasi gambar
    1. Mengganti langit dalam gambar Anda
    2. Mentransformasikan objek
    3. Menyesuaikan pemangkasan, rotasi, dan ukuran kanvas
    4. Cara memangkas dan meluruskan foto
    5. Membuat dan mengedit gambar panorama
    6. Membungkus gambar, bentuk, dan jalur
    7. Titik Lenyap
    8. Penskalaan berdasarkan konten
    9. Mentransformasikan gambar, bentuk, dan jalur
  19. Menggambar dan melukis
    1. Melukis pola simetris
    2. Menggambar persegi panjang dan memodifikasi opsi goresan
    3. Tentang menggambar
    4. Menggambar dan mengedit bentuk
    5. Alat melukis
    6. Membuat dan memodifikasi kuas
    7. Mode campuran warna
    8. Menambahkan warna ke jalur
    9. Mengedit jalur
    10. Melukis dengan Kuas Pencampur
    11. Preset kuas
    12. Gradasi
    13. Interpolasi gradasi
    14. Seleksi, lapisan, serta jalur isian dan goresan
    15. Menggambar dengan alat Pena
    16. Membuat pola
    17. Membuat pola menggunakan Pembuat Pola
    18. Mengelola jalur
    19. Mengelola pustaka pola dan preset
    20. Menggambar atau melukis dengan tablet grafis
    21. Membuat kuas bertekstur
    22. Menambahkan elemen dinamis ke kuas
    23. Gradasi
    24. Melukis goresan bergaya dengan Kuas Riwayat Seni
    25. Melukis dengan pola
    26. Menyinkronkan preset di beberapa perangkat
    27. Memigrasikan preset, tindakan, dan pengaturan
  20. Teks
    1. Menambahkan dan mengedit teks
    2. Unified Text Engine
    3. Bekerja dengan font OpenType SVG
    4. Memformat karakter
    5. Memformat paragraf
    6. Cara membuat efek ketikan
    7. Mengedit teks
    8. Jarak garis dan karakter
    9. Ketikan Arabic dan Hebrew
    10. Font
    11. Memecahkan masalah font
    12. Ketikan Asia
    13. Membuat ketikan
  21. Filter dan efek
    1. Menggunakan Galeri Blur
    2. Dasar-dasar filter
    3. Referensi efek filter
    4. Menambahkan Efek Pencahayaan
    5. Menggunakan filter Sudut Lebar Adaptif
    6. Menggunakan filter Cat Minyak
    7. Menggunakan filter Likuifikasi
    8. Efek lapisan dan gaya
    9. Menerapkan filter tertentu
    10. Mencoreng area gambar
  22. Menyimpan dan mengekspor
    1. Menyimpan file Anda di Photoshop
    2. Mengekspor file Anda di Photoshop
    3. Format file yang didukung
    4. Menyimpan file dalam format grafis
    5. Memindahkan desain antara Photoshop dan Illustrator
    6. Menyimpan dan mengekspor video dan animasi
    7. Menyimpan file PDF
    8. Proteksi hak cipta Digimarc
  23. Manajemen Warna
    1. Memahami manajemen warna
    2. Menjaga warna tetap konsisten
    3. Pengaturan warna
    4. Duotone
    5. Bekerja dengan profil warna
    6. Mengelola warna dalam dokumen untuk tampilan online
    7. Mengelola warna dalam dokumen saat mencetak
    8. Mengelola warna dalam gambar yang diimpor
    9. Proofing warna
  24. Desain aplikasi, web, dan layar
    1. Photoshop untuk desain
    2. Lembar kerja
    3. Pratinjau Perangkat
    4. Menyalin CSS dari lapisan
    5. Halaman web irisan
    6. Opsi HTML untuk irisan
    7. Mengubah tata letak irisan
    8. Bekerja dengan grafis web
    9. Membuat galeri foto web
  25. Video dan animasi
    1. Pengeditan video di Photoshop
    2. Mengedit lapisan video dan animasi
    3. Gambaran umum video dan animasi
    4. Pratinjau video dan animasi
    5. Melukis bingkai di lapisan video
    6. Mengimpor file video dan rangkaian gambar
    7. Membuat animasi bingkai
    8. Animasi 3D Creative Cloud (Pratinjau)
    9. Membuat animasi timeline
    10. Membuat gambar untuk video
  26. Mencetak
    1. Mencetak objek 3D
    2. Mencetak dari Photoshop
    3. Mencetak dengan menajemen warna
    4. Lembar Kontak dan Presentasi PDF
    5. Mencetak foto dalam tata letak paket gambar
    6. Mencetak warna spot
    7. Mencetak gambar ke mesin cetak komersial
    8. Meningkatkan kualitas cetakan warna dari Photoshop
    9. Memecahkan masalah pencetakan | Photoshop
  27. Otomatisasi
    1. Membuat tindakan
    2. Membuat grafik berbasis data
    3. Pembuatan skrip
    4. Memproses batch file
    5. Memutar dan mengelola tindakan
    6. Menambahkan tindakan bersyarat
    7. Tentang tindakan dan panel Tindakan
    8. Alat Rekam dalam tindakan
    9. Menambahkan perubahan mode bersyarat ke tindakan
    10. Kit alat Photoshop UI untuk plug-in dan skrip
  28. Pemecahan masalah
    1. Masalah yang diperbaiki 
    2. Masalah yang diketahui
    3. Mengoptimalkan performa Photoshop
    4. Pemecahan masalah dasar
    5. Memecahkan masalah kerusakan atau macet
    6. Memecahkan masalah program
    7. Memecahkan masalah kesalahan gores disk penuh
    8. Memecahkan masalah driver grafis dan GPU
    9. Menemukan alat yang hilang
    10. Photoshop 3D | Pertanyaan umum seputar fitur yang dihentikan
Note:

To create web galleries with Photoshop CS5, see Create a web photo gallery in Adobe Bridge Help. To use the older, optional Web Photo Gallery plug-in described in the topics below, first download and install it for Windows or Mac OS.

About web photo galleries

A web photo gallery is a web site that features a home page with thumbnail images and gallery pages with full-size images. Each page contains links that allow visitors to navigate the site. For example, when a visitor clicks a thumbnail image on the home page, the associated full-size image is loaded into a gallery page. You use the Web Photo Gallery command to automatically generate a web photo gallery from a set of images.

Photoshop Web photo gallery home page
Web photo gallery home page

Photoshop provides a variety of styles for your gallery, which you can select using the Web Photo Gallery command. If you are an advanced user who knows HTML, you can create a new style or customize a style by editing a set of HTML template files.

Each template for gallery styles comes with different options. If you’re using a preset style, some options may be dimmed, or unavailable in that particular style.

Create web galleries using Adobe Bridge

Adobe Bridge provides updated web gallery features. For instructions, see Create a web photo gallery in Adobe Bridge Help, or view the tutorials below.

Use the older, optional Photoshop plug-in

  1. Download and install the older Web Photo Gallery plug-in for Windows or Mac OS.

  2. (Optional) Select the files or folder you want to use in Adobe Bridge.

    Your images will be presented in the order in which they’re displayed in Bridge. If you’d rather use a different order, change the order in Bridge.

  3. Do one of the following:

    • In Adobe Bridge, choose Tools > Photoshop > Web Photo Gallery.

    • In Photoshop, choose File > Automate > Web Photo Gallery.

  4. Choose a style for the gallery from the Styles pop‑up menu. A preview of the home page for the chosen style appears in the dialog box.

  5. (Optional) Enter an e‑mail address as the contact information for the gallery.

  6. Choose the source files for your gallery from the Use menu.

    Selected Images From Bridge

    Uses images you selected before opening the Web Photo Gallery dialog box.

    Folder

    Uses images from folders you select using the Browse (Windows) or Choose (Mac OS) buttons. Select Include All Subfolders to include images inside any subfolders of the selected folder.

  7. Click Destination, and then select a folder in which to store the images and HTML pages for the gallery. Then click OK (Windows) or Choose (Mac OS).

  8. Select formatting options for the web gallery. Choose from the Options menu to display each set of options. See Web photo gallery options.

  9. Click OK. Photoshop places the following HTML and JPEG files in your destination folder:

    • A home page for your gallery named index.htm or index.html, depending on the Extension options. Open this file in any web browser to preview your gallery.

    • JPEG images inside an images subfolder.

    • HTML pages inside a pages subfolder.

    • JPEG thumbnail images inside a thumbnails subfolder.

Making sure that your colors match

If you work with photos in a wide-gamut color working space such as ProPhoto RGB or Adobe RGB, image colors may change when viewed in a web gallery by a browser that doesn’t read embedded color profiles. If this happens, try converting the image profiles to sRGB (which most browsers use as a default) before optimizing them or including them in a Web Photo Gallery. Convert them to sRGB in one of the following ways. It is a good idea to work with a copy of the images.

If you use the Image Processor, you can save the files directly to JPEG format in the size that you want them. If you do so, make sure to turn Resize Images off in the Large Image options.

General

Options for file extensions, encoding, and metadata.

Extension

Uses either .htm or .html as the filename extension.

Use UTF 8 Encoding For URL

Uses UTF‑8 encoding.

Add Width And Height Attributes For Images

Specifies dimensions, shortening download time.

Preserve All Metadata

Maintains metadata info.

Banner

Text options for the banner that appears on each page in the gallery. Enter text for each of these:

Site Name

The name of the gallery.

Photographer

The name of the person or organization receiving credit for the photos in the gallery.

Contact Info

The contact information for the gallery, such as a telephone number or a business address.

Date

The date appearing on each page of the gallery. By default, Photoshop uses the current date.

Font and Font Size

(Available for some site styles) Options for the banner text.

Large Images

Options for the main images that appear on each gallery page.

Add numeric links

(Available for some site styles) Places a numeric sequence (starting at 1, ending with the total number of pages in the gallery) running horizontally at the top of each gallery page. Each number is a link to the respective page.

Resize Images

Resizes the source images for placement on the gallery pages. Choose a size from the pop‑up menu or enter a size in pixels. For Constrain, choose which dimensions of the image you want to constrain during resizing. For JPEG Quality, choose an option from the pop‑up menu, enter a value between 0 and 12, or drag the slider. The higher the value, the better the image quality and the larger the file.

Note:

Photoshop uses the default image interpolation method set in preferences. Choose Bicubic Sharper as the default for best results when reducing image size.

Border Size

Specifies the width, in pixels, of the border around the image.

Titles Use

(Available for some site styles) Specifies options for displaying captions under each image. Select Filename to display the filename, or select Description, Credits, Title, and Copyright to display description text drawn from the File Info dialog box.

Font and Font Size

(Available for some site styles) Specify the font and size of the caption.

Thumbnails

Options for the gallery home page, including the size of the thumbnail images.

Size

Specifies the thumbnail size. Choose from the pop‑up menu or enter a value in pixels for the width of each thumbnail.

Columns and Rows

Specify the number of columns and rows in which to display thumbnails on the home page. This option doesn’t apply to galleries that use the Horizontal Frame Style or Vertical Frame Style.

Border Size

Specifies the width, in pixels, of the border around each thumbnail.

Titles Use

(Available for some site styles) Specifies options for displaying captions under each thumbnail. Select Filename to display the filename, or select Description, Credits, Title, and Copyright to display description text drawn from the File Info dialog box.

Font and Font Size

(Available for some site styles) Specify the font and size of the caption.

Custom Colors

Options for colors of elements in the gallery. To change the color of an element, click its color swatch and then select a new color from the Adobe Color Picker. You can change the background color of each page (Background option) and of the banner (Banner option).

Security

Displays text over each image as a theft deterrent.

Content

Specifies the text to be displayed. Select Custom Text to enter customized text. Select Filename, Description, Credits, Title, or Copyright to display text drawn from the File Info dialog box.

Font, Color, and Position

Specify the font, color, and alignment of the caption.

Rotate

Place the text on the image at an angle.

Photoshop provides a variety of styles for your web photo gallery. If you are an advanced user who knows HTML, you can create a new style or customize a style by editing a set of HTML template files.

The web photo gallery styles provided by Photoshop are stored in individual folders in the following locations:

Windows

Program Files/Adobe/Adobe Photoshop CS5/Presets/Web Photo Gallery.

Mac OS

Adobe Photoshop CS5/Presets/Web Photo Gallery.

The name of each folder in this location appears as an option in the Styles menu in the Web Photo Gallery dialog box. Each folder contains the following HTML template files, which Photoshop uses to generate the gallery:

Caption.htm

Determines the layout of the caption that appears below each thumbnail on the home page.

FrameSet.htm

Determines the layout of the frame set for displaying pages.

IndexPage.htm

Determines the layout of the home page.

SubPage.htm

Determines the layout of the gallery pages with full-size images.

Thumbnail.htm Determines the layout of the thumbnails that appear on the home page.

Each template file contains HTML code and tokens. A token is a text string that is replaced by Photoshop when you set its corresponding option in the Web Photo Gallery dialog box. For example, a template file may contain the following TITLE element that uses a token as its enclosed text:

<TITLE>%TITLE%</TITLE>

When Photoshop generates the gallery using this template file, it replaces the token %TITLE% with the text that you entered for Site Name in the Web Photo Gallery dialog box.

To better understand an existing style, you can open and study its HTML template files using an HTML editor. Because only standard ASCII characters are required to create HTML documents, you can open, edit, and create these documents using a plain-text editor such as Notepad (Windows) or TextEdit (Mac OS).

You can customize an existing web photo gallery style by editing one or more of its HTML template files. When customizing a style, you need to follow these guidelines so that Photoshop can generate the gallery correctly:

  • The style folder must contain these files: Caption.htm, IndexPage.htm, SubPage.htm, Thumbnail.htm, and FrameSet.htm.

  • You can rename the style folder but not the HTML template files in the folder.

  • You can have an empty Caption.htm file, and place the HTML code and tokens determining the layout of the caption in the Thumbnail.htm file.

  • You can replace a token in a template file with the appropriate text or HTML code, so that an option is set through the template file rather than through the Web Photo Gallery dialog box. For example, a template file may contain a BODY element with the following background color attribute that uses a token as its value:

    bgcolor=%BGCOLOR%

    To set the background color of the page to red, you can replace the token %BGCOLOR% with “FF0000.”

  • You can add HTML code and tokens to the template files. All tokens must be in uppercase characters, and begin and end with the percent (%) symbol.

  1. Locate the folder that stores the existing web photo gallery styles.
  2. Do one of the following:
    • To customize a style, create a copy of the style folder, and store it in the same location as the existing style folders.

    • To create a new style, create a new folder for the new style, and store it in the same location as the existing style folders.

    The new or customized style (named for its folder) appears in the Styles menu in the Web Photo Gallery dialog box.

  3. Using an HTML editor, do one of the following:
    • Customize the HTML template file.

    • Create the necessary HTML template files and store them inside the style folder.

    When creating the template files, make sure that you follow the guidelines for customization outlined in About customizing web photo gallery styles.

    Note:

    When customizing or creating a template for a gallery style, you should place each of the following tokens on a separate line in the HTML file: %CURRENTINDEX%, %NEXTIMAGE%, %NEXTINDEX%, %PAGE%, %PREVIMAGE%, and %PREVINDEX%. When generating specific pages of a gallery, Photoshop skips lines in a template that contain tokens that don’t apply to those pages. For example, when Photoshop generates the first gallery page, it skips any line in the template that contains the %PREVIMAGE% token, which determines the link to the previous gallery page. By keeping the %PREVIMAGE% token on a separate line, you ensure that Photoshop doesn’t ignore other tokens in the template.

Photoshop uses tokens in the HTML template files to define a default web photo gallery style. Photoshop uses these tokens to generate a gallery based on user input in the Web Photo Gallery dialog box.

When customizing or creating a gallery style, you can add any token to any HTML template file, with the exception of %THUMBNAILS% and %THUMBNAILSROWS%, which can appear only in the IndexPage.htm file. When adding a token, keep in mind that you may also need to add HTML code to the file so that the token is used correctly.

You can use the following tokens in the HTML template files:

%ALINK%

Determines the color of active links.

%ALT%

Determines the name of an image file.

%ANCHOR%

Provides the ability to return to the thumbnail of the image the user is viewing, rather than the beginning of the index. This takes effect when the user clicks the Home button.

%BANNERCOLOR%

Determines the color of the banner.

%BANNERFONT%

Determines the font of the banner text.

%BANNERFONTSIZE%

Determines the font size of the banner text.

%BGCOLOR%

Determines the background color.

%CAPTIONFONT%

Determines the font of the caption below each thumbnail on the home page.

%CAPTIONFONTSIZE%

Determines the font size of the caption.

%CAPTIONTITLE%

Inserts the document title for a caption from the file information.

%CHARSET%

Determines the character set used on each page.

%CONTACTINFO%

Determines the contact information for the gallery, such as phone number and location.

%CONTENT_GENRATOR%

Expands to “Adobe Photoshop CS5 Web Photo Gallery.”

%COPYRIGHT%

Inserts the copyright information for a caption from the file information.

%CREDITS%

Inserts the credits for a caption from the file information.

%CURRENTINDEX%

Determines the link for the current home page.

%CURRENTINDEXANCHOR%

Resides in SubPage.htm and points to the first index page.

%DATE%

Determines the date that appears on the banner.

%EMAIL%

Determines the e-mail address contact information for the gallery.

%FILEINFO%

Determines the image file information for a caption.

%FILENAME%

Determines the filename of an image. Use this for metadata that appears as HTML text.

%FILENAME_URL%

Determines the URL filename of an image. Use this for URL filenames only.

%FIRSTPAGE%

Determines the link for the first gallery page that appears in the right frame of a frame set.

%FRAMEINDEX%

Determines the link for the home page that appears in the left frame of a frame set.

%HEADER%

Determines the title of the gallery.

%IMAGEBORDER%

Determines the border size of the full-size image on a gallery page.

%IMAGE_HEIGHT%

Enables the Add Width And Height Attributes For Images check box. This allows the user to download the attributes, reducing download time.

%IMAGE_HEIGHT_NUMBER%

This token is replaced by a numeral (only) representing the width of the image.

%IMAGEPAGE%

Determines the link to a gallery page.

%IMAGE_SIZE%

If the Resize Images box is selected, this token contains the image pixel value used in the Large Images panel. If the box is not selected, this token contains an empty string. This is useful for JavaScript in the templates, because it can show the maximum height and width values for all images for the generated site.

%IMAGESRC%

Determines the URL for a full-size image on a gallery page.

%IMAGE_WIDTH%

Enables the Add Width And Height Attributes For Images check box. This allows the user to download the attributes, reducing download time.

%IMAGE_WIDTH_NUMBER%

This token is replaced by a numeral (only) representing the width of the image.

%LINK%

Determines the color of links.

%NEXTIMAGE%

Determines the link for the next gallery page.

%NEXTIMAGE _CIRCULAR%

Sets the link from large preview image to next large preview image.

%NEXTINDEX%

Determines the link for the next home page.

%NUMERICLINKS%

Inserts numbered links on subpages to all large preview images.

%PAGE%

Determines the current page location (for example, page 1 of 3).

%PHOTOGRAPHER%

Determines the name of the person or organization receiving credit for the photos in the gallery.

%PREVIMAGE%

Determines the link for the previous gallery page.

%PREVINDEX%

Determines the link for the previous home page.

%SUBPAGEHEADER%

Determines the title of the gallery.

%SUBPAGETITLE%

Determines the title of the gallery.

%TEXT%

Determines the text color.

%THUMBBORDER%

Determines the size of thumbnail borders.

%THUMBNAIL_HEIGHT%

Enables the Add Width And Height Attributes For Images check box. This allows the user to download the attributes, reducing download time.

%THUMBNAIL_HEIGHT_NUMBER%

This token is replaced with a numeral (only) representing the height of the thumbnail.

%THUMBNAILS%

This token is replaced with thumbnails using the Thumbnail.htm file for the frame styles. You must place this token alone in a single, nonbreaking line in the HTML file.

%THUMBNAIL_SIZE%

Contains the thumbnail pixel value in the Thumbnails panel. This is useful for JavaScript in the templates, as it can show the maximum height and width values for all thumbnails for the generated site.

%THUMBNAILSRC%

Determines the link to a thumbnail.

%THUMBNAILSROWS%

This token is replaced with rows of thumbnails using the Thumbnail.htm file for the nonframe styles. You must place this token alone in a single, nonbreaking line in the HTML file.

%THUMBNAIL_WIDTH%

Enables the Add Width And Height Attributes For Images check box. This allows the user to download the attributes, reducing download time.

%THUMBNAIL_WIDTH_NUMBER%

This token is replaced by a numeral (only) representing the width of the thumbnail.

%TITLE%

Determines the title of the gallery.

%VLINK%

Determines the color of visited links.

Dapatkan bantuan lebih cepat dan lebih mudah

Pengguna baru?