-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Put local images in custom welcome page #85
Comments
Hi @EliottPaillard. I assume you mean the community landing page right (the first page you arrive to after logging in)? If so, to add images you first need to add these as community resources. As the community admin go to your community's details and select Resources. Upload one or more resources that you want here (can be anything, but in your case it would be an image). Once you've defined your image as a resource, go to your landing page. You will notice there above the WYSIWYG editor a button Copy resource reference. With this you can search and find your image's resource. Selecting it will copy its path to the clipboard. You can then add this in the WYSIWYG editor as the source of an image. With the resource path copied, place the cursor where you want in the landing page and then click to add an image. In the source paste the copied resource reference. Doing so you will notice immediately that you get the image's dimensions. Once you click on save the image will be added. Important note: This image will only be visible to users within the community and are not accessible externally. In addition, if you use the Test Bed administrator account to view either these screens or the landing page, images added via community resources will appear broken. This is because to load such images the ITB needs to determine the user's community, which in the case of the Test Bed administrator is not directly possible. This is a known inconvenience that we want to address at some point. In your case however, if you just use community admins and users during your development you wont notice this. Tip: You can use similarly community resources to add nice rich documentation for your test cases (e.g. UML diagrams), or to customise your certificate PDF reports. Also you can add anything as a resource - not just images. This allows you to e.g. also share like this archives with test data, documents etc. that you may not want to otherwise publish that you can add via links. |
Great ! |
Currently no, as for these the ITB needs to know the user's community. To add a reference to a remote image log in as the Test Bed admin and adapt the welcome page message in the system configuration: Regarding supporting local images, I'll add this to our backlog but I would treat it as low priority currently. Its quite niche and you should anyway be able to refer to a remote image if you are hosting the ITB (unlike a community's welcome page where you could have multiple communities in a single ITB instance). The same applies for images (logo, footer, favicon) you would be referring to when defining a custom theme. |
After checking this further I believe we could include the management and use of system-wide, public resources (that could be used on e.g. the welcome page or a default landing page) in our next release. I suggest we keep this issue open and resolve it once this feature is published in a nightly build. |
Yes of course, we don't really need it for the time being anyway. |
Hey @costas80,
We used already the customization feature of ITB pages but we didn't find how insert local images easily.
Is it possible to point to local files or do they need to be published online before?
The text was updated successfully, but these errors were encountered: