@ Marcus
cMap has two image locations. By default the logo is shown in the upper left of the entry card. This image location is the image shortcode option. The following shortcode options affect the image shortcode option:`image_width
image_height
image_fallback
str_image=”No Logo Available”`
When a logo image has been uploaded to the entry, by default, it will show here. If no logo has been uploaded then the fallback “No Logo Available” block will be shown.
The second image location is in the bio content tray. The bio content tray will only show when the has been content entered into the Biography field for the entry. The photo image will only show in bio content tray if a photo has been uploaded to the entry. This image location is the tray_image shortcode option. The following shortcode options affect the tray_image shortcode option:`tray_image_width
tray_image_height
tray_image_fallback
str_tray_image=”No Photo Available”`
The valid options for image and tray_image are:`logo
photo`
The valid options for image_fallback and tray_image_fallback are:`block
none`
The height and width options control the image and tray_image dimensions.
The two str_ options control the text that is shown when the _fallback options are set to block.
So, with all that said, here’s what the default shortcode for cMap looks would look like if you had to set the options manually:
[connections image=logo image_fallback=block str_image="No Logo Available" tray_image=photo tray_image_fallback=none]
Now, to answer your questions:
– Remove Logo
[connections image=none image_fallback=none]
– Display Photo only AND – Display “No Photo Available” if no image
[connections image=photo image_fallback=block str_image="No Photo Available"]
Does that help?
-
This reply was modified 13 years, 2 months ago by
Steven Zahm.
-
This reply was modified 13 years, 2 months ago by
Steven Zahm.
