Loading...
 
Skip to main content

Features / Usability


Problem with Scaled Images

posts: 24

I'm trying to display a scaled image in a custom template, but I'm having erratic behaviour.

To display the image I use

Copy to clipboard
img src="show_image.php?id={$images[idx].imageId}&scaled&xsize{$nextx}&ysize={$nexty}

I have available scale of 600 x 400 and when I query the database, sometimes the scaled image is present, sometimes not, and even when the scaled image is present, sometimes it wont display on the page. Also some scaled images will display in IE, but not Firefox.

Any ideas?

Thanks.

posts: 2881 United Kingdom

If your using GD as your image processor then you cant' scale GIF images.

Damian

posts: 24

> If your using GD as your image processor then you cant' scale GIF images.
>
> Damian
>

Thanks Damian,

I understand the GIF issue, however these are jpeg images. When I upload an image sometimes it will scale properly and sometimes not. Then if the image uploaded did not scale properly, if I delete it and try uploading it again then sometimes it will scale the second time. Its very erratic and therefore giving me a very bad headache!😢

I'm attempting to customize the tiki-browse_gallery.tpl file to show the thumbnails and then a scaled image of one of the thumbnails at the bottom. As the user mouseovers the thumbnail the image at the bottom changes to the scaled version of the thumbnail. As I mentionned sometimes the scaled version displays and sometimes not. Even when I know the scaled image is stored because I queried the db

Any more thoughts?
Thanks