S
S
Sergey Gnatyuk2015-12-11 08:05:57
MODX
Sergey Gnatyuk, 2015-12-11 08:05:57

How to generate image titles in Modx?

How can I implement the generation of image titles when uploading, so that one image does not replace another if the titles match?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Ruslan, 2015-12-11
@ruslan_aleev

Here was discussed automatic transliteration of names when loading + date to the name - community.modx-cms.ru/blog/2478.html

S
Sanes, 2015-12-11
@Sanes

Depends what you are using. For mass work with images, there is the same tickets/msgallery/minishop and the like. For singles, I think you can handle it yourself how to properly arrange them into directories.

S
Sergey, 2015-12-11
@butteff

Well, if you write your bike, then obviously from the date and time. I do not think that in one second someone will upload 2 or more images with the same name to your site at once. And if so, then you can take the md5 hash from the file name + date and time.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question