Strange image behaviour (File Manager)
Permalink
Hi all,
I'm running into a problem with the File Manager and output, when dealing with images.
First of all, I'm using a heavily modified version of Thumbview Template to display thumbnails on my main page. I say heavily modified, because I also modified the Image block to not output width and height values in the HTML markup, allowing me to use percentage values in my CSS on images to have the images resize with the browser.
The problem I'm running into is in the uploading and output of images. When I upload a 400px*274px image with the File Manager, it records those values in the Properties dialogue. However, at the bottom of that dialogue — where the image is shown — the Preview image is 250px*171px, and it's those dimensions that get outputted to Thumbview Template on the front end, causing the images to get really chunky over 250px wide, when they shouldn't be.
Also another problem I've noticed is that if I look at the source code of the rendered page, the images are coming from files/cache/, not from their proper paths as shown in the File Manager.
Any ideas on how to solve this problem?
Thanks!
I'm running into a problem with the File Manager and output, when dealing with images.
First of all, I'm using a heavily modified version of Thumbview Template to display thumbnails on my main page. I say heavily modified, because I also modified the Image block to not output width and height values in the HTML markup, allowing me to use percentage values in my CSS on images to have the images resize with the browser.
The problem I'm running into is in the uploading and output of images. When I upload a 400px*274px image with the File Manager, it records those values in the Properties dialogue. However, at the bottom of that dialogue — where the image is shown — the Preview image is 250px*171px, and it's those dimensions that get outputted to Thumbview Template on the front end, causing the images to get really chunky over 250px wide, when they shouldn't be.
Also another problem I've noticed is that if I look at the source code of the rendered page, the images are coming from files/cache/, not from their proper paths as shown in the File Manager.
Any ideas on how to solve this problem?
Thanks!