%%[[if edit]]%%

This RandomImage stack is configured to pick one image at random from: %id=dir_path -href%

For standard resolution images, only images starting %id=prefix% and ending in %id=extension% will be considered.

%[if %("%id=retina%" == "true")% ]%

For retina-display optimised images, only images starting %id=prefix% and ending in %id=retina_extension% will be considered.

%[endif]%

One image between (or including) %id=prefix%%id=range_array[0]%%id=extension% and %id=prefix%%id=range_array[1]%%id=extension% will be picked at random for display.

The image displayed will have an ALT attribute of: %id=alt_text%

%%[[endif]]%% %%[[if !edit]]%% %[if %("%id=placement%" == "extracontent")% ]%
%[endif]% %[if %("%id=placement%" == "freestyle")% ]%
%[endif]% %[if %("%id=placement%" == "normal")% ]%
%[endif]% %[if %("%id=link%" == "true")% ]%%id=link_address%%[endif]% %id=alt_text% %[if %("%id=link%" == "true")% ]%%id=link_address%%[endif]%
%%[[endif]]%%