E
E
EugeneNB2021-01-06 15:11:12
MODX
EugeneNB, 2021-01-06 15:11:12

Problem with phpthumbon, add ad to filename, how to remove it?

Greetings!

I ran into a problem:
I change the size of pictures using phpthumbon, everything is fine, but it adds characters to the title. Often, for some reason, ad is added, and these pictures are cut by ad blockers.

Example, it was - became:
cobmr3.png - cobmr3_450x300_b0c.png
e095yl.jpg - e095yl_450x300_ad5.jpg
dre4h7.jpg - dre4h7_450x300_ad5.jpg

How to forbid adding the last 3 characters or make them numeric?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Tarasov, 2021-01-06
@an-tar


In the phpthumbon.make_cachename system variable, specify the name of the snippet in which to override the generated name for the image .
as an option, use alternatives, of which there are many .. offhand pThumb, it can help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question