1. REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Allow full path to category images?

Discussion in 'Showcase Closed Suggestions' started by Stuart Wright, Feb 28, 2014.

  1. Stuart Wright

    Stuart Wright Member Showcase

    The instructions read:
    upload images to /styles/default/nflj/showcase/category_images
    but I want to put the images on our CDN.
    Could I request that the system allows us to put a full path in here like all the other standard url entry boxes for images?
    Thanks
     
  2. Bob

    Bob Developer Staff Member

    This has been changed in the next version. It now uses the core xf @imagePath style property (Appearance >> Styles >> "Style" >> Style Property Groups >> General >> Settings >> Path to Images (which by core xf default is set to styles/default).

    You can then move /nflj/showcase/ ALL SC STUFF ... to your CDN. Doing it this way also lets you have different Cat Icons for different styles (dark and light).

    Template code looks like this now...

    HTML:
            <xen:elseif is="{$item.category_image}" />
                                    <a class="avatar NoOverlay" href="{xen:link showcase, $item}">
                                        <img width="48" height="48" border="0" alt="{$item.category_name}" src="@imagePath/nflj/showcase/category_images/{$item.category_image}">
                                    </a>
     
  3. Bob

    Bob Developer Staff Member

    I should note that ALL (not just Category Image paths) Showcase specific image paths (not attachments) have been changed to this (bxslider, category_images, icons and slider).
     
  4. Stuart Wright

    Stuart Wright Member Showcase

    Excellent, thank you Bob.
     
    Bob likes this.
  5. Bob

    Bob Developer Staff Member

    You are more than welcome, I should have had it that way to begin with.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.