• Resolved toxicum

    (@toxicum)


    Is there a possibility to import Galleries from FooGallery? I’m on the way to migrate to SimpLy, as its mobile handling for Slider Galleries is way better.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter toxicum

    (@toxicum)

    FooGallery exports JSON in this format for a Gallery:

    [
    	{
    		"ID": "2141",
    		"template": "image-viewer",
    		"name": "My Gallery Title",
    		"datasource_name": "media_library",
    		"attachment_ids": [
    			"4172",
    			"4171",
    			"4173",
    			"4175"
    		],
    		"settings": {
    			"foogallery_items_view": "manage",
    			"image-viewer_thumbnail_size": {
    				"width": "640",
    				"height": "360",
    				"crop": "1"
    			},
    			"image-viewer_thumbnail_link": "image",
    			"image-viewer_lightbox": "foobox",
    			"image-viewer_alignment": "fg-center",
    			"image-viewer_looping": "enabled",
    			"image-viewer_theme": "fg-light",
    			"image-viewer_border_size": "fg-border-thin",
    			"image-viewer_rounded_corners": "",
    			"image-viewer_drop_shadow": "fg-shadow-outline",
    			"image-viewer_inner_shadow": "",
    			"image-viewer_loading_icon": "fg-loading-default",
    			"image-viewer_loaded_effect": "fg-loaded-fade-in",
    			"image-viewer_foobox_caption_source": "",
    			"image-viewer_hover_effect_type": "normal",
    			"image-viewer_caption_invert_color": "",
    			"image-viewer_hover_effect_color": "",
    			"image-viewer_hover_effect_scale": "",
    			"image-viewer_hover_effect_caption_visibility": "fg-caption-hover",
    			"image-viewer_hover_effect_transition": "fg-hover-fade",
    			"image-viewer_hover_effect_icon": "fg-hover-zoom",
    			"image-viewer_caption_title_source": "",
    			"image-viewer_caption_desc_source": "",
    			"image-viewer_caption_alignment": "",
    			"image-viewer_captions_limit_length": "",
    			"image-viewer_custom_settings": "",
    			"image-viewer_custom_attributes": "",
    			"image-viewer_custom_class": "",
    			"image-viewer_include_title": "",
    			"image-viewer_lazyload": ""
    		},
    		"sorting": "",
    		"retina": {
    			"2x": "true",
    			"3x": "true",
    			"4x": "true"
    		},
    		"custom_css": "",
    		"attachments": {
    			"4172": {
    				"url": "https://www.example.com/wp-content/uploads/2022/09/IMG_20220101_104712.jpg",
    				"title": "Image 1 Title",
    				"caption": "",
    				"description": "",
    				"alt": "Image 1 Alt"
    			},
    			"4171": {
    				"url": "https://www.example.com/wp-content/uploads/2022/09/IMG_20220101_114947.jpg",
    				"title": "Image 2 Title",
    				"caption": "",
    				"description": "",
    				"alt": "Image 2 Alt"
    			},
    			"4173": {
    				"url": "https://www.example.com/wp-content/uploads/2022/09/IMG_20220101_104720.jpg",
    				"title": "Image 3 Title",
    				"caption": "",
    				"description": "",
    				"alt": "Image 1 Alt"
    			},
    			"4175": {
    				"url": "https://www.example.com/wp-content/uploads/2022/09/IMG_20220101_114934.jpg",
    				"title": "Image 4 Title",
    				"caption": "",
    				"description": "",
    				"alt": "Image 4 Alt"
    			}
    		}
    	}
    ]
    Plugin Author GalleryCreator

    (@gallerycreator)

    Importing from this plugin is not possible, but you can import images into SimpLy Gallery as a list of attachments IDs (comma separated).
    Example: 4172,4171,4173,4175

    Thread Starter toxicum

    (@toxicum)

    Nice. Where could I enter the Ids? When I create a Gallery, I’m taken to the block editor where I can upload Media or select from the Media Library. I haven’t found an input field for Media-Ids, yet.

    Plugin Author GalleryCreator

    (@gallerycreator)

    create a gallery with any image to access the Items Manager. And on this panel you will find the import button
    https://monosnap.com/file/1ASqS5HIJ2IfKAaGcuo6tRNIvHMNBq

    Thread Starter toxicum

    (@toxicum)

    Thanks for that! All my FooGalleries have now been migrated to SimpLy.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Import from FooGallery?’ is closed to new replies.