Input Type Image: path generated in Manager

Hi Modmore Team,
I have a site with the following constellation:

Context Settings:

Media Source (“Dateien”):

CB Input Field (Type Image):

The problem:

  • When the field “manager thumbnail size” is empty a linked or directly uploaded image is shown (but not resized)

  • When the field “manager thumbnail size” has a value (e.g. 400x200) only directly uploaded images are shown and resized. Linked images are not shown due to a path error with pthumb.

the “de” in the src-path should not be added.

Did I mixed up my system-/context-/mediasource-settings or is there an issue with CB?

Thanks for looking into this.


Hi Fabian,

Two things for you to try:

  1. Change your media source settings to set baseUrlRelative to no, and add a slash to the start of the path so it becomes /assets/Dateien/.
  2. If that doesn’t work, try setting the base_url_mode setting to absolute. You can read a bit more about what the base url mode is for in the Redactor documentation which describes the options in a bit more detail.

Thank you so much, that did the trick.
It’s still quite confusing for me all the base_url, site_url etc. pp. stuff with relative and absolute.

Wish you a great day!

1 Like