C
C
Cooliq2018-03-12 17:46:06
MODX
Cooliq, 2018-03-12 17:46:06

How to remove dot from image path in modx?

Created an additional field with input parameters "Image", output parameters "Default". The source of the files indicated created by myself with the parameters:


basePath - images/news/
basePathRelative - Yes
baseUrl - images/news/
baseUrlRelative - Yes

When adding an image, the path to the files with a dot is displayed in the file manager and on the site
/images/news/./photo-1.jpg

In the resource, in the additional image field, the path looks like this:
./photo-1.jpg

How to solve this problem and get rid of the dot?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question