-
- 1,198 Posts
Quote from: sottwell at Sep 24, 2013, 12:46 PMActually, a relative path would be "assets/images/myimage.jpg", an absolute path would include the web root marker "/assets/images/myimage.jpg", while a full URL has the protocol and domain, "http://domain.com/assets/images/myimage.jpg".
...
I investigated on my problem with url of phpThumb and solved
the problem was caused by the settings in
Interface & Features > File base path = "mydomain/assets/" - corrected to "/assets/"
Interface & Features > Rewrite browser paths = "yes" - corrected to "no"
now phpThumb works
still have some problem with phpThumb crop settings: can't get a Top-Left crop
-
- 1,613 Posts
did you try: zc=`TL`?
ImageMagic works?
zc = zoom-crop. Will auto-crop off the larger dimension
so that the image will fill the smaller dimension
(requires both "w" and "h", overrides "iar", "far")
Set to "1" or "C" to zoom-crop towards the center,
or set to "T", "B", "L", "R", "TL", "TR", "BL", "BR"
to gravitate towards top/left/bottom/right directions
(requies ImageMagick for values other than "C" or "1")
Modx forums are slow
Evolution user, I like the back-end speed and simplicity
-
- 315 Posts
I couldn't find anything in here but I've been noticing that the manager is doing strange things. When saving document the url with sometimes be ok but on occasion I get a url the ends manager// or manager/manager/. The later shows an empty screen but the save operation has worked. Would anyone know why this is happening.
BBloke
Hello, loshenov
Maybe,
function render($resource, $template, $removeChunk,$dateSource,$dateFormat,$ph=array(),$phx=1,$x=0,$stop)
like this
function render($resource, $template, $removeChunk,$dateSource,$dateFormat,$ph=array(),$phx=1,$x=0,$stop=1)
-
- 1,613 Posts
I think I found a missing translation (for evogallery)
EvoGally installed with Store,
mm_rules:
mm_widget_evogallery('5','','','3');
Image in attachment.
[ed. note: fourroses666 last edited this post 10 years, 7 months ago.]
Evolution user, I like the back-end speed and simplicity
-
- 1,613 Posts
We have a old MAC (powerpc) and use firefox (3.6.28) as browser.
(This firefox can't be updated anymore.)
Safari works but #2 can't be done.
This works with all Evo except for 1.0.12
#1 The manager shows a blank page when I want to edit a page, the document three and navigation are visible but the edit page frame is blank.
#2 I can't delete an image, using ctrl - mouseclick doesn't show the subnav to delete an image.
Evolution user, I like the back-end speed and simplicity
-
- 3 Posts
Hi all,
Just a small question about the newly integrated phpthumb snippet in modx evo 1.0.12. I could not find any documentation on how to implement a filter.
without filter works: <img src="[[phpthumb? &input=`[*thumbnail*]` &options=`w=336,h=280,zc=1`]]" alt="[*pagetitle*]"/>
If try this it fails: [[phpthumb? &input=`[*thumbnail*]` &options=`w=134,h=109,zc=0,bg=FFFFFF,fltr[]=gray`]]
If try this it fails: [[phpthumb? &input=`[*thumbnail*]` &options=`w=134,h=109,zc=0,bg=FFFFFF,fltr{}=gray`]]
How do I add a filter with the intergrated phpthumb snippet?
Ps. If I use phx:phpthumb every works as aspected but i would like to use te integrated phpthumb version in the future.