I am trying to use php to create dynamic urls to populate a jquery slideshow carousel. The issue I am having is that I want to take images (which are stored in a file but collected organized by ids in the database) from the database and separate them. For example, they all are organized into 4 categories, I only want the image slideshow to include images from specific categories. In addition to that, there will be at least 4 images displaying at a time, the problem is that if I use dynamic urls, they all take the same images out, so basically I just have 4 versions on the same image displaying. Any suggestions or guidance?