We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11838 ☆ A M B ☆
    • 79 Posts
    I have a tv image with an output text that give the image name only.

    image1.jpg instead of images/image1.jpg.

    I use this image for a slideshow so i call it with phpthumof this way :

    [-[*image1:phpthumbof=`w=375&h=500`]]

    Of course as long as it miss the the directory "images" in the the output text tv, it doesn't works properly.

    if call the tv like this : images/[-[*image1:phpthumbof=`w=375&h=500`]] it doesn't work.

    Is i add manualy the directory 'images" in the tv field before the image name it works perfectly.

    My question is : is there a way to call something like this ? [-[images/*image1:phpthumbof=`w=375&h=500`]]

    or to pre fill the field with images/ i guess this solution would be better.

    I really need help because it is the last bug on project that i have show to my client tomorrow. The night has been short thank you...
      • 17667
      • 108 Posts
      Not sure why your TV is not outputting the full path, generally it should. Regardless, you can use phpthumbof as a snippet like this:
      [[phpthumbof? &input=`images/[[*image1]]` &options=`w=375&h=500`]]