Hi

I've just moved this site to a new host
http://rolflaimbock.nl/site/

But there seems to be a problem with my image thumbnails
The site displays the fullsize images instead of the thumbnails

is there a way to fix this or do I need to upload all the images again?

regards Joris

Comments

benthere’s picture

I had that problem too, but I had thought it was due to the image import module I was using. I guess it may be a bug in image.module.

Anyway, to fix the images on your site, you just need to delete the thumbnails and reload the gallery to regenerate them. If you have a lot of images, it can take a while and be processor intensive. But it will work.

If you have shell access, you can:

cd files/images
rm *.thumbnail.*

Then reload the page that displays the thumbnails.

jorisx’s picture

hmm strange, I've deleted the .thumbnails. and .preview. files
but the site still displays the original files;
This is the html:

<span class="image thumbnail"><img src="http://rolflaimbock.nl/site/files/images/200610-03.jpg" width="399" height="381"  alt="Landscape III" title="Landscape III" /></span>

and this is the code I'm using to get the thumbnails...

$thumbs = 1;
$images = (image_get_random($thumbs, $tid = 2));
print "<div id='imagebg'>".l(image_display($images[0], 'thumbnail'),'emiliana_cordaro', array(),  null, null, FALSE, TRUE)."</div>";
drewish’s picture

Status: Active » Fixed

this has been fixed in HEAD and 5

Anonymous’s picture

Status: Fixed » Closed (fixed)