tried to fix carousel to only take the first 4 posts with images by using a concatenation string method. doesnt really work yet, trying if proper counter will work next
fixed carousel. it now goes through the posts with a proper counter, and displays the top 4 posts with images