staffan.estberg Reply #1, 1 year, 10 months ago
Hi,
I have a question about using phpThumb/PHx - I've got the module to work but the image path is incorrect. The site is located in a subfolder and I think that's what causing the error. If I get the image url this is how it looks:
http://x/subfolder/assets/subfolder/image.php?src=/images/sample.jpg&w=100&h=100&hash=12345
As you can see the subfolder is displayed twice in the url. Does this matter to image.php when it fetches the image, or does the problem lie within it's own tree? My images are all located in _root/assets/images/. The images are outputted from TVs which I call by using ./assets/images/[*image*]. However, when using the thumbnail script I don't see ./assets before images, as shown above.
In any case, would there be a better caching thumb-generator out there to be used with ModX? I'm only after creating thumbnails, not any gallery components.
I have a question about using phpThumb/PHx - I've got the module to work but the image path is incorrect. The site is located in a subfolder and I think that's what causing the error. If I get the image url this is how it looks:
http://x/subfolder/assets/subfolder/image.php?src=/images/sample.jpg&w=100&h=100&hash=12345
As you can see the subfolder is displayed twice in the url. Does this matter to image.php when it fetches the image, or does the problem lie within it's own tree? My images are all located in _root/assets/images/. The images are outputted from TVs which I call by using ./assets/images/[*image*]. However, when using the thumbnail script I don't see ./assets before images, as shown above.
In any case, would there be a better caching thumb-generator out there to be used with ModX? I'm only after creating thumbnails, not any gallery components.