Yep this was indeed some photos of how illegal border crossers were being handled during the Obama administration as result of refugees trying to escape Central/South America violence. I remember the media made a big deal about this when the pictures were published. It led to the need for more facilities to handle the large number of detained families and children. It led to debate over the possibility of facilities at military installation might be used. It added to the criticism of Obama's handling of deportations vs. refugee policies.
And it's sad that Anti-Trump critics are creating memes to attack Trump Admin in the same way Anti-Obama critics created memes to attack the Obama Admin with images that had nothing to do with Obama. It doesn't take much to spread propaganda via social media in efforts to push personal agendas. What's worse, it's never going to change in our society. Hate messaging moves faster than facts and truth.