How to add image/icon beside a category in service portal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2019 08:12 PM
Hello,
How can I add images in a category and catalog items in the service portal? Currently categories and catalogs are being displayed as blocks and I have no idea how to insert an image within those blocks. I tried inserting desktop image via 'Maintain categories' and the image is being displayed only in the back end but not in the portal. Any help would do as I am quite new to portal development, thank you.
Categories:
Catalog items:
Regards,
Raphael

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2019 11:42 PM
For getting that you need to modify the html content of your widget and add the below
HTML:
<img ng-src="{{::item.picture}}?t=small" ng-if="item.picture" alt="{{::item.name}}" class="m-r-sm m-b-sm item-image pull-left"/>
Server :
item.picture =< url of the image >
For more details refer sc category page widget script : it hazs a similar functionality.
-satheesh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2019 01:47 AM
Hello,
There is one problem, i don't know what widget it belongs to since nothing is displaying whenever i 'ctrl + right' click the specific widget. Does that mean that I lack access and that I cannot edit widgets in that portal? thank you

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2019 09:48 AM