Hi, I'm using phpthumbof to display image tv's in a getResources chunk.
I'm using this code:
<img src="[[phpthumbof? &input=`[[$filePath]][[+tv.itemImage]]` &options=`&w=385&h=200&zc=1`]]" alt="[[+tv.itemImageAlt]]" width="385" height="200" />
(The reason I'm using the snippet call and not the output filter is because I add a filepath to the image url.)
It all works, but when I upload a new image to the image TV on one of the resources, and refresh the page with the getResources call on the frontend afterwards, it loads really slow. It takes about half a minute or more to show the images, and it looks like all the other image tv's (which are already thumbed and cached) are not cached as well. Even things like the company logo dont' load for a really long time, but this should be cached. There are about 10 resources that are shown on that page.
On next refresh the page does load fast, so it must have something to do with the creation of the thumbnail and caching it. But it shouldn't take that long, should it?
I'm on MODX Revolution 2.1.3-pl (traditional), using phpThumbOf 1.3.0 RC1, on a dedicated vps server.
I hope someone can help me out.
[ed. note: michelle84 last edited this post 14 years, 9 months ago.]