Gallery = 2.0.2 core 1.0.0.2
PHP = 4.3.11 cgi
WWW = Apache/1.3.34 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.25 OpenSSL/0.9.7a PHP-CGI/0.1b
DB = mysql 4.0.25-standard
Activated tools = ArchiveUpload, Exif, NetPBM, Thumbnail, ImageMagick, Gd
OS = Linux shared1.ultrawhb.com 2.6.13.1.dn3.64 #3 SMP Sun Oct 16 20:08:38 EDT 2005 i686
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
G2 modul configuration:
Full Server Path to G2: /home/username/public_html/gallery/
URL to G2: http://gallery.example.com/main.php
Path to Joomla: \
embedUri: /index.php?option=com_gallery2&Itemid=35
Login Page Redirect: /index.php
Display G2 Sidebar: no
Display G2 Login: no
Use Mirrored User Logins: no
Run User Setup Script: no
The setup on my website:
- website http://www.example.com (using Joomla)
- gallery2 http://gallery.example.com (G2)
G2 loads fine when loaded using subdomain gallery.example.com. I did install G2 modul into Joomla, and can see the gallery's front page in Joomla (with all albums listed). Up to this point everything looks good. The problem is with the URL on all of the thumbnails.
Every thumbnail point to http://example.com/v/album1/ instead of http://gallery.example.com/v/album1/
I spent some time trying to fix it, but unfortunately could not do it. I appreciate any ideas.
Thank you
Posts: 27300
http://www.example.com does not help much but I get what you are saying.....
Don't know if this will help or not;
Disable and uninstall the URL rewrite module.
Then go your embedded environment and see if it works. If it does then install and enable the URL rewite module while you are in the embedded environment.
Dave
____________________________________________________
Gallery Frames / Mods || G1 Test Gallery
Posts: 27300
Moved to G2 Integrating and Embedding forum
Posts: 84
Dave,
Thank you for the suggestion. It worked like a charm. First it looked like I had lost all the images, but clearing cookies and cache helped.
I am able to see both, the standalone and embeded version.
Well, I miss the short URL's, but now everything works.
Thank you
Posts: 27300
If that does not work then somebody with embedded experience can chime in.
Posts: 84
floridave,
I did installed it as sufggested, and during the configuration process I had to choose "PHP Path Info" because the "Apache mod_rewrite" did not work when embedded.
The only difference between the 2 is:
Apache mod_rewrite - example.com/v/album1
PHP Path Info - example.com/main.php/v/album1
I can live with it, so can Joomla.
Thank you