forumm.wapka.co
Home
»
Wapka Codes 2021
» how to replace user avatar with thumbnail when pic is not uploaded
mario
3 years ago
if user have not upload avatar (picture) think of it.. his or her profile will look boring. suggest you code avatar <*img>:VALUE(%avatar%).IFEQ().THEN(/thumbnail.png).ELSE(%avatar%);<*/img>
comment
Recent Comments (4)
salamonvikkas
3 years ago
<*img src=":VALUE(%avatar%).IFEQ().THEN(/thumbnail.png).ELSE(%avatar%);" style="width:100px;height:100px;"/>
reply
sajeevscg
3 years ago
i think more convenience code like this :IFSET(%avatar%). THEN(<'img' src'="%avatar%"/>).ELSE(<'img' src'="image url"/>);
reply
mario
3 years ago
okay thanks
reply
aishwarya
3 years ago
reply