Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Perfect integration, empty image placeholders - SOLVED

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
ibk1

Beginner
Beginner


Joined: Jul 04, 2008
Posts: 4

PostPosted: Fri Jul 04, 2008 10:26 am    Post subject: Perfect integration, empty image placeholders - SOLVED Reply with quote

Hi!

First of all, thank you for the grat integration MOD.

Now with the problem:

I'm running phpBB3 - 3.0.1, Gallery 2.2.4

Everything with the integration went perfect and by the book.

But then the strangest thing is that, what I think - the links are somehow corrupted or... I don't know.

When I go to the gallery (IE7, FF3) - there are image placeholders, but with the red cross icon - i.e. no image. If I RMB ->Properties and copy the image URL address and paste it in addressbar - the image shows... that goes for Thumbnails, Resizes and Full Res images.

If I set 'mode.embed.only', false the Gallery is working fine as standalone.

I am not a programmer, but I tried everithing I could think of and checked the procedures twice with no luck.

Any help will be appreciated!

here is the link to the Gallery
http://pentaxfanclub.com/gallery2.php

Thank you.


Last edited by ibk1 on Sun Jul 06, 2008 4:57 pm; edited 1 time in total
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Perfect integration, empty image placeholders - SOLVED  

Back to top
DickNervous

Beginner
Beginner


Joined: Apr 19, 2005
Posts: 18

PostPosted: Fri Jul 04, 2008 11:42 am    Post subject: Re: Perfect integration, empty image placeholders Reply with quote

In the Galery2 settings in the ACP look under Manual Config. There is a setting for the URL to the gallery. If it is using the relative URL, something like /gallery2/, change it to the full URL like http://mysite.com/gallery2.

I had the same problem just last night and that is what fixed it for me. You can tell what is going on by right clicking the red X and selecting properties. It will tell you the location of the image, or at least where it is looking for the image. If that does not match where the Gallery is, then the above fix should do the trick.
Back to top
Offline View user's profile Send private message
ibk1

Beginner
Beginner


Joined: Jul 04, 2008
Posts: 4

PostPosted: Fri Jul 04, 2008 12:11 pm    Post subject: Re: Perfect integration, empty image placeholders Reply with quote

Thanks for the answer DickNervous, but unfortunately I've tried this several times with no luck. Always the same result.

You see, that's the problem - if I get the image URL from the Properties, I get something like this:

http://pentaxfanclub.com/gallery/main.p ... alNumber=4

and if I paste it in the addressbar -> hit Enter -> the image appears.

But I can't see where the image should be.
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1139

PostPosted: Sat Jul 05, 2008 5:26 pm    Post subject: Re: Perfect integration, empty image placeholders Reply with quote

Try going to gallery->admin->maintenance->build all thumbnails/resizes and delete template cache and see if that helps.
Back to top
Offline View user's profile Send private message
ibk1

Beginner
Beginner


Joined: Jul 04, 2008
Posts: 4

PostPosted: Sat Jul 05, 2008 6:31 pm    Post subject: Re: Perfect integration, empty image placeholders Reply with quote

jettyrat wrote: › Try going to gallery->admin->maintenance->build all thumbnails/resizes and delete template cache and see if that helps.

Thanks jettyrat!

I've already done that twice - with no effect. Sad

What I found is - when I RMB on the page and "View Source" in IE7 and FF3 I get this code

<img src="gallery/main.php?g2_view=core.DownloadItem&amp;g2_itemId=83&amp;g2_serialNumber=5"

Shouldn't it be only & instead of &amp; because when I change it and paste it in the addressbar - the image shows?
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1139

PostPosted: Sun Jul 06, 2008 3:47 pm    Post subject: Re: Perfect integration, empty image placeholders Reply with quote

The format is correct.

It appears you have the phpbb files installed in the document root and then gallery installed in the document root also, along with the phpbb files. There is a thread similar to this setup here - http://www.nukedgallery.net/postt4037.html [nukedgallery.net]
These settings don't work?

URL path to the gallery2 directory: http://pentaxfanclub.com/gallery/
URL path to gallery2.php: http://pentaxfanclub.com/gallery2.php
Back to top
Offline View user's profile Send private message
ibk1

Beginner
Beginner


Joined: Jul 04, 2008
Posts: 4

PostPosted: Sun Jul 06, 2008 4:56 pm    Post subject: Re: Perfect integration, empty image placeholders Reply with quote

It WORKS!!!

The problem was that I set up a sub-domain with the same directory where the Gallery2 was installed - i.e. root/gallery
So, there was a file .htaccess.
So I removed the sub-domain and deleted the .htaccess file and everything works like a charm.

Thank you for your ideas and support. You gave me the right direction of thinking. Very Happy
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSEO Search Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaCheap Web Design

6th year online! 2003-2009
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia