Legacy Sideblock Size Control

Status
Not open for further replies.

CharlieDelta

Customer
I was changing the size of the preview image via template edits because the image default size was too large for my side block.
I find now with the mini player active I can no longer control the size of the image when the feature member is streaming.
If I change the featured member to someone who is not streaming the sidebar image respects my edit change.
crr twitch.png
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
So I added a width and height control to this line and it now works fine.
Code:
<vb:if condition="$channel['streaminfo']['preview'] AND !$vboptions['dbtech_twitch_featured_hideimage']"><img src="{vb:raw channel.streaminfo.preview}" border="0" /></vb:if>

Looks like this now;
Code:
<vb:if condition="$channel['streaminfo']['preview'] AND !$vboptions['dbtech_twitch_featured_hideimage']"><img src="{vb:raw channel.streaminfo.preview}" width="240" height="140" border="0" /></vb:if>

Is it possible to add a stylevar to control this easier?
 
Style Variables :)

As we do not easily see replies to feature suggestions, I'll close this thread. If you have any further queries or issues, please feel free to start a new support ticket :)
 
Status
Not open for further replies.
Back
Top