R
R
RushV2021-02-15 14:37:19
MODX
RushV, 2021-02-15 14:37:19

How to add the phpthumbon Fenom parameter to the link?

Hello!
How to add the phpthumbon Fenom parameter to the link?

<img src="/assets/images/raznoe/' ~ $brochure.brochures_catalogs_img_migx | phpthumbon : 'w=500&h=500&q=80&zc=C' ~ '" class="card-img-top">

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Arthur Sh, 2021-02-15
@Shev_Art_V

Isn't it easier to first get and process the image, saving the result to a variable, and then substitute this variable into a link?

I
Igor, 2021-02-25
@ig0r74

Wrap in parentheses:

<img src="/assets/images/raznoe/' ~ ($brochure.brochures_catalogs_img_migx | phpthumbon : 'w=500&h=500&q=80&zc=C') ~ '" class="card-img-top">

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question