It was not possible to determine the dimensions of the image

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Get Involved
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
User avatar
Brf
Support Team Member
Support Team Member
Posts: 51834
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: It was not possible to determine the dimensions of the i

Post by Brf » Tue Jun 28, 2011 10:59 am

It is very simple.
Turn off the image size checking on the appropriate Admin settings pages.

User avatar
imstupid
Registered User
Posts: 78
Joined: Sun Jun 19, 2011 7:36 am
Location: phpbbforums

Re: It was not possible to determine the dimensions of the i

Post by imstupid » Fri Jul 01, 2011 7:03 am

i have done so unless its the wrong box and it no longer allows avatar settings in the usercontrol panel.

instead i put it back the way it was and enabled link-off site it allows an off site image link which i tested but however it seems in still a t square one with uploading my own or adding it from a photo album and such by way of upload from url & upload by machine. neither function has yet to work.
For some reason getting help here is hard.

richey
Registered User
Posts: 612
Joined: Mon Feb 18, 2002 4:26 pm
Location: now@Cyberspace
Contact:

Re: It was not possible to determine the dimensions of the i

Post by richey » Tue Mar 06, 2012 6:05 am

After about 1 hour of trying to figuring things out - checking for furl setings, applying the fix etc., even checking my .htaccess, directory permissions etc. etc. - I found the reason that was bringing up this error message for me: the image URL I gave was incorrect!

Talk about misleading error messages .....

I changed

Code: Select all

			if ($stats === false)
			{
				$error = true;	// following line modified by richey
				$this->warn_msg[] = $user->lang['UNABLE_GET_IMAGE_SIZE'];
			}
to

Code: Select all

			if ($stats === false)
			{
				$error = true;	// following line modified by richey
				$this->warn_msg[] = $user->lang['UNABLE_GET_IMAGE_SIZE']. ' or image URL not correct/accessible';
			}
as a dirty hack until this has been fixed by the phpbb team.

I thought this feedback might be of help for someone.
.

User avatar
AmigoJack
Registered User
Posts: 5605
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: It was not possible to determine the dimensions of the i

Post by AmigoJack » Tue Mar 06, 2012 7:02 am

"It was not possible to determine the dimensions of the image" does neither include nor exclude that the given URL can't be accessed (there is already a check whether a URL is incorrect or not) - so what is misleading about that? Also when determining the image dimensions there is no detailed info available on what went wrong. Definitly not a bug.
The worst thing about censorship is ███████████
Affin wrote:
Tue Nov 20, 2018 9:51 am
The problem is probably not my English but you do not want to understand correctly.
...
We will not come anybody anyway, nevertheless, it's best to shit this.

richey
Registered User
Posts: 612
Joined: Mon Feb 18, 2002 4:26 pm
Location: now@Cyberspace
Contact:

Re: It was not possible to determine the dimensions of the i

Post by richey » Tue Mar 06, 2012 12:09 pm

Well, for me for one it WAS misleading.

What would be easier to include a check for the simple existence of the image URL submitted and to give an informative error message?

It's not my problem anymore, but fixing that could save many hours for all the people who try to start using phpBB 3 every day and might blame the software or 'configuration problems' for a typo they made during the tense process of setting up their board. No need to reply, just my 2 cents.
.

User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: It was not possible to determine the dimensions of the i

Post by Oyabun1 » Tue Mar 06, 2012 10:18 pm

richey wrote:as a dirty hack until this has been fixed by the phpbb team.
If you think it is a worthwhile improvement then place a ticket in the phpBB Bug Tracker. The developers don't have time to read through every post on this site to find possible suggestions for improvements.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50673
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: It was not possible to determine the dimensions of the i

Post by stevemaury » Tue Mar 06, 2012 11:29 pm

This topic is 5 years old. I am locking it to prevent further necrophilia.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

Locked

Return to “[3.0.x] Support Forum”