{"id":255677,"date":"2025-10-18T23:46:24","date_gmt":"2025-10-18T23:46:24","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/image-roulette\/"},"modified":"2025-10-22T05:03:46","modified_gmt":"2025-10-22T05:03:46","slug":"image-roulette","status":"publish","type":"plugin","link":"https:\/\/te.wordpress.org\/plugins\/image-roulette\/","author":16328268,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"1.0.0","tested":"6.8.5","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Image Roulette","header_author":"Mark Westguard","header_description":"Display a random image from your Media Library galleries with full accessibility support. Spin the wheel of images!","assets_banners_color":"c9c3b7","last_updated":"2025-10-22 05:03:46","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/image-roulette\/","header_author_uri":"https:\/\/profiles.wordpress.org\/westguard\/","rating":0,"author_block_rating":0,"active_installs":30,"downloads":326,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"westguard","date":"2025-10-22 05:03:46"}},"upgrade_notice":{"1.0.0":"<p>Initial release of Image Roulette plugin.<\/p>"},"ratings":[],"assets_icons":{"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":3380658,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3380658,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3380658,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3382336,"resolution":false,"location":"assets","locale":"","contents":"{\"$schema\":\"https:\\\/\\\/playground.wordpress.net\\\/blueprint-schema.json\",\"meta\":{\"title\":\"Image Roulette Plugin Development\",\"author\":\"westguard\",\"description\":\"Blueprint for developing and testing the Image Roulette WordPress plugin\"},\"preferredVersions\":{\"php\":\"8.0\",\"wp\":\"latest\"},\"landingPage\":\"\\\/wp-admin\\\/admin.php?page=imagro\",\"login\":true,\"steps\":[{\"step\":\"login\",\"username\":\"admin\",\"password\":\"password\"},{\"step\":\"installPlugin\",\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"image-roulette\"}},{\"step\":\"activatePlugin\",\"pluginPath\":\"image-roulette\\\/image-roulette.php\"},{\"step\":\"setSiteOptions\",\"options\":{\"blogname\":\"Image Roulette Development\",\"blogdescription\":\"Testing environment for Image Roulette plugin\"}},{\"step\":\"defineWpConfigConsts\",\"consts\":{\"WP_DEBUG\":false,\"WP_DEBUG_LOG\":false,\"WP_DEBUG_DISPLAY\":false,\"SCRIPT_DEBUG\":false}},{\"step\":\"installPlugin\",\"pluginZipFile\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"image-roulette\"},\"options\":{\"activate\":true}}]}"}},"all_blocks":{"imagro\/random-image":{"name":"imagro\/random-image","title":"Image Roulette"}},"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":3380658,"resolution":"1","location":"assets","locale":""},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":3380658,"resolution":"2","location":"assets","locale":""},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":3380658,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Gallery management interface","2":"Gutenberg block settings panel with sizing options","3":"Example of random image display on frontend"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[4121,210,163,84,244],"plugin_category":[50],"plugin_contributors":[162020],"plugin_business_model":[],"class_list":["post-255677","plugin","type-plugin","status-publish","hentry","plugin_tags-blocks","plugin_tags-gallery","plugin_tags-images","plugin_tags-media","plugin_tags-random","plugin_category-media","plugin_contributors-westguard","plugin_committers-westguard"],"banners":{"banner":"https:\/\/ps.w.org\/image-roulette\/assets\/banner-772x250.jpg?rev=3380658","banner_2x":"https:\/\/ps.w.org\/image-roulette\/assets\/banner-1544x500.jpg?rev=3380658","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/image-roulette\/assets\/icon-256x256.jpg?rev=3380658","icon_2x":"https:\/\/ps.w.org\/image-roulette\/assets\/icon-256x256.jpg?rev=3380658","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/image-roulette\/assets\/screenshot-1.jpg?rev=3380658","caption":"Gallery management interface"},{"src":"https:\/\/ps.w.org\/image-roulette\/assets\/screenshot-2.jpg?rev=3380658","caption":"Gutenberg block settings panel with sizing options"},{"src":"https:\/\/ps.w.org\/image-roulette\/assets\/screenshot-3.jpg?rev=3380658","caption":"Example of random image display on frontend"}],"raw_content":"<!--section=description-->\n<p>Image Roulette is a plugin that allows you to create galleries from your Media Library and display a random image from those galleries using either shortcodes or Gutenberg blocks. Perfect for displaying rotating testimonials, featured products, random artwork, or any content where you want to show variety.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li><strong>Create Custom Galleries<\/strong>: Organize your Media Library images into custom galleries<\/li>\n<li><strong>Random Image Display<\/strong>: Show a different image each time the page loads<\/li>\n<li><strong>Gutenberg Block Support<\/strong>: Native block editor integration<\/li>\n<li><strong>Shortcode Support<\/strong>: Use anywhere shortcodes are supported<\/li>\n<li><strong>Flexible Image Sizing<\/strong>: Choose from registered image sizes or set custom dimensions<\/li>\n<li><strong>Aspect Ratio Preservation<\/strong>: Smart resizing that maintains image proportions<\/li>\n<li><strong>Accessibility Ready<\/strong>: Full support for alt text, captions, and screen readers<\/li>\n<li><strong>User-Friendly Admin<\/strong>: Intuitive interface for managing galleries<\/li>\n<li><strong>Bulk Operations<\/strong>: Select, edit, and delete multiple images at once<\/li>\n<\/ul>\n\n<h4>Usage<\/h4>\n\n<p><strong>Creating a Gallery:<\/strong>\n1. Go to Settings \u2192 Image Roulette in your admin dashboard\n2. Click \"Create New Gallery\"\n3. Enter a gallery name\n4. Select images from your Media Library\n5. Save your gallery<\/p>\n\n<p><strong>Using the Block:<\/strong>\n1. Add the \"Image Roulette\" block to any page or post\n2. Select your gallery from the dropdown\n3. Configure image size settings\n4. Publish your content<\/p>\n\n<p><strong>Using the Shortcode:<\/strong>\n    [imagro id=\"gallery_1\"]<\/p>\n\n<p><strong>Shortcode Parameters:<\/strong>\n* <code>id<\/code> - Gallery ID (required)\n* <code>size<\/code> - Registered image size (thumbnail, medium, large, full)\n* <code>width<\/code> - Custom width in pixels\n* <code>height<\/code> - Custom height in pixels<\/p>\n\n<p><strong>Examples:<\/strong>\n* <code>[imagro id=\"gallery_123\" size=\"large\"]<\/code>\n* <code>[imagro id=\"gallery_123\" width=\"300\"]<\/code>\n* <code>[imagro id=\"gallery_123\" width=\"400\" height=\"300\"]<\/code><\/p>\n\n<h3>Credits<\/h3>\n\n<p>This plugin was inspired by a request from @michelleames for speednetworkonline.com to create an accessible random image block.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/image-roulette<\/code> directory, or install the plugin through the plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen<\/li>\n<li>Use the Settings \u2192 Image Roulette screen to create your first gallery<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20i%20use%20multiple%20galleries%20on%20the%20same%20page%3F'><h3>Can I use multiple galleries on the same page?<\/h3><\/dt>\n<dd><p>Yes! You can use as many Image Roulette shortcodes or blocks as you want on a single page, each displaying from different galleries.<\/p><\/dd>\n<dt id='do%20images%20maintain%20their%20aspect%20ratio%20when%20resized%3F'><h3>Do images maintain their aspect ratio when resized?<\/h3><\/dt>\n<dd><p>Yes, when using custom width or height (setting one to 0), the plugin automatically calculates the other dimension to maintain the original aspect ratio.<\/p><\/dd>\n<dt id='is%20the%20plugin%20accessible%3F'><h3>Is the plugin accessible?<\/h3><\/dt>\n<dd><p>Absolutely! Image Roulette includes full support for alt text, image titles, captions, and follows web accessibility standards.<\/p><\/dd>\n<dt id='can%20i%20style%20the%20output%3F'><h3>Can I style the output?<\/h3><\/dt>\n<dd><p>Yes, the plugin outputs clean HTML with CSS classes that you can style:\n* <code>.imagro-image<\/code> - Main container\n* <code>.imagro-error<\/code> - Error messages<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Gallery creation and management<\/li>\n<li>Gutenberg block support<\/li>\n<li>Shortcode support<\/li>\n<li>Custom image sizing<\/li>\n<li>Accessibility features<\/li>\n<li>Bulk image operations<\/li>\n<\/ul>","raw_excerpt":"Display a random image from your Media Library galleries with full accessibility support. Spin the wheel of images!","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/255677","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=255677"}],"author":[{"embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/westguard"}],"wp:attachment":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=255677"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=255677"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=255677"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=255677"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=255677"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=255677"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}