Resource icon

XF 1 Tip Simple BBCode for image with manual width

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,151
Points
823

Reputation:

ENXF NET submitted a new resource:

Simple BBCode for image with manual width - Insert an image with option for custom width

This is a VERY SIMPLE custom BB Code that allows you to set an explicit image width with auto scaled height.

Ideal if you want to display a more clearer image for Retina devices, by explicitly inputting half of the image's width so it scales when displayed. Ideal for use in signature images...

Create a BBCode with these options:

Paramater: Yes

HTML replacement:
Code:
<img width="{option}px" height="auto" src="{text}">
Allow this BBCode in signatures: Yes

Within this...

Read more about this resource...
 
Top