AndreaMarucci Well-known member Sep 24, 2025 #1 Hello, I'd like to know how can I put an image here in the forum header. If it's possible I would like to make that image does appear based on time condition, eg. if the date is after 1st of january 2026, then the image is shown. thanks
Hello, I'd like to know how can I put an image here in the forum header. If it's possible I would like to make that image does appear based on time condition, eg. if the date is after 1st of january 2026, then the image is shown. thanks
Solution BassMan Sep 24, 2025 AndreaMarucci said: What does the number 1767225600 mean? Is something related to 01/01/2026 in any way? Click to expand... Yes, that's the UNIX timestamp. You can help with this: https://www.unixtimestamp.com/ Btw, I haven't tested this, but it should work. AndreaMarucci said: will the image be responsive so it's resized gradually based on the screen resolution? Click to expand... Sorry, use this code instead: HTML: <xf:if is="$xf.time > 1767225600"> <img src="path/to/image.png" alt="Image" style="max-width:100%; height:auto;" /> </xf:if>
AndreaMarucci said: What does the number 1767225600 mean? Is something related to 01/01/2026 in any way? Click to expand... Yes, that's the UNIX timestamp. You can help with this: https://www.unixtimestamp.com/ Btw, I haven't tested this, but it should work. AndreaMarucci said: will the image be responsive so it's resized gradually based on the screen resolution? Click to expand... Sorry, use this code instead: HTML: <xf:if is="$xf.time > 1767225600"> <img src="path/to/image.png" alt="Image" style="max-width:100%; height:auto;" /> </xf:if>
BassMan Well-known member Sep 24, 2025 #2 Hello, here: For conditional, try using this: HTML: <xf:if is="$xf.time > 1767225600"> <img src="path/to/image.png" alt="Image" /> </xf:if> Upvote 0 Downvote
Hello, here: For conditional, try using this: HTML: <xf:if is="$xf.time > 1767225600"> <img src="path/to/image.png" alt="Image" /> </xf:if>
AndreaMarucci Well-known member Sep 24, 2025 #3 Thanks a lot! I'm trying. Just a clarification. What does the number 1767225600 mean? Is something related to 01/01/2026 in any way? As far as you know, will the image be responsive so it's resized gradually based on the screen resolution? Upvote 0 Downvote
Thanks a lot! I'm trying. Just a clarification. What does the number 1767225600 mean? Is something related to 01/01/2026 in any way? As far as you know, will the image be responsive so it's resized gradually based on the screen resolution?
BassMan Well-known member Sep 24, 2025 #4 AndreaMarucci said: What does the number 1767225600 mean? Is something related to 01/01/2026 in any way? Click to expand... Yes, that's the UNIX timestamp. You can help with this: https://www.unixtimestamp.com/ Btw, I haven't tested this, but it should work. AndreaMarucci said: will the image be responsive so it's resized gradually based on the screen resolution? Click to expand... Sorry, use this code instead: HTML: <xf:if is="$xf.time > 1767225600"> <img src="path/to/image.png" alt="Image" style="max-width:100%; height:auto;" /> </xf:if> Upvote 1 Downvote Solution
AndreaMarucci said: What does the number 1767225600 mean? Is something related to 01/01/2026 in any way? Click to expand... Yes, that's the UNIX timestamp. You can help with this: https://www.unixtimestamp.com/ Btw, I haven't tested this, but it should work. AndreaMarucci said: will the image be responsive so it's resized gradually based on the screen resolution? Click to expand... Sorry, use this code instead: HTML: <xf:if is="$xf.time > 1767225600"> <img src="path/to/image.png" alt="Image" style="max-width:100%; height:auto;" /> </xf:if>