Bruno17 / MIGX

MIGX for revo 2.2 and above
85 stars 78 forks source link

Add ID of mediasource for renderChunk #403

Closed Alexij2 closed 1 year ago

Alexij2 commented 2 years ago

This is necessary so that when rendering a chunk, you can find the source path for a photo or file. Now the source id is specified and in the render it remains to add a snippet of getting a path for a specific task. The problem of constant rendering of photos is also solved. Because render Image (if there are many and different photos) loads the server and a 508 or 504 error pops up. The MIGX table with the photo is also twitching then refresh some data in tables, but if you add this little line of code, you can render as you like.

It add placeholder _media_source_id to the renderOptions for each item field.

Partial solution of the problem:

372