Plugin

Developer
Supported

Child Categories

ExpressionEngine 1.x, ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Laisvunas

     

You must be logged in to post.

Child category images URLs not working

Support Request

IC360 (Oliver Cannell)
IC360 (Oliver Cannell)

For some reason the Child Category Image URLs are being output like this:

http://www.domainname.com/images/uploads/categories/http://www.domainname.com/images/uploads/categories/cat-thumb.jpg

I am using the “Child Categories” plugin along with the “Category ID” plugin.

{exp:category_id category_group="1" category_url_title="{segment_2}" parse="inward"}
 {exp
:child_categories parent="{category_id}" child_categories_sort_direction="asc" show_empty="yes"}
  {parent_category_start}
   
<h2>{parent_category_cat-subheading}</h2>
   <
p>{parent_category_description}</p>
  
{parent_category_end}

  {child_category_start}
   
<a href=""><img src="{child_category_image}" alt="{child_category_name}" height="140" /><br />
   
{child_category_name}</a>
  
{child_category_end}
 {
/exp:child_categories}
{
/exp:category_id} 
Laisvunas
# 1
Developer
Laisvunas

Hi,

What is the value of Category Image URL field?

What is the version of ExpressionEngine?

IC360 (Oliver Cannell)
# 2
IC360 (Oliver Cannell)

The category image that I have uploaded is called “cat-thumb.jpg”

EE is v2.5

Laisvunas
# 3
Developer
Laisvunas

Hi,

This issue is due to the bug in EE 2.5.0 {filedir} repetition in category image field

EllisLab promissed “Fix is in Upcoming Release”.

IC360 (Oliver Cannell)
# 4
IC360 (Oliver Cannell)

OK cool.
That solution worked for me.
:-)

Thanks a lot.

MobsterEE
# 5
MobsterEE

Of course, the link above is now a dead link due to EE changing their forums.  EE2 Child Categories does the same.  Anyone know of a work around or a way to display entry images within Child Categories?

MobsterEE
# 6
MobsterEE

Never Mind, I upgraded to Child Categories from EE2 Child Categories and it worked.  On a side note, any way to include images from each entry within Child Categories?

IC360 (Oliver Cannell)
# 7
IC360 (Oliver Cannell)

I don’t know for sure, but could you use the Child Category ID, and push this into an Embed?
{embed=“show_entry_images_template” childcategoryID=”{child_category_id}”}