News
Board index
Downloads
Search
Tracker
Gallery
RRC-Configurator
Paypal donation

Skip to content


Advanced search
  • Board index ‹ phpBB Gallery ‹ Installation, Update & Conversion
  • Change font size
  • Print view
  • FAQ
  • Members
  • Register
  • Login

URL refused by PHPBB

English: Support for problems on installation, update & conversion
Deutsch: Support für Probleme bei der Installation, dem Update & der Konvertierung

Forum rules
In order to get fast and easy support be sure, to put a LINK TO YOUR BOARD into your Post!
(Note: Topics without links to the board and full copyright may be left unsupported!)
You should also have read the Frequently Asked Questions!
=====
Um schnellen und einfachen Support zu bekommen, vergiss nicht, einen LINK ZU DEINEM BOARD in den Beitrag zu packen!
(Anmerkung: Themen ohne Link zum Board und korrektem Copyright werden nicht beachtet!)
Du solltest außerdem die Frequently Asked Questions gelesen haben!
Post a reply
7 posts • Page 1 of 1

URL refused by PHPBB

Postby urednik » Sun Dec 13, 2009 5:34 pm

Gallery Version: 1.0.4
phpBB Version: 3.0.5
Gallery-Link: http://www.borovnica.eu/phpbb/gallery/index.php


Error description and message
I have problems with insertion of picture from gallery to topic.
Link from gallery is :
Code: Select all
http://www.borovnica.eu/phpbb/gallery/image.php?album_id=13&image_id=2067
or
[url=http://www.borovnica.eu/phpbb/gallery/image.php?album_id=13&image_id=2067][img]http://www.borovnica.eu/phpbb/gallery/image.php?album_id=13&image_id=2067&mode=thumbnail[/img][/url]


But if I insert this link into my topic with "IMG" , there is error.

Then I remove section "album_id=13&" and it works.

Right code:
Code: Select all
http://www.borovnica.eu/phpbb/gallery/image.php?image_id=2067


Of course there is also "ALBUM" string, but this string show only small picture.

Is this normal, or only my board problem ?
urednik
Posts 10 - 20
Posts 10 - 20
 
Posts: 14
Topics: 3
Joined: Tue Mar 24, 2009 6:22 pm
phpBB.de: urednik
  • E-mail urednik
Top

Re: URL refused by PHPBB

Postby nickvergessen » Sun Dec 13, 2009 8:45 pm

What error do you get?
cheers nickvergessen

No Support through pm and mail!
German Support Team Member, MOD Author, Developer
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 3770
Topics: 169
Images: 131
Joined: Mon Oct 15, 2007 3:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen
  • E-mail nickvergessen
  • Website
  • Personal album
Top

Re: URL refused by PHPBB

Postby urednik » Mon Dec 14, 2009 6:21 pm

Error is:
'UNABLE_GET_IMAGE_SIZE' => 'It was not possible to determine the dimensions of the image.',
urednik
Posts 10 - 20
Posts 10 - 20
 
Posts: 14
Topics: 3
Joined: Tue Mar 24, 2009 6:22 pm
phpBB.de: urednik
  • E-mail urednik
Top

Re: URL refused by PHPBB

Postby nickvergessen » Mon Dec 14, 2009 7:35 pm

That should be independent from &album_id=

"Fix" is:
ACP > General > Post settings > Maximum image width per post: and height, set to 0
cheers nickvergessen

No Support through pm and mail!
German Support Team Member, MOD Author, Developer
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 3770
Topics: 169
Images: 131
Joined: Mon Oct 15, 2007 3:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen
  • E-mail nickvergessen
  • Website
  • Personal album
Top

Re: URL refused by PHPBB

Postby urednik » Mon Dec 14, 2009 7:47 pm

nickvergessen wrote:"Fix" is:
ACP > General > Post settings > Maximum image width per post: and height, set to 0


As you know size of digital photo is bigger and bigger, and if I allow this, somebody can send 4Mb picture in size bigger than display in forum ... (not in gallery)

Is there way to skip information about album id in picture link ? I mean that link is generated without " album_id=13& ".
It is no problem with me, to delete small part of link, but user of my forum have problems with that.
If example of BBC code is displayed right, then nobody can miss.
urednik
Posts 10 - 20
Posts 10 - 20
 
Posts: 14
Topics: 3
Joined: Tue Mar 24, 2009 6:22 pm
phpBB.de: urednik
  • E-mail urednik
Top

Re: URL refused by PHPBB

Postby nickvergessen » Mon Dec 14, 2009 10:33 pm

gallery/image_page.php
find:
Code: Select all
   'IMAGE_IMGURL_BBCODE'   => ($gallery_config['view_image_url']) ? '[url=' . generate_board_url(false) . '/' . $gallery_root_path . "image.$phpEx?album_id=$album_id&image_id=$image_id" . '][img]' . generate_board_url(false) . '/' . $gallery_root_path . "image.$phpEx?album_id=$album_id&image_id=$image_id&mode=thumbnail" . '[/img][/url]' : '',

replace with:
Code: Select all
   'IMAGE_IMGURL_BBCODE'   => ($gallery_config['view_image_url']) ? '[url=' . generate_board_url(false) . '/' . $gallery_root_path . "image.$phpEx?image_id=$image_id" . '][img]' . generate_board_url(false) . '/' . $gallery_root_path . "image.$phpEx?image_id=$image_id&mode=thumbnail" . '[/img][/url]' : '',
cheers nickvergessen

No Support through pm and mail!
German Support Team Member, MOD Author, Developer
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 3770
Topics: 169
Images: 131
Joined: Mon Oct 15, 2007 3:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen
  • E-mail nickvergessen
  • Website
  • Personal album
Top

Re: URL refused by PHPBB

Postby urednik » Sun Feb 07, 2010 11:15 am

Great !!
THNX

I modificate also URL link, which folow sollution you suggest.
Modification is:
Code: Select all
'IMAGE_URL'         => ($gallery_config['view_image_url']) ? generate_board_url(false) . '/' . $gallery_root_path . "image.$phpEx?image_id=$image_id" : '',
urednik
Posts 10 - 20
Posts 10 - 20
 
Posts: 14
Topics: 3
Joined: Tue Mar 24, 2009 6:22 pm
phpBB.de: urednik
  • E-mail urednik
Top


Post a reply
7 posts • Page 1 of 1

Return to Installation, Update & Conversion

Who is online

Users browsing this forum: No registered users and 2 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Time : 0.099s | 14 Queries | GZIP : Off