I get irritating messages on the node or teaser pages displayed that look like this:

* $tmpdestination: /tmp//DSCN0052.JPG
* $destination: sites/example.com/files/imagecache/view/sites/example.com/files/DSCN0052.JPG

Sometimes there are two or more (how many images are shown) of these displayed. It seems not to be an error message, all images are scaled and shown nicely.

Nice work btw.

Comments

marcoBauli’s picture

Hi ahaller, those messages are likely coming from imagecache installed on multisites (i notice you are on multisite too..), see related thread here.)

Also i wasn't able to output any resized image on my multisites, could you please share the line of code you use to print out your imagecache images on your multisites?..that would help a lot!

cheers

ahaller’s picture

hi kiteatlas,

i followed your post (http://drupal.org/node/73385). getting imagecache to work on a multisite wasn't very difficult. i just had to type the right url. an absolute url looks like this (if the files folder of your multisite :
http://mysite.com/files/imagecache/myview/sites/mysite.com/files/imageca...

ok... it looks quite strange. but it works:

a real example:
(i got three views "tn", "view" and "big)
http://erika.wannsehenwirunswieder.de/files/imagecache/tn/sites/erika.wa...

i was using imagecache with imagefield of cck and contemplate. the line in the theme looks simple:
src="/files/imagecache/tn/'.$item['filepath'].'"

the url of the image looks strange. maybe its because in my example the "files"-folder lies in "/sites/mysite/files/". Maybe it looks better if you set it to "/files" or "/files/mysite".
One more thing: this did not work with the "private download methos" in the drupal settings.

bye,
andreas

concerning the irritating messages... i just deleted two "drupal_message..." lines in the module code... but that's a baaad thing i guess.

dopry’s picture

Status: Active » Fixed

should be fixed in cvs version 1.9.

Anonymous’s picture

Status: Fixed » Closed (fixed)