Home | Support Forums | Your Account | Gallery [2] | 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  

Test release available
Goto page Previous  1, 2
 
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Issues » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1040

PostPosted: Mon Oct 29, 2007 5:11 pm    Post subject: Re: Test release available Reply with quote

IngerK wrote: ›
mrmikehammond wrote: ›
1) If I use G2img button or image tags PHPBB says "It was not possible to determine the dimensions of the image." when you try to submit the post ? is this a G2 issue or a phpbb3 issue ?


I have seen this before. I think had configured a max size for images in posts, and I had a .htaccess-file with username/password on my test-server. phpBB tries to find out the imagesize, but fails because of .htaccess.


Is that related to the .htaccess file that the url rewrite module uses?
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Re: Test release available  

Back to top
mrmikehammond

Novice
Novice


Joined: Jun 12, 2007
Posts: 23
Location: U.K.

PostPosted: Mon Oct 29, 2007 5:18 pm    Post subject: Re: Test release available Reply with quote

If I set the posting picture size in PHPBB's ACP to unlimited then it works fine, as soon as I reapply a limit eg 800x600 I get the problem again.
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1040

PostPosted: Mon Oct 29, 2007 6:44 pm    Post subject: Re: Test release available Reply with quote

ok...I'm able to reproduce that now. It's because the image tag generated by g2image is not linked to an actual image, but rather info about the image that allows gallery to fetch it. phpbb will never be able to check the size of the image the way it is.

That's going to require mods to the phpbb code that checks the image to just allow the g2 tag and the check will have to happen in g2image or a new function in g2helper when the user first tries to insert the image.

I'll have to give that some more thought when I get caught up on some of the other issues...
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1040

PostPosted: Mon Oct 29, 2007 11:17 pm    Post subject: Re: Test release available Reply with quote

Here is a quick and dirty fix for this issue. You will have to set the same size limit restrictions within gallery using the sizelimit module as within phpbb and the mod allows phpbb to ignore any images posted from gallery.
sizelimit module [gallery2.org]

includes/message_parser.php
Code: ›
#
#-----[ FIND ]------------------------------------------
#
         if ($stats === false)

#
#-----[ REPLACE WITH ]-------------------------------
#
         if ($stats === false && !strstr($in, 'g2_view=core.DownloadItem'))
Back to top
Offline View user's profile Send private message
mrmikehammond

Novice
Novice


Joined: Jun 12, 2007
Posts: 23
Location: U.K.

PostPosted: Tue Oct 30, 2007 5:34 am    Post subject: Re: Test release available Reply with quote

Might be dirty but it works Wink

Cheers

Mike Cool
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1040

PostPosted: Mon Nov 05, 2007 5:18 pm    Post subject: Re: Test release available Reply with quote

I've deleted the test release link above since we are getting close to a real release version now.
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6271
Location: Washington Township, NJ, USA

PostPosted: Mon Nov 05, 2007 9:12 pm    Post subject: Re: Test release available Reply with quote

w00000000t
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Issues » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Goto page Previous  1, 2

 
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 HostingSearch Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaSEO

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