-
☆ A M B ☆
- 397 Posts
I have been having a problem with media sources as well. First of all when I create a media resource, then apply it to all of my image TVs, phpThumbOf could not find the paths. Then I used the longer snippet call for it
[[!phpthumbof? &input=`[[+filename]]` &options=`&w=640&h=480&zc=0&aoe=0&far=0`]]
but added an extra ../ in front of the filename. This seemed to help. The error logs were saying that it could not find a path and it was actually repeating the base_url. Then after installing Babel and using two contexts, this did not work anymore. I played around, and then found out that if I set the base_url in the contexts to empty, phpThumbOf started to work again.
But now it seems that TinyMCE is not correctly inserting images. It is using the path assets/path_to_file...which I would think is correct. But the image is not showing in the backend... Any tips there?
Benjamin Davis: American web designer living in Munich, Germany and a MODX Ambassador. I am also co-founder of SEDA.digital, a MODX Agency.
-
☆ A M B ☆
- 397 Posts
I have found that if I manually add a ../ before assets/path_to_file that it successfully adds the image. I then tried to add this in the tinyMCE settings, but nothing happens.....
Benjamin Davis: American web designer living in Munich, Germany and a MODX Ambassador. I am also co-founder of SEDA.digital, a MODX Agency.
I'm continuing to have similar problems with Media Sources also. The existing system should not have been deprecated and replaced by media sources. We should have the choice to use the old system (which does work w/out issues).
-
☆ A M B ☆
- 397 Posts
Yes, it is very unfortunate. Supposedly an update is coming soon to take care of it! But in the meantime, I am considering doing all new projects using an older version of MODX - 2.1.5........
Benjamin Davis: American web designer living in Munich, Germany and a MODX Ambassador. I am also co-founder of SEDA.digital, a MODX Agency.