Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
jaeitee Posted December 16, 2015 Posted December 16, 2015 Hi Guys, just searching for some help here in dealing with an upload field in Pages and inserting <img src=""> in to the first 2 file objects of the array and ignoring the rest. I have an "Upload" box in a form that allows Image uploads: Inside the listing format I have custom: Now my issue is with the output, I note that it states on the page "If using mulitple uploads, $value is an array of File Objects." So my output is now all three attachments uploaded: monthly_2015_12/56702793c0cf8_gps13.jpg.e86ece2f282dcc85808dcb39b95d6027.jpg,monthly_2015_12/5670279591481_gps12.jpg.f1d51fa8425e0ae34d951d5f935c8600.jpg,monthly_2015_12/gps1.jpg.010671ecf2a449e52021d61c36c5c8ce.jpg How can I insert <img src="value"> in to the first 2 uploads and not display the output of any additional uploads on that page?
jaeitee Posted December 16, 2015 Author Posted December 16, 2015 Found my answer here: https://community.invisionpower.com/topic/423945-multiple-upload-field-urls-incomplete/
Recommended Posts
Archived
This topic is now archived and is closed to further replies.