# Force update of a sitemap object (Image Url(

**URL:** <https://community.openhab.org/t/force-update-of-a-sitemap-object-image-url/152923>\
**Category:** Items & Sitemaps\
**Tags:** refresh\
**Created:** [January 11, 2024, 3:35pm UTC](https://community.openhab.org/t/force-update-of-a-sitemap-object-image-url/152923 "2024-01-11T15:35:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lamerjack](https://community.openhab.org/letter_avatar_proxy/v4/letter/l/85e7bf/32.png) [@Lamerjack](https://community.openhab.org/u/Lamerjack)\
**Post date:** [January 11, 2024, 3:35pm UTC](https://community.openhab.org/t/force-update-of-a-sitemap-object-image-url/152923/1 "2024-01-11T15:35:31Z")

</div>

Hi All,  
I’m running openhab 4.1 and until today i was showing in my sitemap that is displayed on the app a snapshot form a webcam.

I use this sitemap string:

```yaml
Image url="http://172.24.85.103:8080/static/Screenshots/Garage.jpg"

```

recently i added a button to update the snapshot.

```yaml
Image url="http://172.24.85.103:8080/static/Screenshots/Garage.jpg" refresh=5000
Switch item=SNAP_GARAGE_UPDATE mappings=[ON="Aggiorna"]	

```

the address where is stored the snapshot is another openhab with an ultraslow mobile connection.  
This setup works fine. Is possible to save bandwidth force the refresh only when i press the button using a rule?  
I know that is not a big deal, i made some tests and using the actual sitemap and the image is updated only when is really visible on the app, if i scroll down the page until goes off screen is not downloaded anymore.  
Thanks in advance Enrico.
