A
A
Arthur Levenson2021-05-15 13:38:30
C++ / C#
Arthur Levenson, 2021-05-15 13:38:30

How to enable thumbnails in modx galleries?

How to make thumbnails open by default in modx gallery?

609fa44175419993110626.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
#
#, 2018-11-22
@dr4k

1 - not obvious what it is

G

2 - if you need to get number pairs, without insurance against errors, etc., for example like this
using System;
using System.IO;

namespace t_text_read_and_parsing
{
    class Program
    {
        static void Main(string[] args)
        {
            var lines = File.ReadAllLines("text.txt");
            foreach (var l in lines)
            {
                var tokens = l.Split(' ');
                if (int.TryParse(tokens[0], out var a) && int.TryParse(tokens[1], out var b))
                    Console.WriteLine($"\t{a}\t{b}");
            }
        }
    }
}

exhaust
zFGjEpZ.png

F
Froggyweb, 2021-05-15
@Froggyweb

With the help of any gallery in JS
For example Slick.js

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question