Support » Plugin: Maga Category Images » [Plugin: Maga Category Images] How to implement

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author maga56

    (@maga56)

    Use this method in your php files where you want the image to appear

    <?php if($maga) : ?>
    <img src = “<?php echo $maga->getSpecificImage(categoryId goes here); ?>”/>
    <?php endif; ?>

    This will generate the image tag

    OH i thought it would be able to dynamically add the image for each category, and not need to be specified. I could just manually add this in the code, this doesn’t help with new Categories and image associated with them from an admin who doesnt know where to add specific code.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Maga Category Images] How to implement’ is closed to new replies.