Title: Dynamic images carousel
Last modified: June 22, 2022

---

# Dynamic images carousel

 *  [yo5566](https://wordpress.org/support/users/yo5566/)
 * (@yo5566)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/dynamic-images-carousel/)
 * Hi everyone,
 * I want to set up an image gallery with jpgs from a directory placed at the wordpress
   root. Its content is accessible by URL and managed externally by a bash script
   and updated through sftp.
 * I have found many cool galleries/carousels that would work but WordPress media
   library allows only static images that have to be uploaded manually through admin.
 * Is there any way to display dynamic content without going though a dev. with 
   some js and ajax ? Or any solution that might help me.
 * Thank you all.
    -  This topic was modified 3 years, 10 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).

Viewing 1 replies (of 1 total)

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/dynamic-images-carousel/#post-15761816)
 * You can also import images to the Media Library in another way, even automatically.
   Have a look at the comments, they contain many examples: [https://developer.wordpress.org/reference/functions/wp_insert_attachment/](https://developer.wordpress.org/reference/functions/wp_insert_attachment/)
 * So you could use e.g. a WP-Cron or System-Cron to regularly import new added 
   images. If necessary, you can also start this via the bash script after it has
   uploaded new images.
 * Also you could import the images directly into WordPress via REST-API instead
   of FTP: [https://developer.wordpress.org/rest-api/reference/media/#create-a-media-item](https://developer.wordpress.org/rest-api/reference/media/#create-a-media-item)
 * Since these are all very individual requirements, you probably won’t find anything
   ready-made for this. The same is true for the other way: don’t import the images
   but embed them directly into WordPress as a gallery. This would also probably
   only be possible through individual development.

Viewing 1 replies (of 1 total)

The topic ‘Dynamic images carousel’ is closed to new replies.

## Tags

 * [ftp](https://wordpress.org/support/topic-tag/ftp/)
 * [gallery](https://wordpress.org/support/topic-tag/gallery/)
 * [images](https://wordpress.org/support/topic-tag/images/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [threadi](https://wordpress.org/support/users/threadi/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/dynamic-images-carousel/#post-15761816)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
