Dynamic carousel on individual posts

You can use WordPress built in gallery, see Gallery Shortcode. If you look for the gallery shortcode function in WordPress core, you can see how it grabs the image attachments to a post with get_children and outputs them. You can use this as a starting point to write your own function to output the gallery with your own markup and css / js by filtering post_gallery or just ouputting attached images without adding the gallery shortcode to the content.

There are also numerous gallery plugins, some have support for slider scripts. If you search the plugin repository you’ll find a few.

Edit- there’s also no reason why you can’t store n number of images as multiple custom fields with the same key. you’ll get an array of images, you just won’t be able to manage the order easily. another option is to create your own meta box and manage an array of images yourself using a single custom field. There are a few questions on this site regarding managing images with your own meta box + media library if you search around.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)