D
D
Dmitry Mazikin2019-05-07 13:02:44
MODX
Dmitry Mazikin, 2019-05-07 13:02:44

MOdx set the conditions for displaying the image. What are the options?

The bottom line is that I, using output filters, try to display an image, if it exists, and if not, then a link to the logo should be displayed. One is *cat_img , it outputs it, but prod_img or else doesn't work at all. what's wrong ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Lunegov, 2019-05-07
@pythongod

<meta itemprop="image" content="https://quadmaster.ru/assets/gallery/1/podklyuchenie-dho-na-kvadrocikl.jpg" />

cat_img and prod_img can be swapped depending on which is more important.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question