Forums / Setup & design / Gallery pictures disapper when siteaccess is changed
Mariusz Bułkowski
Monday 13 March 2006 1:32:06 am
Hello!
I have a problem with gallery: I created several siteaccesses - each for different language version. I created gallery with pictures of products and when I change siteaccess (in order to change different language (from polish to english for example)) pictures from gallery disapper. You can observe this bug at: http://cms2.draminski.com.pl/produkty/dla_bydla/animal_scanner_dla_bydla/zdjecia - this page contains pictures and when you change siteaccess (using a flag in the upper right corner)pictures disappear.
Any sugestions?
Thanks.
Portable Ultrasound http://www.draminski.com
Kåre Køhler Høvik
Monday 13 March 2006 2:19:10 am
Hi
Make sure you use the same var dir for all your siteaccesses ( see site.ini ).
Kåre Høvik
Monday 13 March 2006 3:54:28 am
I solved the problem.
Solution: Gallery templete uses:{attribute_view_gui attribute=$node.object.data_map.image image_class=imagelarge}
and my siteaccess subdirectory (siteaccess for different language version) did not contain file image.ini.append.php - this file defines sizes of the picture ( also "imagelarge" ).So the template could not find the definition of "imagelarge".
In my personal opinion there shoud be at least some information about that in the debug mode (there was none).
Bye.