russelbcox Posted August 28, 2010 Posted August 28, 2010 Hello All, I have just created a new shop and have a question with regards to category images. I can upload an image for a category in admin ok, however I would like to display them on the front-end to output something like this... // {image1} Category name 1 {image2} Category name 2 {image3} Category name 3 {image4} Category name 4 // Basically show both text and an image for each category. Does this make sense? Russ
russelbcox Posted August 28, 2010 Author Posted August 28, 2010 Hello All, I have just created a new shop and have a question with regards to category images. I can upload an image for a category in admin ok, however I would like to display them on the front-end to output something like this... // {image1} Category name 1 {image2} Category name 2 {image3} Category name 3 {image4} Category name 4 // Basically show both text and an image for each category. Does this make sense? Russ Hi, found the bit of code which outputs the category name... // $categories_string .= $tree[$counter]['name']; // How can I insert the category image just before? Russ
russelbcox Posted August 28, 2010 Author Posted August 28, 2010 Hi, found the bit of code which outputs the category name... // $categories_string .= $tree[$counter]['name']; // How can I insert the category image just before? Russ Anybody here know how to do this? Russ
Recommended Posts
Archived
This topic is now archived and is closed to further replies.