Thank you for help, I used introtext to save several TVs inside, with delimiter, so I can split them in my snippet...
I'm using this code for getting data from database:
$resource = $modx->query("SELECT * FROM modx_site_content WHERE template = 7 AND published = 1 ORDER BY menuindex ASC");
$types = $resource ->fetchAll(PDO::FETCH_ASSOC);
getResources is impossible slow, it takes about 25 seconds to get 200 resources with TVs, but getting them directly from database, job is finished in 200 milliseconds... :/
Little more help.

Because I already have 200 resources, is there some way for resaving all resources automatically, to store TVs inside introtext?
And I have a large image for every resource, in TV, image path is also saved in introtext, but, is there a way to make small thumbnail, store it in some folder (thumbnails), and save that thumbnail path?
[ed. note: bsehovac last edited this post 13 years, 10 months ago.]