</para>
<para />
</section>
+ <section id="InfoText">
+ <title>Infotext</title>
+ <para>
+ Right-click menu item
+ <emphasis role="strong">Infotext</emphasis>
+ , allows additional text to be placed against a thumbnail. See <link linkend="GuideReferenceCollectionFiles">Collection file format</link>.
+ </para>
+ <para />
+ </section>
</section>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="GuideReferenceConfig.xml" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="GuideReferenceFileDates.xml" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="GuideReferenceTags.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="GuideReferenceCollectionFiles.xml" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="GuideReferenceSupportedFormats.xml" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="GuideReferenceSimilarityAlgorithms.xml" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="GuideReferencePixbufLoaders.xml" />
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<section id="GuideReferenceCollectionFiles">
+ <title>Collection file format</title>
+ <para>
+ Collection files have the following format:
+ <programlisting xml:space="preserve">
+ #Geeqie collection
+ #created with Geeqie version 2.6+git20250705-01d997ed
+ #geometry: 0 0 1080 1106
+ "<filepath1>"
+ "<filepath2>"
+ #end
+ </programlisting>
+ </para>
+ <para>
+ It is possible to include informational text along with an image. The format is:
+ <programlisting xml:space="preserve">
+ #i Some informational text for the following file
+ "<filepath1>"
+ #end
+ </programlisting>
+ </para>
+ <para>
+ This text can be displayed via a right-click menu option from a
+ <link linkend="GuideCollections" endterm="titleGuideCollections"/>
+ window.
+ </para>
+ <para>
+ It is assumed that you insert such text into a .gqv file via a script or program file. If you wish a facility to do this to be included within Geeqie, please raise a feature request on
+ <ulink url="https://github.com/BestImageViewer/geeqie/issues">https://github.com/BestImageViewer/geeqie/issues</ulink>
+ </para>
+</section>
if (!flush)
changed |= collect_manager_process_action(entry, &filename);
- if (filename[0] == G_DIR_SEPARATOR && collection_add_check(cd, file_data_new_simple(filename), FALSE, TRUE, infotext))
+ if (filename[0] == G_DIR_SEPARATOR && collection_add_check(cd, file_data_new_simple(filename), FALSE, TRUE, infotext))
{
g_clear_pointer(&infotext, g_free);
continue;
{static_cast<GdkModifierType>(0), 'S', N_("Save collection")},
{GDK_CONTROL_MASK, 'S', N_("Save collection as")},
{GDK_CONTROL_MASK, 'T', N_("Show filename text")},
- {GDK_CONTROL_MASK, 'I', N_("Show info text")},
+ {GDK_CONTROL_MASK, 'I', N_("Show infotext")},
{static_cast<GdkModifierType>(0), 'N', N_("Sort by name")},
{static_cast<GdkModifierType>(0), 'D', N_("Sort by date")},
{static_cast<GdkModifierType>(0), 'B', N_("Sort by size")},
G_CALLBACK(collection_table_popup_show_names_cb), ct);
menu_item_add_check(menu, _("Show star rating"), ct->show_stars,
G_CALLBACK(collection_table_popup_show_stars_cb), ct);
- menu_item_add_check(menu, _("Show info _text"), ct->show_infotext,
+ menu_item_add_check(menu, _("Show infotext"), ct->show_infotext,
G_CALLBACK(collection_table_popup_show_infotext_cb), ct);
menu_item_add_divider(menu);
menu_item_add_icon(menu, _("_Save collection"), GQ_ICON_SAVE,