Jako tip definitely helped. I'll still mulling Susan's comment cause there's something there that's eluding me.
Basically I have this code
<div data-img="">
<div data-picture data-alt="[[+alt:htmlentities]]>
<div data-src="[[+image:pthumb=`w=640&h=360&zc=1`]]"></div>
<div data-src="[[+image:pthumb=`w=640&h=360&zc=1`]]" data-media="(min-width: 400px)"></div>
<div data-src="[[+image:pthumb=`w=800&h=450&zc=1`]]" data-media="(min-width: 800px)"></div>
<div data-src="[[+image:pthumb=`w=1000&h=562&zc=1`]]" data-media="(min-width: 1000px)"></div>
<div data-src="[[+image:pthumb=`w=1824&h=1025&zc=1`]]" data-media="(min-width: 1824px)"></div>
<noscript>
<img src="[[+image:pthumb=`w=400&h=225&zc=1`]]" alt="[[+alt:htmlentities]]">
</noscript>
</div>
<div class="fotorama_box">
<h2><a href="[[+billboard_headline-link-path]]">[[+billboard_headline]]</a></h2>
<p><a href="[[+billboard_tagline-link-path]]">[[+billboard_tagline]] ></a></p>
</div>
</div>
What I am trying to accomplish is to get the product of:
<div data-picture data-alt="[[+alt:htmlentities]]>
<div data-src="[[+image:pthumb=`w=640&h=360&zc=1`]]"></div>
<div data-src="[[+image:pthumb=`w=640&h=360&zc=1`]]" data-media="(min-width: 400px)"></div>
<div data-src="[[+image:pthumb=`w=800&h=450&zc=1`]]" data-media="(min-width: 800px)"></div>
<div data-src="[[+image:pthumb=`w=1000&h=562&zc=1`]]" data-media="(min-width: 1000px)"></div>
<div data-src="[[+image:pthumb=`w=1824&h=1025&zc=1`]]" data-media="(min-width: 1824px)"></div>
<noscript>
<img src="[[+image:pthumb=`w=400&h=225&zc=1`]]" alt="[[+alt:htmlentities]]">
</noscript>
</div>
to be inserted between the quotes in
Perhaps this is impossible, or I am approaching it with the wrong tools or methods. When set up with one image path between the quotes, that image is static and doesn't change. What I am attempting to accomplish is to allow pthumb and pictureFill to supply various sizes of the image based on the device screen size.
Basically, one master image is loaded into the MIGx form. pthumb and pictureFill handle the rest. I have confirmed that indeed that pthumb pictureFill is working simply by removing the outer div data-img... but then fotorama doesn't function. Images are simply stacked vertically on the page.
I had started with a different version of pictureFill that uses span instead of div. Maybe I need to switch back to that version as I have not tried it since Jako mentioned removing the brackets.