Major Feature #11891
This is another "bug" I've found during the Installation
I installed the Gallery2 on a subdomain gallery.xyz.ch. For this reason the relative path in the configuration ("relative Path to G2 from TYPO3-Root [g2RelPath]") does not work properly for this constellation.
effect: The pictures are not shown on the Typo3 Website.
In my opinion there could be a field where a absolute path with the full URI can be inserted. For example:
I'm not a programmer. So it's just an idea. :-)
->for those how wants to use gallery installed in a subdomain
I used quite a bad hack for this. But it works. :-)
Just look where your browser wants to open the pictures. On my site it was: http://www.xyz.ch/www/gallery2.xyz.ch/main.php?g2_view=core.DownloadItem&g2_itemId=10088&g2_serialNumber=2
I created the folders "www/gallery2.xyz.ch" in my typo3 website folder (http://www.xyz.ch)
The following ".htaccess" file has to be in the folder "http://www.xyz.ch/www/gallery2.xyz.ch/"
#21.02.2010, MNY #Forward all traffic to gallery.xyz.ch/ #helping source: http://www.yourhtmlsource.com/sitemanagement/urlrewriting.html #activate mod_rewrite RewriteEngine on #Rule itself RewriteRule ^(.*)$ http://gallery.xyz.ch/$1 [R]
I hope it helps. I posted this as well on the gallery forum: http://gallery.menalto.com/node/51887?page=2#comment-336114